Class WrapperPlayServerNbtQuery
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerNbtQuery
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerNbtQuery
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptioncom.comphenix.protocol.wrappers.WrappedChatComponent[]
getTag()
Retrieves the value of field 'tag'int
Retrieves the value of field 'transactionId'void
setTag
(com.comphenix.protocol.wrappers.WrappedChatComponent[] value) Sets the value of field 'tag'void
setTransactionId
(int value) Sets the value of field 'transactionId'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerNbtQuery
public WrapperPlayServerNbtQuery()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerNbtQuery
public WrapperPlayServerNbtQuery(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getTransactionId
public int getTransactionId()Retrieves the value of field 'transactionId'- Returns:
- 'transactionId'
-
setTransactionId
public void setTransactionId(int value) Sets the value of field 'transactionId'- Parameters:
value
- New value for field 'transactionId'
-
getTag
public com.comphenix.protocol.wrappers.WrappedChatComponent[] getTag()Retrieves the value of field 'tag'- Returns:
- 'tag'
-
setTag
public void setTag(com.comphenix.protocol.wrappers.WrappedChatComponent[] value) Sets the value of field 'tag'- Parameters:
value
- New value for field 'tag'
-