net.minecraft.network.packet.c2s.play

public class QueryBlockNbtC2SPacket

implements Packet<ServerPlayPacketListener>

net.minecraft.network.protocol.game.ServerboundBlockEntityTagQueryPacket
net.minecraft.class_2795
net.minecraft.network.packet.c2s.play.QueryBlockNbtC2SPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, QueryBlockNbtC2SPacket>
STREAM_CODEC
field_48175
CODEC
private final int
transactionId
field_12762
transactionId
private final BlockPos
pos
field_12763
pos

Constructor summary

ModifierConstructor
public (int transactionId, BlockPos pos)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55961(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<QueryBlockNbtC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerGamePacketListener listener)
method_12095(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
getTransactionId()
method_12096()
getTransactionId()
public BlockPos
getPos()
method_12094()
getPos()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)