Interface LevelEventTranslator

All Known Implementing Classes:
PlaySoundEventTranslator, SoundEventEventTranslator, SoundLevelEventTranslator

public interface LevelEventTranslator
Represents an event capable of translating itself into bedrock
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    translate​(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.clientbound.level.ClientboundLevelEventPacket packet)
    Translates the given ClientboundLevelEventPacket into bedrock and sends it upstream.
  • Method Details

    • translate

      void translate(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.clientbound.level.ClientboundLevelEventPacket packet)
      Translates the given ClientboundLevelEventPacket into bedrock and sends it upstream.
      Parameters:
      session - GeyserConnection
      packet - the effect packet to handle