Class WrapperPlayClientUseEntity

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

public class WrapperPlayClientUseEntity extends AbstractPacket
  • Field Details

    • TYPE

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

    • WrapperPlayClientUseEntity

      public WrapperPlayClientUseEntity()
    • WrapperPlayClientUseEntity

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

    • getEntityId

      public int getEntityId()
      Retrieves the value of field 'entityId'
      Returns:
      'entityId'
    • setEntityId

      public void setEntityId(int value)
      Sets the value of field 'entityId'
      Parameters:
      value - New value for field 'entityId'
    • getActionInternal

      public com.comphenix.protocol.events.InternalStructure getActionInternal()
      Deprecated.
      {Use getAction() instead}
      Retrieves the value of field 'action' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure
      Returns:
      'action'
    • setAction

      public void setAction(com.comphenix.protocol.events.InternalStructure value)
      Deprecated.
      Sets the value of field 'action' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure
      Parameters:
      value - New value for field 'action'
    • getAction

      public com.comphenix.protocol.wrappers.WrappedEnumEntityUseAction getAction()
      Retrieves the value of field 'action'
      Returns:
      'action'
    • setAction

      public void setAction(com.comphenix.protocol.wrappers.WrappedEnumEntityUseAction value)
      Sets the value of field 'action'
      Parameters:
      value - New value for field 'action'
    • getUsingSecondaryAction

      public boolean getUsingSecondaryAction()
      Retrieves the value of field 'usingSecondaryAction'
      Returns:
      'usingSecondaryAction'
    • setUsingSecondaryAction

      public void setUsingSecondaryAction(boolean value)
      Sets the value of field 'usingSecondaryAction'
      Parameters:
      value - New value for field 'usingSecondaryAction'