Posted September 8, 20214 yr 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 September 9, 20214 yr by Woodside
September 8, 20214 yr Author 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?
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.