Started by
IdontKnowwhatttoDo
on
Topic category: Help with Minecraft modding (Java Edition)
How to make item, which will give effect to entity by hit, and than disappear (like totem but effect gives to entity by hit whith no animation)
If you kno please write subsequence of blocks in MC
Global trigger: Entity attacked
If : Item in main-hand of:Source entity =[your item]
do: Add potion with level () for () ticks ambient false/true particles false/true to: Event/target entity type(your effect)
Set item to main-hand of: Source entity to 1[air block]