#Does Resourceful Config not support maps?

1 messages · Page 1 of 1 (latest)

magic forge
#

if i comment out the ConfigEntry annotation, it'll load, which is why im thinking there's no support for maps as config entries?

burnt agate
#

there is only support for primitives and arrays, in newer mc versions we have support for SerializableObject interface which you can put on an object to have custom serialization, but this is mainly done this way to discouraging complex configs as to allow users to easily be able to edit things and have all the information they need in the config already without external information needed

magic forge
#

ahh alright

#

is the SerializationObject interface in any of the 1.21.1 versions? if so, it'll make my config a lot cleaner lol

#

(I'd check rn but im at work for another several hours despair )