Class WrapperPlayServerTileEntityData
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerTileEntityData
-
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 valuesWrapperPlayServerTileEntityData
(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet -
Method Summary
Modifier and TypeMethodDescriptioncom.comphenix.protocol.wrappers.BlockPosition
getPos()
Retrieves the value of field 'pos'com.comphenix.protocol.wrappers.WrappedChatComponent[]
getTag()
Retrieves the value of field 'tag'com.comphenix.protocol.wrappers.WrappedRegistrable
getType()
Retrieves the value of field 'type'void
setPos
(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'pos'void
setTag
(com.comphenix.protocol.wrappers.WrappedChatComponent[] value) Sets the value of field 'tag'void
setType
(com.comphenix.protocol.wrappers.WrappedRegistrable value) Sets the value of field 'type'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
-
WrapperPlayServerTileEntityData
public WrapperPlayServerTileEntityData()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerTileEntityData
public WrapperPlayServerTileEntityData(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet- Parameters:
packet
- the packet to wrap
-
-
Method Details
-
getPos
public com.comphenix.protocol.wrappers.BlockPosition getPos()Retrieves the value of field 'pos'- Returns:
- 'pos'
-
setPos
public void setPos(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'pos'- Parameters:
value
- New value for field 'pos'
-
getType
public com.comphenix.protocol.wrappers.WrappedRegistrable getType()Retrieves the value of field 'type'- Returns:
- 'type'
-
setType
public void setType(com.comphenix.protocol.wrappers.WrappedRegistrable value) Sets the value of field 'type'- Parameters:
value
- New value for field 'type'
-
getTag
public com.comphenix.protocol.wrappers.WrappedChatComponent[] getTag()Retrieves the value of field 'tag'- Returns:
- 'tag'
-
setTag
public void setTag(com.comphenix.protocol.wrappers.WrappedChatComponent[] value) Sets the value of field 'tag'- Parameters:
value
- New value for field 'tag'
-