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