diff --git a/build.gradle b/build.gradle index a1c6e5bdd..c8ef56fde 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { } } dependencies { - classpath "net.fabricmc:fabric-loom:0.5.26" + classpath "net.fabricmc:fabric-loom:0.5-SNAPSHOT" classpath "gradle.plugin.net.minecrell:licenser:0.2.1" classpath 'de.undercouch:gradle-download-task:3.4.3' } @@ -79,12 +79,12 @@ configurations.all { } dependencies { - minecraft "com.mojang:minecraft:1.16.3" - mappings "net.fabricmc:yarn:1.16.3+build.11:v2" - modImplementation "net.fabricmc:fabric-loader:0.10.1+build.209" + minecraft "com.mojang:minecraft:1.16.4-rc1" + mappings "net.fabricmc:yarn:1.16.4-rc1+build.2:v2" + modImplementation "net.fabricmc:fabric-loader:0.10.6+build.214" - //Fabric api - modImplementation "net.fabricmc.fabric-api:fabric-api:0.23.0+build.410-1.16" + //Fabric api + modImplementation "net.fabricmc.fabric-api:fabric-api:0.25.0+build.415-1.16" optionalDependency ("me.shedaniel:RoughlyEnoughItems:5.2.3") disabledOptionalDependency ('com.github.emilyploszaj:trinkets:2.6.0') diff --git a/src/main/java/techreborn/world/WorldGenConfig.java b/src/main/java/techreborn/world/WorldGenConfig.java index 8357cfe76..e547a4d36 100644 --- a/src/main/java/techreborn/world/WorldGenConfig.java +++ b/src/main/java/techreborn/world/WorldGenConfig.java @@ -35,7 +35,7 @@ public class WorldGenConfig { public static final Codec CODEC = RecordCodecBuilder.create(instance -> instance.group( Codec.list(TechRebornOre.CODEC).fieldOf("ores").forGetter(WorldGenConfig::getOres), - ConfiguredFeature.field_25833.fieldOf("rubberTree").forGetter(WorldGenConfig::getRubberTree) + ConfiguredFeature.CODEC.fieldOf("rubberTree").forGetter(WorldGenConfig::getRubberTree) ) .apply(instance, WorldGenConfig::new) );