Skip to content

Commit

Permalink
Merge pull request #174 from FlintMC/mapping-hotfix
Browse files Browse the repository at this point in the history
mapping hotfix
  • Loading branch information
juliarn committed Apr 23, 2021
2 parents e4e803a + fb18864 commit 3cd4fe8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 47 deletions.
Expand Up @@ -27,7 +27,7 @@
@Shadow("net.minecraft.world.gen.FlatGenerationSettings")
public interface FlatGenerationSettingsShadow {

@FieldGetter("field_242867_d")
@FieldGetter("biomeRegistry")
Registry<Biome> getBiomeRegistry();

}
Expand Up @@ -58,7 +58,7 @@ interface GeneralListShadow {

@SuppressWarnings("unchecked")
default List<GeneralStat> getStats() {
return (List<GeneralStat>) ((AbstractListShadow) this).getChildren();
return (List<GeneralStat>) ((AbstractListShadow) this).getEntries();
}

@Shadow("net.minecraft.client.gui.screen.StatsScreen$CustomStatsList$Entry")
Expand All @@ -74,7 +74,7 @@ interface MobListShadow {

@SuppressWarnings("unchecked")
default List<MobStat> getStats() {
return (List<MobStat>) ((AbstractListShadow) this).getChildren();
return (List<MobStat>) ((AbstractListShadow) this).getEntries();
}

@Shadow("net.minecraft.client.gui.screen.StatsScreen$MobStatsList$Entry")
Expand All @@ -101,9 +101,7 @@ interface ItemListShadow {
@Shadow("net.minecraft.client.gui.widget.list.AbstractList")
interface AbstractListShadow {

@FieldGetter("children")
List<?> getChildren();

@FieldGetter("entries")
List<?> getEntries();
}

}
20 changes: 0 additions & 20 deletions minecraft/minecraft-1-15-2/build.gradle.kts
Expand Up @@ -31,26 +31,6 @@ flint {
from("build/generated/flint/version.json")
to("versions/flint-1.15.2/flint-1.15.2.json")
}

create("joined.tsrg") {
from("jar:https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_config/1.15.2-20200515.085601/mcp_config-1.15.2-20200515.085601.zip!/config/joined.tsrg")
to("flint/assets/1.15.2/joined.tsrg")
}

create("fields.csv") {
from("jar:https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20200610-1.15.1/mcp_snapshot-20200610-1.15.1.zip!/fields.csv")
to("flint/assets/1.15.2/fields.csv")
}

create("params.csv") {
from("jar:https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20200610-1.15.1/mcp_snapshot-20200610-1.15.1.zip!/params.csv")
to("flint/assets/1.15.2/params.csv")
}

create("methods.csv") {
from("jar:https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20200610-1.15.1/mcp_snapshot-20200610-1.15.1.zip!/methods.csv")
to("flint/assets/1.15.2/methods.csv")
}
}
}

Expand Down
20 changes: 0 additions & 20 deletions minecraft/minecraft-1-16-5/build.gradle.kts
Expand Up @@ -31,26 +31,6 @@ flint {
from("build/generated/flint/version.json")
to("versions/flint-1.16.5/flint-1.16.5.json")
}

create("joined.tsrg") {
from("jar:https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_config/1.16.5/mcp_config-1.16.5.zip!/config/joined.tsrg")
to("flint/assets/1.16.5/joined.tsrg")
}

create("fields.csv") {
from("jar:https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20201028-1.16.3/mcp_snapshot-20201028-1.16.3.zip!/fields.csv")
to("flint/assets/1.16.5/fields.csv")
}

create("params.csv") {
from("jar:https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20201028-1.16.3/mcp_snapshot-20201028-1.16.3.zip!/params.csv")
to("flint/assets/1.16.5/params.csv")
}

create("methods.csv") {
from("jar:https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20201028-1.16.3/mcp_snapshot-20201028-1.16.3.zip!/methods.csv")
to("flint/assets/1.16.5/methods.csv")
}
}
}

Expand Down

0 comments on commit 3cd4fe8

Please sign in to comment.