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