Jump to content

[SOLVED][1.16.5] Extending GrassColorModifier


Woodside

Recommended Posts

Hello,

 

I want to add a new enum value to the GrassColorModifier enum. I notice that this should be possible, because it extends IExtensibleEnum, but I am unsure of when/where to call "create" and what to do with the return value of the create method.

I want to be able to use a custom color modifier using the biome JSONs as well, if possible.

Edited by Woodside
Link to comment
Share on other sites

13 minutes ago, diesieben07 said:

Then you should be able to use it in your JSONs. You can either store the return value in a static field if you need it (e.g. for data generation or other stuff at runtime) or just ignore it if you do not need it.

But I don't need to do anything with the return to be able to use it in the JSONs, to be clear?

Link to comment
Share on other sites

  • Woodside changed the title to [SOLVED][1.16.5] Extending GrassColorModifier

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.