Started by
SliwkaHAX
on
Topic category: Help with Minecraft modding (Java Edition)
Latest version.
I have a procedure which shoots an arrow after an item was right clicked. I want to detect if the arrow hit an entity and perform stuff on it like give effects to it or strike lighthing at its coordinates or teleport it up by 5 blocks. How do i do it?
Current block code:
https://imgur.com/a/U4ZB3Z8 actually working image link
fixed: just make a ranged item instead