Class WrapperPlayClientSetCommandBlock
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientSetCommandBlock
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientSetCommandBlock
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Retrieves the value of field 'automatic'Retrieves the value of field 'command'boolean
Retrieves the value of field 'conditional'getMode()
Retrieves the value of field 'mode'com.comphenix.protocol.wrappers.BlockPosition
getPos()
Retrieves the value of field 'pos'boolean
Retrieves the value of field 'trackOutput'void
setAutomatic
(boolean value) Sets the value of field 'automatic'void
setCommand
(String value) Sets the value of field 'command'void
setConditional
(boolean value) Sets the value of field 'conditional'void
Sets the value of field 'mode'void
setPos
(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'pos'void
setTrackOutput
(boolean value) Sets the value of field 'trackOutput'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
-
WrapperPlayClientSetCommandBlock
public WrapperPlayClientSetCommandBlock() -
WrapperPlayClientSetCommandBlock
public WrapperPlayClientSetCommandBlock(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'
-
getCommand
Retrieves the value of field 'command'- Returns:
- 'command'
-
setCommand
Sets the value of field 'command'- Parameters:
value
- New value for field 'command'
-
getTrackOutput
public boolean getTrackOutput()Retrieves the value of field 'trackOutput'- Returns:
- 'trackOutput'
-
setTrackOutput
public void setTrackOutput(boolean value) Sets the value of field 'trackOutput'- Parameters:
value
- New value for field 'trackOutput'
-
getConditional
public boolean getConditional()Retrieves the value of field 'conditional'- Returns:
- 'conditional'
-
setConditional
public void setConditional(boolean value) Sets the value of field 'conditional'- Parameters:
value
- New value for field 'conditional'
-
getAutomatic
public boolean getAutomatic()Retrieves the value of field 'automatic'- Returns:
- 'automatic'
-
setAutomatic
public void setAutomatic(boolean value) Sets the value of field 'automatic'- Parameters:
value
- New value for field 'automatic'
-
getMode
Retrieves the value of field 'mode'- Returns:
- 'mode'
-
setMode
Sets the value of field 'mode'- Parameters:
value
- New value for field 'mode'
-