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