mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Added Iron Tool IDs
This commit is contained in:
parent
88b7cb7228
commit
1a2fbd7389
@ -158,9 +158,9 @@ define("GLOWING_OBSIDIAN", 246);
|
||||
define("NETHER_REACTOR", 247);
|
||||
|
||||
// ---- Items ----
|
||||
define("IRON_SHOVEL", 256);
|
||||
define("IRON_PICKAXE", 257);
|
||||
define("IRON_AXE", 258);
|
||||
define("IRON_SHOVEL", 256);//Implemented
|
||||
define("IRON_PICKAXE", 257);//Implemented
|
||||
define("IRON_AXE", 258);//Implemented
|
||||
define("FLINT_STEEL", 259);
|
||||
define("APPLE", 260);//Implemented
|
||||
define("BOW", 261);
|
||||
@ -194,7 +194,7 @@ define("FEATHER", 288);//Implemented
|
||||
define("GUNPOWDER", 289);
|
||||
define("WOODEN_HOE", 290);
|
||||
define("STONE_HOE", 291);
|
||||
define("IRON_HOE", 292);
|
||||
define("IRON_HOE", 292);//Implemented
|
||||
define("DIAMOND_HOE", 293);
|
||||
define("GOLD_HOE", 294);
|
||||
define("SEEDS", 295);
|
||||
|
@ -46,6 +46,10 @@ class Item{
|
||||
BRICK => "BrickItem",
|
||||
IRON_INGOT => "IronIngotItem",
|
||||
GOLD_INGOT => "GoldIngotItem",
|
||||
IRON_SHOVEL => "IronShovelItem",
|
||||
IRON_PICKAXE => "IronPickaxeItem",
|
||||
IRON_AXE => "IronAxeItem",
|
||||
IRON_HOE => "IronHoeItem",
|
||||
);
|
||||
protected $block;
|
||||
protected $id;
|
||||
|
33
src/classes/material/item/generic/IronAxe.php
Normal file
33
src/classes/material/item/generic/IronAxe.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|
||||
-
|
||||
/ \
|
||||
/ \
|
||||
/ PocketMine \
|
||||
/ MP \
|
||||
|\ @shoghicp /|
|
||||
|. \ / .|
|
||||
| .. \ / .. |
|
||||
| .. | .. |
|
||||
| .. | .. |
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
class IronAxeItem extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(IRON_AXE, 0, $count, "IronAxe");
|
||||
}
|
||||
|
||||
}
|
33
src/classes/material/item/generic/IronHoe.php
Normal file
33
src/classes/material/item/generic/IronHoe.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|
||||
-
|
||||
/ \
|
||||
/ \
|
||||
/ PocketMine \
|
||||
/ MP \
|
||||
|\ @shoghicp /|
|
||||
|. \ / .|
|
||||
| .. \ / .. |
|
||||
| .. | .. |
|
||||
| .. | .. |
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
class IronHoeItem extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(IRON_HOE, 0, $count, "IronHoe");
|
||||
}
|
||||
|
||||
}
|
33
src/classes/material/item/generic/IronPickaxe.php
Normal file
33
src/classes/material/item/generic/IronPickaxe.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|
||||
-
|
||||
/ \
|
||||
/ \
|
||||
/ PocketMine \
|
||||
/ MP \
|
||||
|\ @shoghicp /|
|
||||
|. \ / .|
|
||||
| .. \ / .. |
|
||||
| .. | .. |
|
||||
| .. | .. |
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
class IronPickaxeItem extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(IRON_PICKAXE, 0, $count, "IronPickaxeItem");
|
||||
}
|
||||
|
||||
}
|
33
src/classes/material/item/generic/IronShovel.php
Normal file
33
src/classes/material/item/generic/IronShovel.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|
||||
-
|
||||
/ \
|
||||
/ \
|
||||
/ PocketMine \
|
||||
/ MP \
|
||||
|\ @shoghicp /|
|
||||
|. \ / .|
|
||||
| .. \ / .. |
|
||||
| .. | .. |
|
||||
| .. | .. |
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
class IronShovelItem extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(IRON_SHOVEL, 0, $count, "IronShovel");
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user