Class PlaySoundEffect
java.lang.Object
org.geysermc.connector.network.translators.effect.PlaySoundEffect
- All Implemented Interfaces:
Effect
-
Constructor Summary
Constructors -
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.
-
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:EffectTranslates the givenServerPlayEffectPacketinto bedrock and sends it upstream.- Specified by:
handleEffectPacketin interfaceEffect- Parameters:
session- GeyserSessionpacket- the effect packet to handle
-