Interface EntitySoundInteractionHandler

All Superinterfaces:
SoundInteractionHandler<Entity>
All Known Implementing Classes:
FeedBabySoundInteractionHandler, MilkEntitySoundInteractionHandler

public interface EntitySoundInteractionHandler extends SoundInteractionHandler<Entity>
Sound interaction handler for when an entity is right-clicked.
  • Method Details

    • handleEntityInteraction

      static void handleEntityInteraction(GeyserSession session, com.nukkitx.math.vector.Vector3f position, Entity entity)
      Handles the block interaction when a player right-clicks an entity.
      Parameters:
      session - the session interacting with the block
      position - the position of the block
      entity - the entity interacted with