Class WrapperPlayClientStruct
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientStruct
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientStruct
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptiongetData()
Retrieves the value of field 'data'boolean
Retrieves the value of field 'ignoreEntities'float
Retrieves the value of field 'integrity'org.bukkit.block.structure.Mirror
Retrieves the value of field 'mirror' ProtocolLib currently does not provide a wrapper for this type.com.comphenix.protocol.events.InternalStructure
Deprecated.org.bukkit.block.structure.UsageMode
getMode()
Retrieves the value of field 'mode'getName()
Retrieves the value of field 'name'com.comphenix.protocol.wrappers.BlockPosition
Retrieves the value of field 'offset'com.comphenix.protocol.wrappers.BlockPosition
getPos()
Retrieves the value of field 'pos'org.bukkit.block.structure.StructureRotation
Retrieves the value of field 'rotation' ProtocolLib currently does not provide a wrapper for this type.com.comphenix.protocol.events.InternalStructure
Deprecated.UsegetRotation()
insteadlong
getSeed()
Retrieves the value of field 'seed'boolean
Retrieves the value of field 'showAir'boolean
Retrieves the value of field 'showBoundingBox'getSize()
Retrieves the value of field 'size'Retrieves the value of field 'updateType'void
Sets the value of field 'data'void
setIgnoreEntities
(boolean value) Sets the value of field 'ignoreEntities'void
setIntegrity
(float value) Sets the value of field 'integrity'void
setMirror
(org.bukkit.block.structure.Mirror value) Sets the value of field 'mirror' ProtocolLib currently does not provide a wrapper for this type.void
setMirrorInternal
(com.comphenix.protocol.events.InternalStructure value) Deprecated.{UsesetMirror(Mirror)
instead}void
setMode
(org.bukkit.block.structure.UsageMode value) Sets the value of field 'mode'void
Sets the value of field 'name'void
setOffset
(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'offset'void
setPos
(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'pos'void
setRotation
(org.bukkit.block.structure.StructureRotation value) Sets the value of field 'rotation' ProtocolLib currently does not provide a wrapper for this type.void
setRotationInternal
(com.comphenix.protocol.events.InternalStructure value) Deprecated.UsesetRotation(StructureRotation)
insteadvoid
setSeed
(long value) Sets the value of field 'seed'void
setShowAir
(boolean value) Sets the value of field 'showAir'void
setShowBoundingBox
(boolean value) Sets the value of field 'showBoundingBox'void
Sets the value of field 'size'void
Sets the value of field 'updateType'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
-
WrapperPlayClientStruct
public WrapperPlayClientStruct() -
WrapperPlayClientStruct
public WrapperPlayClientStruct(com.comphenix.protocol.events.PacketContainer packet)
-
-
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'
-
getUpdateType
Retrieves the value of field 'updateType'- Returns:
- 'updateType'
-
setUpdateType
Sets the value of field 'updateType'- Parameters:
value
- New value for field 'updateType'
-
getMode
public org.bukkit.block.structure.UsageMode getMode()Retrieves the value of field 'mode'- Returns:
- 'mode'
-
setMode
public void setMode(org.bukkit.block.structure.UsageMode value) Sets the value of field 'mode'- Parameters:
value
- New value for field 'mode'
-
getName
Retrieves the value of field 'name'- Returns:
- 'name'
-
setName
Sets the value of field 'name'- Parameters:
value
- New value for field 'name'
-
getOffset
public com.comphenix.protocol.wrappers.BlockPosition getOffset()Retrieves the value of field 'offset'- Returns:
- 'offset'
-
setOffset
public void setOffset(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'offset'- Parameters:
value
- New value for field 'offset'
-
getSize
Retrieves the value of field 'size'- Returns:
- 'size'
-
setSize
Sets the value of field 'size'- Parameters:
value
- New value for field 'size'
-
getMirrorInternal
Deprecated.{UsegetMirror()
instead}Retrieves the value of field 'mirror' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure- Returns:
- 'mirror'
-
setMirrorInternal
Deprecated.{UsesetMirror(Mirror)
instead}Sets the value of field 'mirror' 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 'mirror'
-
getMirror
public org.bukkit.block.structure.Mirror getMirror()Retrieves the value of field 'mirror' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure- Returns:
- 'mirror'
-
setMirror
public void setMirror(org.bukkit.block.structure.Mirror value) Sets the value of field 'mirror' 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 'mirror'
-
getRotationInternal
Deprecated.UsegetRotation()
insteadRetrieves the value of field 'rotation' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure- Returns:
- 'rotation'
-
setRotationInternal
Deprecated.UsesetRotation(StructureRotation)
insteadSets the value of field 'rotation' 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 'rotation'
-
getRotation
public org.bukkit.block.structure.StructureRotation getRotation()Retrieves the value of field 'rotation' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure- Returns:
- 'rotation'
-
setRotation
public void setRotation(org.bukkit.block.structure.StructureRotation value) Sets the value of field 'rotation' 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 'rotation'
-
getData
Retrieves the value of field 'data'- Returns:
- 'data'
-
setData
Sets the value of field 'data'- Parameters:
value
- New value for field 'data'
-
getIgnoreEntities
public boolean getIgnoreEntities()Retrieves the value of field 'ignoreEntities'- Returns:
- 'ignoreEntities'
-
setIgnoreEntities
public void setIgnoreEntities(boolean value) Sets the value of field 'ignoreEntities'- Parameters:
value
- New value for field 'ignoreEntities'
-
getShowAir
public boolean getShowAir()Retrieves the value of field 'showAir'- Returns:
- 'showAir'
-
setShowAir
public void setShowAir(boolean value) Sets the value of field 'showAir'- Parameters:
value
- New value for field 'showAir'
-
getShowBoundingBox
public boolean getShowBoundingBox()Retrieves the value of field 'showBoundingBox'- Returns:
- 'showBoundingBox'
-
setShowBoundingBox
public void setShowBoundingBox(boolean value) Sets the value of field 'showBoundingBox'- Parameters:
value
- New value for field 'showBoundingBox'
-
getIntegrity
public float getIntegrity()Retrieves the value of field 'integrity'- Returns:
- 'integrity'
-
setIntegrity
public void setIntegrity(float value) Sets the value of field 'integrity'- Parameters:
value
- New value for field 'integrity'
-
getSeed
public long getSeed()Retrieves the value of field 'seed'- Returns:
- 'seed'
-
setSeed
public void setSeed(long value) Sets the value of field 'seed'- Parameters:
value
- New value for field 'seed'
-
getMirror()
instead}