Interface EntitySoundInteractionTranslator
- All Superinterfaces:
SoundInteractionTranslator<Entity>
- All Known Implementing Classes:
FeedBabySoundInteractionTranslator
,MilkEntitySoundInteractionTranslator
Sound interaction handler for when an entity is right-clicked.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
handleEntityInteraction(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.geyser.translator.sound.SoundInteractionTranslator
translate
-
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
-