Generating item modifiers containing multiple loot functions #3973
Unanswered
DJChaos42
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 have created a datagen class which allows me to generate vanilla item modifiers, but am running into issues recreating some things which are possible when writing the .json files manually. For example, the following item modifier contains two loot functions
Multiple Function .json example
So far I have only been able to figure out how to generate modifiers which contain a single loot function, but I want to be able to generate one which matches the above example.
I have provided my current datagen class below to give an example of what I have been able to get working so far.
Item Modifier Datagen class
Please note that my understanding of codecs is still very basic, so if the solution requires using them, an example would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions