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'booleanRetrieves the value of field 'ignoreEntities'floatRetrieves the value of field 'integrity'org.bukkit.block.structure.MirrorRetrieves the value of field 'mirror' ProtocolLib currently does not provide a wrapper for this type.com.comphenix.protocol.events.InternalStructureDeprecated.org.bukkit.block.structure.UsageModegetMode()Retrieves the value of field 'mode'getName()Retrieves the value of field 'name'com.comphenix.protocol.wrappers.BlockPositionRetrieves the value of field 'offset'com.comphenix.protocol.wrappers.BlockPositiongetPos()Retrieves the value of field 'pos'org.bukkit.block.structure.StructureRotationRetrieves the value of field 'rotation' ProtocolLib currently does not provide a wrapper for this type.com.comphenix.protocol.events.InternalStructureDeprecated.UsegetRotation()insteadlonggetSeed()Retrieves the value of field 'seed'booleanRetrieves the value of field 'showAir'booleanRetrieves the value of field 'showBoundingBox'getSize()Retrieves the value of field 'size'Retrieves the value of field 'updateType'voidSets the value of field 'data'voidsetIgnoreEntities(boolean value) Sets the value of field 'ignoreEntities'voidsetIntegrity(float value) Sets the value of field 'integrity'voidsetMirror(org.bukkit.block.structure.Mirror value) Sets the value of field 'mirror' ProtocolLib currently does not provide a wrapper for this type.voidsetMirrorInternal(com.comphenix.protocol.events.InternalStructure value) Deprecated.{UsesetMirror(Mirror)instead}voidsetMode(org.bukkit.block.structure.UsageMode value) Sets the value of field 'mode'voidSets the value of field 'name'voidsetOffset(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'offset'voidsetPos(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'pos'voidsetRotation(org.bukkit.block.structure.StructureRotation value) Sets the value of field 'rotation' ProtocolLib currently does not provide a wrapper for this type.voidsetRotationInternal(com.comphenix.protocol.events.InternalStructure value) Deprecated.UsesetRotation(StructureRotation)insteadvoidsetSeed(long value) Sets the value of field 'seed'voidsetShowAir(boolean value) Sets the value of field 'showAir'voidsetShowBoundingBox(boolean value) Sets the value of field 'showBoundingBox'voidSets the value of field 'size'voidSets 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}