public class ClientboundLevelEventPacket extends Object implements MinecraftPacket
| Constructor and Description |
|---|
ClientboundLevelEventPacket(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper) |
ClientboundLevelEventPacket(@NonNull LevelEvent event,
@NonNull com.nukkitx.math.vector.Vector3i position,
@NonNull LevelEventData data) |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(io.netty.buffer.ByteBuf out,
MinecraftCodecHelper helper) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPrioritypublic ClientboundLevelEventPacket(@NonNull
@NonNull LevelEvent event,
@NonNull
@NonNull com.nukkitx.math.vector.Vector3i position,
@NonNull
@NonNull LevelEventData data)
public ClientboundLevelEventPacket(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper)
throws IOException
IOExceptionpublic void serialize(io.netty.buffer.ByteBuf out,
MinecraftCodecHelper helper)
throws IOException
serialize in interface MinecraftPacketIOExceptionCopyright © 2023. All rights reserved.