public function __construct(Furnace $furnace, Item $fuel, $burnTime) { parent::__construct($furnace->getBlock()); $this->fuel = $fuel; $this->burnTime = (int) $burnTime; $this->furnace = $furnace; }
public function __construct(Furnace $furnace, Item $source, Item $result) { parent::__construct($furnace->getBlock()); $this->source = clone $source; $this->source->setCount(1); $this->result = $result; $this->furnace = $furnace; }
public function __construct(Block $block, Block $newState) { parent::__construct($block); $this->newState = $newState; }
/** * @param Block $theBlock * @param Player $thePlayer * @param string[] $theLines */ public function __construct(Block $theBlock, Player $thePlayer, array $theLines) { parent::__construct($theBlock); $this->player = $thePlayer; $this->lines = $theLines; }
public function __construct(Block $block) { parent::__construct($block); }