Posted January 22, 20232 yr Hello, I would like to know if it is possible to add values to a config after it's been registered and built? I'd like to add all registered entities into my config to be able to change a value for each individual entity, my problem now is, that I build and register my config in the constructor of the mod but i think that at this time, only the vanilla entities are registered, because those are the only ones getting written into my config. Thanks in advance! Edited January 22, 20232 yr by WizZzLe typo in title
January 22, 20232 yr 13 hours ago, WizZzLe said: I would like to know if it is possible to add values to a config after it's been registered and built? Why not just make a custom datapack entry and datagen the configuration information for each entity? Or, you shouldn't be setting values dynamically and perform an override else default system.
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.