#Detecting right click with empty hand on block
1 messages · Page 1 of 1 (latest)
idk really.
u could do a workaround and check on json then do something that the script api can pickup on
u can check on json? Genuinely curious
ik there must be a way in animation controllers for sure. Gonna have to look through molang again
It’s not possible anymore, at least in the same way it used to be.
I think you used to be able to test for item use for a minecraft:air item, but if that would work, then the scripted approach would probably work as well
Haven’t tried it recently
script doesn't detect anymore
you could do it in 1.2.0 but they removed that starting from 1.3.0
empty hand i mean
I mean, I’m sure you could fill the player’s inventory with invisible items and remove them when the gui is opened for sorting/pickup
It’s very duct tapey, but…
if (item.type.id == undefined) {
//code
}