Jump to content

Using custom biomes for advancements requiring a 'location' trigger


X Squishling X

Recommended Posts

Hello everyone!  Recently, I have been attempting to create advancments for my Minecraft mod.  I have a custom biome that I have created, and am trying to create an advancment that unlocks upon the player entering this custom biome.  I have managed to get the advancments working for vanilla biomes, but when trying to enter my own biome in I don't know what to enter for the biome id.  I have tried using F3 in-game to get the ID, but this just gives me the name ('Snowy Plains') which doesn't work in the biome ID, with or without my mod id before it.  I have also tried using a forge method that returns a biome id in number form, and this also failed to give me any working results.

I'm wondering what the correct way to provide a biome ID for a custom advancment featuring a location requirement is, and if anyone knows the answer, your help would be greatly appreciated!

Link to comment
Share on other sites

You need to use the registry name of the Biome, not the numeric ID or the display name. This will be whatever you name you've specified in the setRegistryName call for the Biome.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.