Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

 

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

 

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. 

 

 

image.thumb.png.6006bcd1a52210c3be318b97ec4331a2.png

What version of minecraft are you using?

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

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.

11 minutes ago, GlacierPark19 said:

Heres my Build errors

please post the full log, because your code looks okay

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.