ContentTweaker

ContentTweaker

27M Downloads

Request: Add an "OnBlockRightClick" function.

talonos2 opened this issue ยท 1 comments

commented

Right now there are many block event hooks, such as onBlockBreak or onUpdateTick. I would like to request an "onBlockRightClick" function that activates when a player right-clicks a block.

Not sure, but it might require a new event type. Not sure if IBlockAction has any way of getting the player doing the right-clicking if there are multiple players nearby.

commented

You can use PlayerRightClickBlockEvent of CraftTweaker.