#Checking the tag on the armor stand

2 messages · Page 1 of 1 (latest)

flat lance
#

I tried to add a click check on the armor stand, but I only came up with this

ItemEvents.entityInteracted('minecraft:stick', event => {
if (event.target.type !: "minecraft:armor_stand') return;
if (event.entityType.tags.anyMatch(tag => tag.location == "minecraft:test"))
Utils.server.runCommandSilent('say hello');
});

And it doesn't work, who knows how to do it?

west ploverBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!