Class WrapperPlayServerAttachEntity
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerAttachEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerAttachEntity
(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the value of field 'destId'int
Retrieves the value of field 'sourceId'void
setDestId
(int value) Sets the value of field 'destId'void
setSourceId
(int value) Sets the value of field 'sourceId'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 TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerAttachEntity
public WrapperPlayServerAttachEntity()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerAttachEntity
public WrapperPlayServerAttachEntity(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet- Parameters:
packet
- the packet to wrap
-
-
Method Details
-
getSourceId
public int getSourceId()Retrieves the value of field 'sourceId'- Returns:
- 'sourceId'
-
setSourceId
public void setSourceId(int value) Sets the value of field 'sourceId'- Parameters:
value
- New value for field 'sourceId'
-
getDestId
public int getDestId()Retrieves the value of field 'destId'- Returns:
- 'destId'
-
setDestId
public void setDestId(int value) Sets the value of field 'destId'- Parameters:
value
- New value for field 'destId'
-