Minecraft version
1.20.1
Hex Casting version
0.11.3
Issue description
The cannot_modify_cost tag stores action IDs that should not be affected by things that modify media cost. By default, the tag is empty, since Hex Casting itself does not have any patterns that could cause problems if their costs were changed - it's intended for use by addon developers.
However, it seems like there may not be a way to datagen empty action tags. As far as I can tell, the datagen code for action tags is found here, but this creates the tags by putting things into them. Furthermore, if the tag JSON for cannot_modify_cost is present in the datagen folder when datagen is run, it gets deleted.
The current solution as of #1080 is just to put the cannot_modify_cost tag in src/main/data rather than src/generated/data, but this means it's separated from all the other action tags. If there's some way to properly datagen an empty action tag, that would be much better.
Minecraft version
1.20.1
Hex Casting version
0.11.3
Issue description
The
cannot_modify_costtag stores action IDs that should not be affected by things that modify media cost. By default, the tag is empty, since Hex Casting itself does not have any patterns that could cause problems if their costs were changed - it's intended for use by addon developers.However, it seems like there may not be a way to datagen empty action tags. As far as I can tell, the datagen code for action tags is found here, but this creates the tags by putting things into them. Furthermore, if the tag JSON for
cannot_modify_costis present in the datagen folder when datagen is run, it gets deleted.The current solution as of #1080 is just to put the
cannot_modify_costtag insrc/main/datarather thansrc/generated/data, but this means it's separated from all the other action tags. If there's some way to properly datagen an empty action tag, that would be much better.