Class WrapperPlayServerCollect

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

public class WrapperPlayServerCollect extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperPlayServerCollect

      public WrapperPlayServerCollect()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerCollect

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

    • getItemId

      public int getItemId()
      Retrieves the value of field 'itemId'
      Returns:
      'itemId'
    • setItemId

      public void setItemId(int value)
      Sets the value of field 'itemId'
      Parameters:
      value - New value for field 'itemId'
    • getPlayerId

      public int getPlayerId()
      Retrieves the value of field 'playerId'
      Returns:
      'playerId'
    • setPlayerId

      public void setPlayerId(int value)
      Sets the value of field 'playerId'
      Parameters:
      value - New value for field 'playerId'
    • getAmount

      public int getAmount()
      Retrieves the value of field 'amount'
      Returns:
      'amount'
    • setAmount

      public void setAmount(int value)
      Sets the value of field 'amount'
      Parameters:
      value - New value for field 'amount'