Class PlaySoundEffect

java.lang.Object
org.geysermc.connector.network.translators.effect.PlaySoundEffect
All Implemented Interfaces:
Effect

public class PlaySoundEffect extends Object implements Effect
  • Constructor Details

    • PlaySoundEffect

      public PlaySoundEffect()
  • Method Details

    • handleEffectPacket

      public void handleEffectPacket(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayEffectPacket packet)
      Description copied from interface: Effect
      Translates the given ServerPlayEffectPacket into bedrock and sends it upstream.
      Specified by:
      handleEffectPacket in interface Effect
      Parameters:
      session - GeyserSession
      packet - the effect packet to handle