Class WrapperPlayServerNbtQuery

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerNbtQuery

public class WrapperPlayServerNbtQuery extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The 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'