You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to use new types for setting values and be able to set them via commands / settings file you also have to implement a parser + serializer pair for that type in SettingsUtil.
(Note: This is my last inbox check before disappearing for two weeks)
If you want to use new types for setting values and be able to set them via commands / settings file you also have to implement a parser + serializer pair for that type in SettingsUtil. (Note: This is my last inbox check before disappearing for two weeks)
Is there a style guide for what is expect? Because minecraft has all of these types as constants but we could for example change SHULKER_BOX to minecraft:shulker_box
No, there is no style guide. For #4452 I went for the enum names mainly for ease of parsing, but generally I think using the textual id is preferable from a usage point of view.
Some information
Operating system:
Java version:
Minecraft version:
Baritone version: master 1.19
Other mods (if used):
Exception, error or logs
I added this setting
When I try to set it in game with for example
#settings storageBox BlockEntityType.SHULKER_BOX
I got an uncaught exception.The text was updated successfully, but these errors were encountered: