New command Identifier! [hitbyitem=???]
I've been thinking and i think this would be great. Ever wanted to detect if someone is hit by a specific item? Well if they add this it would do just that. Here is an example. vvvvv
(Repeating Command block)
/tag @a[hitbyitem=stick] add Hit (change "stick" with any item)
(A Different Command block that activates when ^^^ is)
/title @a[tag=Hit] title You got hit!
I think this is a great concept and it saves having to make a behaviour pack for it.
When someone is hit the commands register it for 2-3 seconds
Please sign in to leave a comment.