Class MilkEntitySoundInteractionHandler

java.lang.Object
org.geysermc.connector.network.translators.sound.entity.MilkEntitySoundInteractionHandler
All Implemented Interfaces:
EntitySoundInteractionHandler, SoundInteractionHandler<Entity>

public class MilkEntitySoundInteractionHandler extends Object implements EntitySoundInteractionHandler
  • Constructor Details

    • MilkEntitySoundInteractionHandler

      public MilkEntitySoundInteractionHandler()
  • Method Details

    • handleInteraction

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