Jump to content

[1.16.4] How i can put my strucnures in to FlatGenerationSettings.STRUCTURES


Klarks

Recommended Posts

Is STRUCTURES a mapped name? forge-bot gave me this 
MC 1.16.3: net/minecraft/world/gen/FlatGenerationSettings.STRUCTURES

Name: c => field_202247_j => STRUCTURES

Comment: None

Side: BOTH

AT: public net.minecraft.world.gen.FlatGenerationSettings field_202247_j

# STRUCTURES

Link to comment
Share on other sites

3 hours ago, Klarks said:

Is STRUCTURES a mapped name? forge-bot gave me this 

Yes, as you can see it has the obfuscated name which translate to its unique srg name and then finally the mapped name. You will need the srg name as your parameter.

19 hours ago, Klarks said:

But where i can get the instance

The static keyword makes the field/method available at class level meaning you do not need an instance to grab the associated value. So, a null value can be passed in instead.

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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