#A Clickable Item Entity?
6 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
A Clickable Item Entity?
[➤](#1279767738285424712 message)
ok so i instead made it a function so you have the choice of making every item pickable or only certain items js EntityJSEvents.modifyEntity((event) => { event.modify("minecraft:item", (modifyBuilder) => { modifyBuilder.isPickable(entity => { return true; }) modifyBuilder.onInteract(context => { console.log("test") }) }) })
this i can confirm works
then you can filter it by doing js if (entity.item.id != "minecraft:diamond") return false at the start of the isPickable callback
Looks like its the one, thanks