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 Details

    • FlintAndSteelInteractionTranslator

      public FlintAndSteelInteractionTranslator()
  • 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 interface SoundInteractionTranslator<String>
      Parameters:
      session - the session interacting with the block
      position - the position of the block
      identifier - the value