The position of the command block.
The command mode of the command block.
Whether the command block is in redstone mode.
Whether the command block is in conditional mode.
Readonly
commandThe command mode of the command block.
Readonly
conditionalWhether the command block is in conditional mode.
Readonly
positionThe position of the command block.
Readonly
redstoneWhether the command block is in redstone mode.
Static
readRead a value from the stream.
The BinaryStream to read from.
Optional
options: PacketDataTypeOptions<boolean>Options for reading the data type, such as endianness.
The value read from the stream.
Static
writeWrite a value to the stream.
The BinaryStream to write to.
The value to write.
Optional
options: PacketDataTypeOptions<boolean>Options for writing the data type, such as endianness.
Create a new command block settings data type.