Class WrapperPlayClientUseEntity
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientUseEntity
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientUseEntity
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptioncom.comphenix.protocol.wrappers.WrappedEnumEntityUseAction
Retrieves the value of field 'action'com.comphenix.protocol.events.InternalStructure
Deprecated.int
Retrieves the value of field 'entityId'boolean
Retrieves the value of field 'usingSecondaryAction'void
setAction
(com.comphenix.protocol.events.InternalStructure value) Deprecated.{UsesetAction(WrappedEnumEntityUseAction)
instead}void
setAction
(com.comphenix.protocol.wrappers.WrappedEnumEntityUseAction value) Sets the value of field 'action'void
setEntityId
(int value) Sets the value of field 'entityId'void
setUsingSecondaryAction
(boolean value) Sets the value of field 'usingSecondaryAction'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 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.{UsegetAction()
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.{UsesetAction(WrappedEnumEntityUseAction)
instead}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'
-
getAction()
instead}