Posted June 1, 20214 yr Hello, I am building my first mod (whoo!), and am trying to implement world generation. I am trying to generate my ores in the overworld, however my IDE can't define BASE_STONE_OVERWORLD BASE_STONE_OVERWORLD, BASE_STONE_NETHER, neither works. Help! overworldOres.add(register("copper_ore", Feature.ORE.withConfiguration(new OreFeatureConfig( OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD, RegistryHandler.COPPER_ORE.get().getDefaultState(), 4)) //Vein Size .range(64).square() //Spawn height start .func_242731_b(64))); //Chunk spawn frequency
June 1, 20214 yr 5 minutes ago, GlacierPark19 said: Hello, I am building my first mod (whoo!), and am trying to implement world generation. I am trying to generate my ores in the overworld, however my IDE can't define BASE_STONE_OVERWORLD BASE_STONE_OVERWORLD, BASE_STONE_NETHER, neither works. Help! overworldOres.add(register("copper_ore", Feature.ORE.withConfiguration(new OreFeatureConfig( OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD, RegistryHandler.COPPER_ORE.get().getDefaultState(), 4)) //Vein Size .range(64).square() //Spawn height start .func_242731_b(64))); //Chunk spawn frequency It should be either OreFeatureConfig.FillerBlockType.NATURAL_STONE OR OreFeatureConfig.FillerBlockType.NETHER_ORE_REPLACEABLES OR OreFeatureConfig.FillerBlockType.NETHERRACK
June 1, 20214 yr Author Put OreFeatureConfig.FillerBlockType.NATURAL_STONE in, and it still can't find the class. I'm also having this issue.
June 1, 20214 yr 4 minutes ago, GlacierPark19 said: Put OreFeatureConfig.FillerBlockType.NATURAL_STONE in, and it still can't find the class. I'm also having this issue. What version of minecraft are you using?
June 1, 20214 yr 47 minutes ago, GlacierPark19 said: Put OreFeatureConfig.FillerBlockType.NATURAL_STONE in, and it still can't find the class. I'm also having this issue. are there errors in the log, also show the complete class and is there a reason why you post your code as an image -> there is a code feature you can use
June 1, 20214 yr 21 minutes ago, Luis_ST said: are there errors in the log, also show the complete class and is there a reason why you post your code as an image -> there is a code feature you can use ^ What he said and also provide a paste instead of a screenshot using a website like https://paste.ee/, https://hastebin.com/, etc.
June 1, 20214 yr Author Okay heres my code. (The code button didn't show up ) 1 hour ago, aritod said: What version of minecraft are you using? Minecraft 1.16 Heres my Build errors OreGen Code
June 1, 20214 yr 11 minutes ago, GlacierPark19 said: Heres my Build errors please post the full log, because your code looks okay
June 1, 20214 yr Author 10 minutes ago, Luis_ST said: please post the full log, because your code looks okay Okay dumb question. Wheres the log?
June 1, 20214 yr 10 minutes ago, GlacierPark19 said: Found it lol the problem is not your code, it's your java jdk, it's not complete the required 'tools.jar' is missing simplest solution check whether 'tools.jar' is really missing or whether the file is just not found. if 'tools.jar' really don't exist download a new one
June 2, 20214 yr 9 hours ago, GlacierPark19 said: Okay so I found tools.jar. What in the name of christmas is happening? okay in the path (set with JAVA_HOME) in which your IDE is looking ("C:\Program Files\Java\jre1.8.0_291") for a JDK there is a JRE, which means you have to download a JDK and put it in the folder that you have set with the JAVA_HOME system variable
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.