KidKoderMod033109 Posted October 16, 2020 Posted October 16, 2020 (edited) Hi, I'm trying to add copper ore and I wanted to have it generate in the Overworld. I'm using the latest version of Forge MDK. I am trying to use this function: private static void genOre(Biome biome, int count, int bottomOffset, int topOffset, int max, OreFeatureConfig.FillerBlockType filler, BlockState defaultBlockstate, int size) { CountRangeConfig range = new CountRangeConfig(count, bottomOffset, topOffset, max); OreFeatureConfig feature = new OreFeatureConfig(filler, defaultBlockstate, size); ConfiguredPlacement config = Placement.COUNT_RANGE.configure(range); biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, Feature.ORE.withConfiguration(feature).withPlacement(config)); } too add it, but the class CountRangeConfig doesn't exist. In addition to that the COUNT_RANGE variable doesn't exist and the function addFeature doesn't exist. I have no clue what is going on. Is there any way to fix this in IntelliJ IDEA Thanks, Kid Koder Edited October 16, 2020 by KidKoderMod033109 Quote Website: http://kidkoder.net GitHub: https://github.com/Uncodeable864
Draco18s Posted October 16, 2020 Posted October 16, 2020 Ore Gen is json based now. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
KidKoderMod033109 Posted October 16, 2020 Author Posted October 16, 2020 Fixed it. Just backport to 1.16.1 Quote Website: http://kidkoder.net GitHub: https://github.com/Uncodeable864
KidKoderMod033109 Posted October 16, 2020 Author Posted October 16, 2020 @Draco18s How does that work? Quote Website: http://kidkoder.net GitHub: https://github.com/Uncodeable864
Draco18s Posted October 16, 2020 Posted October 16, 2020 Heck if I know. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Recommended Posts
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.