ghen-git / Thirst-Mod

Other
18 stars 11 forks source link

Item Tags #155

Open Jophire opened 1 month ago

Jophire commented 1 month ago

Some tags with default values would also go a long way to making it easy to add items through datapacks. The config is nice, but its starting to look a bit messy with how long the list is getting.

Something like: very_dehydrating(-15), dehydrating(-10), slightly_dehydrating(-5), slightly_hydrating(+5), hydrating(+10), very_hydrating(+15). very_parching(-24), parching(-16), slightly_parching(-8), slightly_quenching(+8), quenching(+16), very_quenching(+24).

Values to be modified of course.

This also means you would be able to search for food and drink items based off of the tag.

Examples will be added as I think of them.

Cinnamon Powder: very_parching (Would also make for a funny advancement in the datapack.) Salt Water: slightly_dehydrating, quenching Sports Drink: very_hydrating, quenching

mlus-asuka commented 1 month ago

image this is available if you do like this

Jophire commented 3 weeks ago

Doesn't quite work how I was looking for it to. With that method, you can't separate the quench and hydrate values, and applying two such tags to an item will cause the last tag to overwrite the rest.

ex: If we have these tags, and apply both to one item.

minecraft:very_quench, 0, 5

minecraft:very_hydrate, 5, 0

Only the last tag registered will apply, so instead of having a Sports Drink with a quench and hydrate value of 5. We have a sports drink with either a quench or hydrate value of 5.

Now, what you posted still helps, cause it does mean I can do something like #minecraft:smoothie,2,6 and then tag all the smoothies, but I would rather just tag all the smoothies #slightly_hydrating, #quenching.