Class HoeInteractionHandler

java.lang.Object
org.geysermc.connector.network.translators.sound.block.HoeInteractionHandler
All Implemented Interfaces:
BlockSoundInteractionHandler, SoundInteractionHandler<String>

public class HoeInteractionHandler extends Object implements BlockSoundInteractionHandler
  • Constructor Details

    • HoeInteractionHandler

      public HoeInteractionHandler()
  • Method Details

    • handleInteraction

      public void handleInteraction(GeyserSession session, com.nukkitx.math.vector.Vector3f position, String identifier)
      Description copied from interface: SoundInteractionHandler
      Handles the interaction when a player right-clicks a block.
      Specified by:
      handleInteraction in interface SoundInteractionHandler<String>
      Parameters:
      session - the session interacting with the block
      position - the position of the block
      identifier - the value