#How to get if a item is armor or not
4 messages · Page 1 of 1 (latest)
4 messages · Page 1 of 1 (latest)
i want to detect if a item is armor or not
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
let ArmorItem = Java.loadClass("net.minecraft.world.item.ArmorItem")
if (event.item.item instanceof ArmorItem)```
thanks🙏