RightClick Events Help!

Discussion in 'Spigot Plugin Help' started by SladeHazard, Nov 28, 2018.

  1. i am trying to make a tripwire_hook right clickable on all blocks like you can hit players with atripwire hook by right clicking for example like you throw enderpearl why i need to make it right clickable its for my crates tripwire hook can only right click crates but my crates are set as heads is it possible to make them right clickable on heads too more information here:https://www.reddit.com/r/Minecraft/comments/6mwij2/making_rightclick_items_not_rightclickable/
  2. PlayerInteractAtEntityEvent?
  3. You can listen for the BlockPlaceEvent and cancel it. However that may look pretty clumsy.

    (If that event doesn't work listen for PlayerInteractEvent)