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 TypeMethodDescriptionvoid
translate(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.clientbound.level.ClientboundLevelEventPacket packet)
Translates the givenClientboundLevelEventPacket
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 givenClientboundLevelEventPacket
into bedrock and sends it upstream.- Parameters:
session
- GeyserConnectionpacket
- the effect packet to handle
-