Started by
goldfishlolxd
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make a potion item, Sulfuric Acid. Now, I don't want there to be anything except the splash potion, which I'm calling "Vial of Sulfuric Acid," but I don't see any way to disable the other elements which come from the potion. I tried editing the code, but got no luck. Can anyone help me?
Yes you would probably have to edit the code to accomplish this, but you could make a custom ranged item that spawns a potion cloud on the ground and emit the desired effect to all close by entities to kinda "fake" a splash potion.
Add a procedure with the additional trigger "On loaded entity tick update" that removes the unwanted item from a players inventory.