Posted August 23, 20205 yr I want to update my mod from 1.16.1 to 1.16.2. But now the ore gen part is completely broken. This code worked on 1.15.2 and 1.16.1: public class OreGen { public static void generateEmoulriteOre() { for(Biome biome : ForgeRegistries.BIOMES) { ConfiguredPlacement<DepthAverageConfig> genPlacementConfig = Placement.COUNT_DEPTH_AVERAGE.configure(new DepthAverageConfig(1, 20, 10)); biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, Feature.ORE .withConfiguration(new OreFeatureConfig(OreFeatureConfig.FillerBlockType.NATURAL_STONE, RegisterBlocks.EMOULRITE_ORE.get().getDefaultState(), 6)) .withPlacement(genPlacementConfig)); } } public static void generateTeleriteOre() { for(Biome biome : ForgeRegistries.BIOMES) { ConfiguredPlacement<CountRangeConfig> genPlacementConfig = Placement.COUNT_RANGE.configure(new CountRangeConfig(2, 0, 0, 256)); biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, Feature.ORE .withConfiguration(new OreFeatureConfig(OreFeatureConfig.FillerBlockType .create("END_STONE", "end_stone", new BlockMatcher(Blocks.END_STONE)), RegisterBlocks.TELERITE_ORE.get().getDefaultState(), 6)) .withPlacement(genPlacementConfig)); } } } But like I said, now it is very broken. I know that 1.16.2 has added experimental support for custom biomes in datapacks, and that there were probably some backend changes, but I didn't know that there were so much. And everything that has changed is obfuscated Can somebody help me please: What do I have to change?
August 23, 20205 yr Ore generation and all features will be handled through jsons now. Forge is currently working on a system to implement appendages to json files for all users to add their features to. When they actually finish and implement, there will probably be an announcement about it.
August 24, 20205 yr 10 hours ago, ChampionAsh5357 said: Forge is currently working on a system to implement appendages to json files for all users to add their features to. So no. You can google something on dimension/biome jsons in general though.
August 24, 20205 yr Author I'm actually a datapack programmer, but this is too much work for me. I will stick with 1.16.1 until forge has a better system.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.