Class WrapperPlayClientUseItem

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientUseItem

public class WrapperPlayClientUseItem extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
  • Constructor Details

    • WrapperPlayClientUseItem

      public WrapperPlayClientUseItem()
    • WrapperPlayClientUseItem

      public WrapperPlayClientUseItem(com.comphenix.protocol.events.PacketContainer packet)
  • Method Details

    • getHand

      public com.comphenix.protocol.wrappers.EnumWrappers.Hand getHand()
      Retrieves the value of field 'hand'
      Returns:
      'hand'
    • setHand

      public void setHand(com.comphenix.protocol.wrappers.EnumWrappers.Hand value)
      Sets the value of field 'hand'
      Parameters:
      value - New value for field 'hand'
    • getSequence

      public int getSequence()
      Retrieves the value of field 'sequence'
      Returns:
      'sequence'
    • setSequence

      public void setSequence(int value)
      Sets the value of field 'sequence'
      Parameters:
      value - New value for field 'sequence'
    • getTimestamp

      public long getTimestamp()
      Retrieves the value of field 'timestamp'
      Returns:
      'timestamp'
    • setTimestamp

      public void setTimestamp(long value)
      Sets the value of field 'timestamp'
      Parameters:
      value - New value for field 'timestamp'