net.minecraft.network.protocol.game

public class ClientboundBlockEventPacket

implements Packet<ClientGamePacketListener>

abt
net.minecraft.network.protocol.game.ClientboundBlockEventPacket
net.minecraft.class_2623
net.minecraft.network.packet.s2c.play.BlockEventS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutBlockAction

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(wa arg0)
write(RegistryFriendlyByteBuf arg0)
method_55860(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<ClientboundBlockEventPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11297(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public BlockPos
b()
getPos()
method_11298()
getPos()
public int
e()
getB0()
method_11294()
getType()
public int
f()
getB1()
method_11296()
getData()
public Block
g()
getBlock()
method_11295()
getBlock()