Interface Effect
- All Known Implementing Classes:
PlaySoundEffect,SoundEventEffect,SoundLevelEffect
public interface Effect
Represents an effect capable of translating itself into bedrock
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleEffectPacket(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayEffectPacket packet)Translates the givenServerPlayEffectPacketinto 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 givenServerPlayEffectPacketinto bedrock and sends it upstream.- Parameters:
session- GeyserSessionpacket- the effect packet to handle
-