How can I generate tags for my custom damage types? #3817
Unanswered
Karashok-Leo
asked this question in
Mod Dev Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I was trying to generate tags for damage types using a subclass which extends
FabricTagProvider
, but it keeps throwing:java.lang.UnsupportedOperationException: Adding objects is not supported by class......
It happens within a method named "reverseLookup", because
Registries.REGISTRIES.get((RegistryKey) RegistryKeys.DAMAGE_TYPE)
is null.So how can I solve this?
Beta Was this translation helpful? Give feedback.
All reactions