net.minecraft.network.protocol.game

public class ClientboundLevelEventPacket

implements Packet<ClientGamePacketListener>

yh
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
private final int
a
type
field_12241
eventId
f_132258_
private final BlockPos
b
pos
field_12242
pos
f_132259_
private final int
c
data
field_12239
data
f_132260_
private final boolean
d
globalEvent
field_12240
global
f_132261_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ww arg0)
handle(ClientGamePacketListener arg0)
method_11535(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public boolean
a()
isGlobalEvent()
method_11533()
isGlobal()
m_132274_()
public int
d()
getType()
method_11532()
getEventId()
m_132277_()
public int
e()
getData()
method_11534()
getData()
m_132278_()
public BlockPos
f()
getPos()
method_11531()
getPos()
m_132279_()