net.minecraft.network.protocol.game

public class ClientboundLevelEventPacket

implements Packet<ClientGamePacketListener>

adv
net.minecraft.network.protocol.game.ClientboundLevelEventPacket
net.minecraft.class_2673
net.minecraft.network.packet.s2c.play.WorldEventS2CPacket
net.minecraft.src.C_5071_
net.minecraft.network.protocol.game.PacketPlayOutWorldEvent

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_55884(class_2540 arg0)
write(PacketByteBuf buf)
m_132275_(C_4983_ arg0)
public PacketType<ClientboundLevelEventPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aci arg0)
handle(ClientGamePacketListener arg0)
method_11535(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public boolean
b()
isGlobalEvent()
method_11533()
isGlobal()
m_132274_()
public int
e()
getType()
method_11532()
getEventId()
m_132277_()
public int
f()
getData()
method_11534()
getData()
m_132278_()
public BlockPos
g()
getPos()
method_11531()
getPos()
m_132279_()