Jump to content

[1.16.1] Spawning a bush in the nether


Timebreaker900

Recommended Posts

I see...it seems that the NetherVegetationFeature is tied to the vegetal biomes, what a surprise 🤔 ...there is another solution if you want your block to spawn also in the Nether Wastes, and thats to use the Decoration#UNDERGROUND_DECORATION (also VEGETATION is fine) stage and Feature#RANDOM_PATCH configured with a BlockClusterFeatureConfig. If you look into the NetherWastesBiome class you will see how mushrooms are generated there. Use a similar code to generate your bush adjusting the values you need. Your initial code for the BlockClusterFeatureConfig was not set up correctly and thats why it wasn't working. There is a function inside BlockClusterFeatureConfig.Builder which is func_227317_b_() which basically sets a boolean field (also not mapped for me) inside the class. I tested and it seems that you need to chain also that method to the Builder, otherwise your block won't show up. This should definitely solve your problems

Edited by Beethoven92

Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port

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.