All Known Implementing Classes:
PlaySoundEffect, SoundEventEffect, SoundLevelEffect

public interface Effect
Represents an effect capable of translating itself into bedrock
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleEffectPacket​(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayEffectPacket packet)
    Translates the given ServerPlayEffectPacket into bedrock and sends it upstream.
  • Method Details

    • handleEffectPacket

      void handleEffectPacket(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayEffectPacket packet)
      Translates the given ServerPlayEffectPacket into bedrock and sends it upstream.
      Parameters:
      session - GeyserSession
      packet - the effect packet to handle