#how do I detect an arbitrary right-click on the server?

11 messages · Page 1 of 1 (latest)

sudden garden
#

like any right-click, any item, any block, any entity
you can do this on bukkit so it should somehow be possible

fathom hemlock
#

I would assume you'd use UseItemCallback UseBlockCallback and UseEntityCallback from fapi

#

Yeah seems to be an event for both client and server, so it should work for the server I'm pretty sure

sudden garden
#

those appear to be client side

fathom hemlock
#

for UseEntity it says for both client and server

#

lemme check the others

#

Yeah UseBlockCallback doesn't say it's for the server, but it mixes into ServerPlayerInteractionManager

#

and the same for UseItem

#

I think they all work for server and client

#

just try it to confirm

hollow swallow
#

they are all both-sided