Inheritance: extends Item
コード例 #1
0
ファイル: FlintSteel.php プロジェクト: iTXTech/Genisys
 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::FLINT_STEEL, $meta, $count, "Flint and Steel");
     if ($this->temporalVector === null) {
         $this->temporalVector = new Vector3(0, 0, 0);
     }
 }
コード例 #2
0
 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::FLINT_STEEL, $meta, $count, "Flint and Steel");
 }
コード例 #3
0
 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::FISHING_ROD, 0, $count, "Fishing Rod");
 }
コード例 #4
0
ファイル: FlintSteel.php プロジェクト: ClearSkyTeam/ClearSky
 public function __construct($meta = 0, $count = 1)
 {
     $this->block = Block::get(Block::FIRE);
     parent::__construct(self::FLINT_STEEL, $meta, $count, "Flint and Steel");
 }
コード例 #5
0
ファイル: Shears.php プロジェクト: ClearSkyTeam/ClearSky
 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::SHEARS, $meta, $count, "Shears");
 }
コード例 #6
0
ファイル: FlintSteel.php プロジェクト: boybook/PocketMine-MP
 public function __construct($meta = 0, $count = 1)
 {
     parent::__construct(self::FLINT_STEEL, $meta, $count, "Flint and Steel");
     $this->isActivable = true;
 }