#Trigger Event on Attack

1 messages · Page 1 of 1 (latest)

eager thistle
#

I am trying to create an item that has an event triggered on an attack. So far, I have only been able to find ways to trigger events when attacking an entity or hitting a block. How would I make an event trigger even if a player swings into the air with my item?

#

I searched through "Items 1.16.100+" on the wiki and haven't found anything. Any helop would be appreciated. Thanks!

silk temple
#

Create a dummy entity? Or maybe ask the script guy

buoyant torrent
#

Isn't there a minecraft:weapon component that can do that kind of thing? Idk

peak marten
#

I’m pretty sure you can use the “Minecraft:weapon” component? Unless I’m not understanding what you’re trying to do.

full panther
barren ginkgo