#Mod to add the #c:potions tag to items

1 messages · Page 1 of 1 (latest)

foggy hazel
#

I've got a mod, can't remember off the top of my head which one, but it adds back in features from all the April Fools updates. One thing it adds is an item called the bottle of entity (minecraft:bottle_of_entity) for every mob in the game, including ones from mods. Drinking a bottle of zombie, for instance, transforms your model and texture into a zombie. There's also a splash variation of all of them. However, there is not a lingering version. I'm playing with another mod (big surprise there, right?) that adds new potion types so it's not just potion/splash/lingering, but it depends on the #c:potions inventory tag.

All the Trims by Bawnorton does something similar, adding #minecraft:trim_materials to literally all of the items, but I don't have enough experience with java code to understand how it works or use it as a starting point

steep dirge
#

tags are part of datapacks

#

you dont even need a mod to do that lol

foggy hazel
#

oh, cool. Any good links on how to make a datapack? It's been years since I last touched one

steep dirge
#

here's a datapack with everything you need

#

unzip, go to data\c\tags\items and open potions.json

#
{
  "values": [
    "example:some_item"
  ]
}

values is just a list of item ids

#

so adding the bottle of entity would make the tag look like this:

{
  "values": [
    "example:some_item",
    "minecraft:bottle_of_entity"
  ]
}

(of course in the actual tag you'd remove example:some_item)

late sparrow
light hemlock
#

openloader can do that too

late sparrow
light hemlock
#

yes, but you dont need anyone to make a mod