net.minecraft.network.protocol.game

public class ClientboundLevelEventPacket

implements Packet<ClientGamePacketListener>

acz
net.minecraft.network.protocol.game.ClientboundLevelEventPacket
net.minecraft.class_2673
net.minecraft.network.packet.s2c.play.WorldEventS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutWorldEvent

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundLevelEventPacket>
a
STREAM_CODEC
field_47934
CODEC
private final int
b
type
field_12241
eventId
private final BlockPos
c
pos
field_12242
pos
private final int
d
data
field_12239
data
private final boolean
e
globalEvent
field_12240
global

Constructor summary

ModifierConstructor
public (int eventId, BlockPos pos, int data, boolean global)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55884(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundLevelEventPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11535(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public boolean
b()
isGlobalEvent()
method_11533()
isGlobal()
public int
e()
getType()
method_11532()
getEventId()
public int
f()
getData()
method_11534()
getData()
public BlockPos
g()
getPos()
method_11531()
getPos()