48 $this->blockPosition = CommonTypes::getBlockPosition($in);
49 $this->commandBlockMode = VarInt::readUnsignedInt($in);
50 $this->isRedstoneMode = CommonTypes::getBool($in);
51 $this->isConditional = CommonTypes::getBool($in);
54 $this->minecartActorRuntimeId = CommonTypes::getActorRuntimeId($in);
57 $this->command = CommonTypes::getString($in);
58 $this->lastOutput = CommonTypes::getString($in);
59 $this->name = CommonTypes::getString($in);
60 $this->filteredName = CommonTypes::getString($in);
61 $this->shouldTrackOutput = CommonTypes::getBool($in);
62 $this->tickDelay = LE::readUnsignedInt($in);
63 $this->executeOnFirstTick = CommonTypes::getBool($in);
70 CommonTypes::putBlockPosition($out, $this->blockPosition);
71 VarInt::writeUnsignedInt($out, $this->commandBlockMode);
72 CommonTypes::putBool($out, $this->isRedstoneMode);
73 CommonTypes::putBool($out, $this->isConditional);
75 CommonTypes::putActorRuntimeId($out, $this->minecartActorRuntimeId);
78 CommonTypes::putString($out, $this->command);
79 CommonTypes::putString($out, $this->lastOutput);
80 CommonTypes::putString($out, $this->name);
81 CommonTypes::putString($out, $this->filteredName);
82 CommonTypes::putBool($out, $this->shouldTrackOutput);
83 LE::writeUnsignedInt($out, $this->tickDelay);
84 CommonTypes::putBool($out, $this->executeOnFirstTick);