Class MilkEntitySoundInteractionTranslator
java.lang.Object
org.geysermc.geyser.translator.sound.entity.MilkEntitySoundInteractionTranslator
- All Implemented Interfaces:
EntitySoundInteractionTranslator
,SoundInteractionTranslator<Entity>
public class MilkEntitySoundInteractionTranslator
extends Object
implements EntitySoundInteractionTranslator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
translate(GeyserSession session, com.nukkitx.math.vector.Vector3f position, Entity value)
Handles the interaction when a player right-clicks a block.
-
Constructor Details
-
MilkEntitySoundInteractionTranslator
public MilkEntitySoundInteractionTranslator()
-
-
Method Details
-
translate
public void translate(GeyserSession session, com.nukkitx.math.vector.Vector3f position, Entity value)Description copied from interface:SoundInteractionTranslator
Handles the interaction when a player right-clicks a block.- Specified by:
translate
in interfaceSoundInteractionTranslator<Entity>
- Parameters:
session
- the session interacting with the blockposition
- the position of the blockvalue
- the value
-