Class ServerboundBlockEntityTagQueryPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundBlockEntityTagQueryPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
public class ServerboundBlockEntityTagQueryPacket
extends Object
implements Packet<ServerGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockPosstatic final StreamCodec<FriendlyByteBuf, ServerboundBlockEntityTagQueryPacket> private final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionServerboundBlockEntityTagQueryPacket(int transactionId, BlockPos pos) private -
Method Summary
Modifier and TypeMethodDescriptiongetPos()intvoidhandle(ServerGamePacketListener handler) Passes this Packet on to the PacketListener for processing.type()private voidwrite(FriendlyByteBuf buffer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
transactionId
private final int transactionId -
pos
-
-
Constructor Details
-
ServerboundBlockEntityTagQueryPacket
-
ServerboundBlockEntityTagQueryPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ServerGamePacketListener>
-
handle
Passes this Packet on to the PacketListener for processing.- Specified by:
handlein interfacePacket<ServerGamePacketListener>
-
getTransactionId
public int getTransactionId() -
getPos
-