Interface EntitySoundInteractionHandler
- All Superinterfaces:
SoundInteractionHandler<Entity>
- All Known Implementing Classes:
FeedBabySoundInteractionHandler,MilkEntitySoundInteractionHandler
Sound interaction handler for when an entity is right-clicked.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic voidhandleEntityInteraction(GeyserSession session, com.nukkitx.math.vector.Vector3f position, Entity entity)Handles the block interaction when a player right-clicks an entity.Methods inherited from interface org.geysermc.connector.network.translators.sound.SoundInteractionHandler
handleInteraction
-
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 blockposition- the position of the blockentity- the entity interacted with
-