net.minecraft.network.protocol.game

public class ClientboundBlockEventPacket

implements Packet<ClientGamePacketListener>

acc
net.minecraft.network.protocol.game.ClientboundBlockEventPacket
net.minecraft.class_2623
net.minecraft.network.packet.s2c.play.BlockEventS2CPacket
net.minecraft.src.C_5042_
net.minecraft.network.protocol.game.PacketPlayOutBlockAction

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundBlockEventPacket>
a
STREAM_CODEC
field_47904
CODEC
f_316965_
private final BlockPos
b
pos
field_12044
pos
f_131709_
private final int
c
b0
field_12042
type
f_131710_
private final int
d
b1
field_12041
data
f_131711_
private final Block
e
block
field_12043
block
f_131712_

Constructor summary

ModifierConstructor
public (BlockPos pos, Block block, int type, int data)
private (RegistryFriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wk arg0)
write(RegistryFriendlyByteBuf arg0)
method_55860(class_9129 arg0)
write(RegistryByteBuf buf)
m_131726_(C_313350_ arg0)
public PacketType<ClientboundBlockEventPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11297(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public BlockPos
b()
getPos()
method_11298()
getPos()
m_131725_()
public int
e()
getB0()
method_11294()
getType()
m_131728_()
public int
f()
getB1()
method_11296()
getData()
m_131729_()
public Block
g()
getBlock()
method_11295()
getBlock()
m_131730_()