mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 15:19:56 +00:00
Item and Block, some wont work yet
This commit is contained in:
parent
b7d8956f23
commit
8a0bd85656
35
src/pocketmine/block/ActivatorRail.php
Normal file
35
src/pocketmine/block/ActivatorRail.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class ActivatorRail extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::ACTIVATOR_RAIL;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Activator Rail";
|
||||||
|
}
|
||||||
|
}
|
@ -63,9 +63,9 @@ class Block extends Position implements Metadatable{
|
|||||||
const GOLD_ORE = 14;
|
const GOLD_ORE = 14;
|
||||||
const IRON_ORE = 15;
|
const IRON_ORE = 15;
|
||||||
const COAL_ORE = 16;
|
const COAL_ORE = 16;
|
||||||
|
const LOG = 17;
|
||||||
const WOOD = 17;
|
const WOOD = 17;
|
||||||
const TRUNK = 17;
|
const TRUNK = 17;
|
||||||
const LOG = 17;
|
|
||||||
const LEAVES = 18;
|
const LEAVES = 18;
|
||||||
const LEAVE = 18;
|
const LEAVE = 18;
|
||||||
const SPONGE = 19;
|
const SPONGE = 19;
|
||||||
@ -74,18 +74,18 @@ class Block extends Position implements Metadatable{
|
|||||||
const LAPIS_BLOCK = 22;
|
const LAPIS_BLOCK = 22;
|
||||||
|
|
||||||
const SANDSTONE = 24;
|
const SANDSTONE = 24;
|
||||||
|
const NOTE_BLOCK = 25;
|
||||||
const BED_BLOCK = 26;
|
const BED_BLOCK = 26;
|
||||||
|
const POWERED_RAIL = 27;
|
||||||
|
const DETECTOR_RAIL = 28;
|
||||||
const COBWEB = 30;
|
const COBWEB = 30;
|
||||||
const TALL_GRASS = 31;
|
const TALL_GRASS = 31;
|
||||||
const BUSH = 32;
|
const BUSH = 32;
|
||||||
const DEAD_BUSH = 32;
|
const DEAD_BUSH = 32;
|
||||||
const WOOL = 35;
|
const WOOL = 35;
|
||||||
const DANDELION = 37;
|
const DANDELION = 37;
|
||||||
const ROSE = 38;
|
|
||||||
const POPPY = 38;
|
const POPPY = 38;
|
||||||
|
const ROSE = 38;
|
||||||
const RED_FLOWER = 38;
|
const RED_FLOWER = 38;
|
||||||
const BROWN_MUSHROOM = 39;
|
const BROWN_MUSHROOM = 39;
|
||||||
const RED_MUSHROOM = 40;
|
const RED_MUSHROOM = 40;
|
||||||
@ -110,7 +110,7 @@ class Block extends Position implements Metadatable{
|
|||||||
const OAK_WOOD_STAIRS = 53;
|
const OAK_WOOD_STAIRS = 53;
|
||||||
const OAK_WOODEN_STAIRS = 53;
|
const OAK_WOODEN_STAIRS = 53;
|
||||||
const CHEST = 54;
|
const CHEST = 54;
|
||||||
|
const REDSTONE_WIRE = 55;
|
||||||
const DIAMOND_ORE = 56;
|
const DIAMOND_ORE = 56;
|
||||||
const DIAMOND_BLOCK = 57;
|
const DIAMOND_BLOCK = 57;
|
||||||
const CRAFTING_TABLE = 58;
|
const CRAFTING_TABLE = 58;
|
||||||
@ -125,17 +125,20 @@ class Block extends Position implements Metadatable{
|
|||||||
const WOODEN_DOOR_BLOCK = 64;
|
const WOODEN_DOOR_BLOCK = 64;
|
||||||
const WOOD_DOOR_BLOCK = 64;
|
const WOOD_DOOR_BLOCK = 64;
|
||||||
const LADDER = 65;
|
const LADDER = 65;
|
||||||
|
const RAIL = 66;
|
||||||
const COBBLE_STAIRS = 67;
|
const COBBLE_STAIRS = 67;
|
||||||
const COBBLESTONE_STAIRS = 67;
|
const COBBLESTONE_STAIRS = 67;
|
||||||
const WALL_SIGN = 68;
|
const WALL_SIGN = 68;
|
||||||
|
const LEVER = 69;
|
||||||
|
const STONE_PRESSURE_PLATE = 70;
|
||||||
const IRON_DOOR_BLOCK = 71;
|
const IRON_DOOR_BLOCK = 71;
|
||||||
|
const WOODEN_PRESSURE_PLATE = 72;
|
||||||
const REDSTONE_ORE = 73;
|
const REDSTONE_ORE = 73;
|
||||||
const GLOWING_REDSTONE_ORE = 74;
|
const GLOWING_REDSTONE_ORE = 74;
|
||||||
const LIT_REDSTONE_ORE = 74;
|
const LIT_REDSTONE_ORE = 74;
|
||||||
|
const REDSTONE_TORCH = 75;
|
||||||
|
const LIT_REDSTONE_TORCH = 76;
|
||||||
|
const STONE_BUTTON = 77;
|
||||||
const SNOW = 78;
|
const SNOW = 78;
|
||||||
const SNOW_LAYER = 78;
|
const SNOW_LAYER = 78;
|
||||||
const ICE = 79;
|
const ICE = 79;
|
||||||
@ -152,18 +155,17 @@ class Block extends Position implements Metadatable{
|
|||||||
const GLOWSTONE = 89;
|
const GLOWSTONE = 89;
|
||||||
const GLOWSTONE_BLOCK = 89;
|
const GLOWSTONE_BLOCK = 89;
|
||||||
|
|
||||||
|
const PORTAL_BLOCK = 90;
|
||||||
const LIT_PUMPKIN = 91;
|
const LIT_PUMPKIN = 91;
|
||||||
const JACK_O_LANTERN = 91;
|
const JACK_O_LANTERN = 91;
|
||||||
const CAKE_BLOCK = 92;
|
const CAKE_BLOCK = 92;
|
||||||
|
|
||||||
const TRAPDOOR = 96;
|
const TRAPDOOR = 96;
|
||||||
const WOODEN_TRAPDOOR = 96;
|
const MONSTER_EGG_BLOCK = 97;
|
||||||
const WOOD_TRAPDOOR = 96;
|
|
||||||
|
|
||||||
const STONE_BRICKS = 98;
|
const STONE_BRICKS = 98;
|
||||||
const STONE_BRICK = 98;
|
const STONE_BRICK = 98;
|
||||||
|
const BROWN_MUSHROOM_BLOCK = 99;
|
||||||
|
const RED_MUSHROOM_BLOCK = 100;
|
||||||
const IRON_BAR = 101;
|
const IRON_BAR = 101;
|
||||||
const IRON_BARS = 101;
|
const IRON_BARS = 101;
|
||||||
const GLASS_PANE = 102;
|
const GLASS_PANE = 102;
|
||||||
@ -183,17 +185,24 @@ class Block extends Position implements Metadatable{
|
|||||||
const NETHER_BRICK_BLOCK = 112;
|
const NETHER_BRICK_BLOCK = 112;
|
||||||
const NETHER_BRICK_FENCE = 113;
|
const NETHER_BRICK_FENCE = 113;
|
||||||
const NETHER_BRICKS_STAIRS = 114;
|
const NETHER_BRICKS_STAIRS = 114;
|
||||||
|
const NETHER_WART_BLOCK = 115;
|
||||||
const ENCHANTING_TABLE = 116;
|
const ENCHANTING_TABLE = 116;
|
||||||
const ENCHANT_TABLE = 116;
|
const ENCHANT_TABLE = 116;
|
||||||
const ENCHANTMENT_TABLE = 116;
|
const ENCHANTMENT_TABLE = 116;
|
||||||
const BREWING_STAND = 117;
|
const BREWING_STAND = 117;
|
||||||
|
|
||||||
const END_PORTAL_FRAME = 120;
|
const END_PORTAL_FRAME = 120;
|
||||||
const END_STONE = 121;
|
const END_STONE = 121;
|
||||||
|
const REDSTONE_LAMP = 122;
|
||||||
|
const LIT_REDSTONE_LAMP = 123;
|
||||||
|
|
||||||
|
const ACTIVATOR_RAIL = 126;
|
||||||
|
const COCOA_BLOCK = 127;
|
||||||
const SANDSTONE_STAIRS = 128;
|
const SANDSTONE_STAIRS = 128;
|
||||||
const EMERALD_ORE = 129;
|
const EMERALD_ORE = 129;
|
||||||
|
|
||||||
|
const TRIPWIRE_HOOK = 131;
|
||||||
|
const TRIPWIRE = 132;
|
||||||
const EMERALD_BLOCK = 133;
|
const EMERALD_BLOCK = 133;
|
||||||
const SPRUCE_WOOD_STAIRS = 134;
|
const SPRUCE_WOOD_STAIRS = 134;
|
||||||
const SPRUCE_WOODEN_STAIRS = 134;
|
const SPRUCE_WOODEN_STAIRS = 134;
|
||||||
@ -208,11 +217,16 @@ class Block extends Position implements Metadatable{
|
|||||||
const FLOWER_POT_BLOCK = 140;
|
const FLOWER_POT_BLOCK = 140;
|
||||||
const CARROT_BLOCK = 141;
|
const CARROT_BLOCK = 141;
|
||||||
const POTATO_BLOCK = 142;
|
const POTATO_BLOCK = 142;
|
||||||
|
const WOODEN_BUTTON = 143;
|
||||||
|
const MOB_HEAD_BLOCK = 144;
|
||||||
const ANVIL = 145;
|
const ANVIL = 145;
|
||||||
const TRAPPED_CHEST = 146;
|
const TRAPPED_CHEST = 146;
|
||||||
|
const WEIGHTED_PRESSURE_PLATE_LIGHT = 147;
|
||||||
|
const WEIGHTED_PRESSURE_PLATE_HEAVY = 148;
|
||||||
|
|
||||||
|
const DAYLIGHT_SENSOR = 151;
|
||||||
const REDSTONE_BLOCK = 152;
|
const REDSTONE_BLOCK = 152;
|
||||||
|
const NETHER_QUARTZ_ORE = 153;
|
||||||
|
|
||||||
const QUARTZ_BLOCK = 155;
|
const QUARTZ_BLOCK = 155;
|
||||||
const QUARTZ_STAIRS = 156;
|
const QUARTZ_STAIRS = 156;
|
||||||
@ -238,6 +252,7 @@ class Block extends Position implements Metadatable{
|
|||||||
const DARK_OAK_WOODEN_STAIRS = 164;
|
const DARK_OAK_WOODEN_STAIRS = 164;
|
||||||
|
|
||||||
const IRON_TRAPDOOR = 167;
|
const IRON_TRAPDOOR = 167;
|
||||||
|
|
||||||
const HAY_BALE = 170;
|
const HAY_BALE = 170;
|
||||||
const CARPET = 171;
|
const CARPET = 171;
|
||||||
const HARDENED_CLAY = 172;
|
const HARDENED_CLAY = 172;
|
||||||
@ -245,6 +260,8 @@ class Block extends Position implements Metadatable{
|
|||||||
const PACKED_ICE = 174;
|
const PACKED_ICE = 174;
|
||||||
const DOUBLE_PLANT = 175;
|
const DOUBLE_PLANT = 175;
|
||||||
|
|
||||||
|
const INVERTED_DAYLIGHT_SENSOR = 178;
|
||||||
|
|
||||||
const FENCE_GATE_SPRUCE = 183;
|
const FENCE_GATE_SPRUCE = 183;
|
||||||
const FENCE_GATE_BIRCH = 184;
|
const FENCE_GATE_BIRCH = 184;
|
||||||
const FENCE_GATE_JUNGLE = 185;
|
const FENCE_GATE_JUNGLE = 185;
|
||||||
@ -312,8 +329,13 @@ class Block extends Position implements Metadatable{
|
|||||||
self::$list[self::GLASS] = Glass::class;
|
self::$list[self::GLASS] = Glass::class;
|
||||||
self::$list[self::LAPIS_ORE] = LapisOre::class;
|
self::$list[self::LAPIS_ORE] = LapisOre::class;
|
||||||
self::$list[self::LAPIS_BLOCK] = Lapis::class;
|
self::$list[self::LAPIS_BLOCK] = Lapis::class;
|
||||||
|
self::$list[self::ACTIVATOR_RAIL] = ActivatorRail::class;
|
||||||
|
self::$list[self::COCOA_BLOCK] = CocoaBlock::class;
|
||||||
self::$list[self::SANDSTONE] = Sandstone::class;
|
self::$list[self::SANDSTONE] = Sandstone::class;
|
||||||
|
self::$list[self::NOTE_BLOCK] = NoteBlock::class;
|
||||||
self::$list[self::BED_BLOCK] = Bed::class;
|
self::$list[self::BED_BLOCK] = Bed::class;
|
||||||
|
self::$list[self::POWERED_RAIL] = PoweredRail::class;
|
||||||
|
self::$list[self::DETECTOR_RAIL] = DetectorRail::class;
|
||||||
self::$list[self::COBWEB] = Cobweb::class;
|
self::$list[self::COBWEB] = Cobweb::class;
|
||||||
self::$list[self::TALL_GRASS] = TallGrass::class;
|
self::$list[self::TALL_GRASS] = TallGrass::class;
|
||||||
self::$list[self::DEAD_BUSH] = DeadBush::class;
|
self::$list[self::DEAD_BUSH] = DeadBush::class;
|
||||||
@ -347,14 +369,20 @@ class Block extends Position implements Metadatable{
|
|||||||
self::$list[self::SIGN_POST] = SignPost::class;
|
self::$list[self::SIGN_POST] = SignPost::class;
|
||||||
self::$list[self::WOOD_DOOR_BLOCK] = WoodDoor::class;
|
self::$list[self::WOOD_DOOR_BLOCK] = WoodDoor::class;
|
||||||
self::$list[self::LADDER] = Ladder::class;
|
self::$list[self::LADDER] = Ladder::class;
|
||||||
|
self::$list[self::RAIL] = Rail::class;
|
||||||
|
|
||||||
self::$list[self::COBBLESTONE_STAIRS] = CobblestoneStairs::class;
|
self::$list[self::COBBLESTONE_STAIRS] = CobblestoneStairs::class;
|
||||||
self::$list[self::WALL_SIGN] = WallSign::class;
|
self::$list[self::WALL_SIGN] = WallSign::class;
|
||||||
|
self::$list[self::LEVER] = Lever::class;
|
||||||
|
self::$list[self::STONE_PRESSURE_PLATE] = StonePressurePlate::class;
|
||||||
self::$list[self::IRON_DOOR_BLOCK] = IronDoor::class;
|
self::$list[self::IRON_DOOR_BLOCK] = IronDoor::class;
|
||||||
|
self::$list[self::WOODEN_PRESSURE_PLATE] = WoodenPressurePlate::class;
|
||||||
self::$list[self::REDSTONE_ORE] = RedstoneOre::class;
|
self::$list[self::REDSTONE_ORE] = RedstoneOre::class;
|
||||||
self::$list[self::GLOWING_REDSTONE_ORE] = GlowingRedstoneOre::class;
|
self::$list[self::GLOWING_REDSTONE_ORE] = GlowingRedstoneOre::class;
|
||||||
|
|
||||||
|
self::$list[self::REDSTONE_TORCH] = RedstoneTorch::class;
|
||||||
|
self::$list[self::LIT_REDSTONE_TORCH] = LitRedstoneTorch::class;
|
||||||
|
self::$list[self::STONE_BUTTON] = StoneButton::class;
|
||||||
self::$list[self::SNOW_LAYER] = SnowLayer::class;
|
self::$list[self::SNOW_LAYER] = SnowLayer::class;
|
||||||
self::$list[self::ICE] = Ice::class;
|
self::$list[self::ICE] = Ice::class;
|
||||||
self::$list[self::SNOW_BLOCK] = Snow::class;
|
self::$list[self::SNOW_BLOCK] = Snow::class;
|
||||||
@ -395,9 +423,12 @@ class Block extends Position implements Metadatable{
|
|||||||
self::$list[self::BREWING_STAND] = BrewingStand::class;
|
self::$list[self::BREWING_STAND] = BrewingStand::class;
|
||||||
self::$list[self::END_PORTAL_FRAME] = EndPortalFrame::class;
|
self::$list[self::END_PORTAL_FRAME] = EndPortalFrame::class;
|
||||||
self::$list[self::END_STONE] = EndStone::class;
|
self::$list[self::END_STONE] = EndStone::class;
|
||||||
|
self::$list[self::REDSTONE_LAMP] = RedstoneLamp::class;
|
||||||
|
self::$list[self::LIT_REDSTONE_LAMP] = LitRedstoneLamp::class;
|
||||||
self::$list[self::SANDSTONE_STAIRS] = SandstoneStairs::class;
|
self::$list[self::SANDSTONE_STAIRS] = SandstoneStairs::class;
|
||||||
self::$list[self::EMERALD_ORE] = EmeraldOre::class;
|
self::$list[self::EMERALD_ORE] = EmeraldOre::class;
|
||||||
|
self::$list[self::TRIPWIRE_HOOK] = TripwireHook::class;
|
||||||
|
self::$list[self::TRIPWIRE] = Tripwire::class;
|
||||||
self::$list[self::EMERALD_BLOCK] = Emerald::class;
|
self::$list[self::EMERALD_BLOCK] = Emerald::class;
|
||||||
self::$list[self::SPRUCE_WOOD_STAIRS] = SpruceWoodStairs::class;
|
self::$list[self::SPRUCE_WOOD_STAIRS] = SpruceWoodStairs::class;
|
||||||
self::$list[self::BIRCH_WOOD_STAIRS] = BirchWoodStairs::class;
|
self::$list[self::BIRCH_WOOD_STAIRS] = BirchWoodStairs::class;
|
||||||
@ -406,8 +437,13 @@ class Block extends Position implements Metadatable{
|
|||||||
self::$list[self::FLOWER_POT_BLOCK] = FlowerPot::class;
|
self::$list[self::FLOWER_POT_BLOCK] = FlowerPot::class;
|
||||||
self::$list[self::CARROT_BLOCK] = Carrot::class;
|
self::$list[self::CARROT_BLOCK] = Carrot::class;
|
||||||
self::$list[self::POTATO_BLOCK] = Potato::class;
|
self::$list[self::POTATO_BLOCK] = Potato::class;
|
||||||
|
self::$list[self::WOODEN_BUTTON] = WoodenButton::class;
|
||||||
self::$list[self::ANVIL] = Anvil::class;
|
self::$list[self::ANVIL] = Anvil::class;
|
||||||
self::$list[self::TRAPPED_CHEST] = TrappedChest::class;
|
self::$list[self::TRAPPED_CHEST] = TrappedChest::class;
|
||||||
|
self::$list[self::WEIGHTED_PRESSURE_PLATE_LIGHT] = WeightedPressurePlateLight::class;
|
||||||
|
self::$list[self::WEIGHTED_PRESSURE_PLATE_HEAVY] = WeightedPressurePlateHeavy::class;
|
||||||
|
|
||||||
|
self::$list[self::DAYLIGHT_SENSOR] = DaylightSensor::class;
|
||||||
self::$list[self::REDSTONE_BLOCK] = Redstone::class;
|
self::$list[self::REDSTONE_BLOCK] = Redstone::class;
|
||||||
|
|
||||||
self::$list[self::QUARTZ_BLOCK] = Quartz::class;
|
self::$list[self::QUARTZ_BLOCK] = Quartz::class;
|
||||||
|
35
src/pocketmine/block/CocoaBlock.php
Normal file
35
src/pocketmine/block/CocoaBlock.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class CocoaBlock extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::COCOA_BLOCK;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Cocoa Block";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/DaylightSensor.php
Normal file
35
src/pocketmine/block/DaylightSensor.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class DaylightSensor extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::DAYLIGHT_SENSOR;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Daylight Sensor";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/DetectorRail.php
Normal file
35
src/pocketmine/block/DetectorRail.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class DetectorRail extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::DETECTOR_RAIL;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Detector Rail";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/Lever.php
Normal file
35
src/pocketmine/block/Lever.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class Lever extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::LEVER;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Lever";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/LitRedstoneLamp.php
Normal file
35
src/pocketmine/block/LitRedstoneLamp.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class LitRedstoneLamp extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::LIT_REDSTONE_LAMP;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Lit Redstone Lamp";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/LitRedstoneTorch.php
Normal file
35
src/pocketmine/block/LitRedstoneTorch.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class LitRedstoneTorch extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::REDSTONE_TORCH;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Lit Redstone Torch";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/NoteBlock.php
Normal file
35
src/pocketmine/block/NoteBlock.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class NoteBlock extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::NOTE_BLOCK;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Note Block";
|
||||||
|
}
|
||||||
|
}
|
@ -53,11 +53,11 @@ class Planks extends Solid{
|
|||||||
self::BIRCH => "Birch Wood Planks",
|
self::BIRCH => "Birch Wood Planks",
|
||||||
self::JUNGLE => "Jungle Wood Planks",
|
self::JUNGLE => "Jungle Wood Planks",
|
||||||
self::ACACIA => "Acacia Wood Planks",
|
self::ACACIA => "Acacia Wood Planks",
|
||||||
self::DARK_OAK => "Jungle Wood Planks",
|
self::DARK_OAK => "Dark Oak Wood Planks",
|
||||||
"",
|
"",
|
||||||
""
|
""
|
||||||
];
|
];
|
||||||
return $names[$this->meta & 0x07];
|
return $names[$this->meta & 0x07];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
34
src/pocketmine/block/PoweredRail.php
Normal file
34
src/pocketmine/block/PoweredRail.php
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class PoweredRail extends Solid {
|
||||||
|
protected $id = self::POWERED_RAIL;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Powered Rail";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/Rail.php
Normal file
35
src/pocketmine/block/Rail.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class Rail extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::RAIL;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Rail";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/RedstoneLamp.php
Normal file
35
src/pocketmine/block/RedstoneLamp.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class RedstoneLamp extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::REDSTONE_LAMP;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Redstone Lamp";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/RedstoneTorch.php
Normal file
35
src/pocketmine/block/RedstoneTorch.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class RedstoneTorch extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::REDSTONE_TORCH;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Redstone Torch";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/StoneButton.php
Normal file
35
src/pocketmine/block/StoneButton.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class StoneButton extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::STONE_BUTTON;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Stone Button";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/StonePressurePlate.php
Normal file
35
src/pocketmine/block/StonePressurePlate.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class StonePressurePlate extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::STONE_PRESSURE_PLATE;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Stone Pressure Plate";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/Tripwire.php
Normal file
35
src/pocketmine/block/Tripwire.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class Tripwire extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::TRIPWIRE;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Tripwire";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/TripwireHook.php
Normal file
35
src/pocketmine/block/TripwireHook.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class TripwireHook extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::TRIPWIRE_HOOK;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Tripwire Hook";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/WeightedPressurePlateHeavy.php
Normal file
35
src/pocketmine/block/WeightedPressurePlateHeavy.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class WeightedPressurePlateHeavy extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::WEIGHTED_PRESSURE_PLATE_HEAVY;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Weighted Pressure Plate Heavy";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/WeightedPressurePlateLight.php
Normal file
35
src/pocketmine/block/WeightedPressurePlateLight.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class WeightedPressurePlateLight extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::WEIGHTED_PRESSURE_PLATE_LIGHT;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Weighted Pressure Plate Light";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/WoodenButton.php
Normal file
35
src/pocketmine/block/WoodenButton.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class WoodenButton extends Solid {
|
||||||
|
|
||||||
|
protected $id = self::WOODEN_BUTTON;
|
||||||
|
|
||||||
|
public function __construct($meta = 0){
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Wooden Button";
|
||||||
|
}
|
||||||
|
}
|
35
src/pocketmine/block/WoodenPressurePlate.php
Normal file
35
src/pocketmine/block/WoodenPressurePlate.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\block;
|
||||||
|
|
||||||
|
class WoodenPressurePlate extends Solid{
|
||||||
|
|
||||||
|
protected $id = self::WOODEN_PRESSURE_PLATE;
|
||||||
|
|
||||||
|
public function __construct($meta = 0) {
|
||||||
|
$this->meta = $meta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName(){
|
||||||
|
return "Wooden Pressure Plate";
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/BlazePowder.php
Normal file
28
src/pocketmine/item/BlazePowder.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class BlazePowder extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::BLAZE_POWDER, $meta, $count, "Blaze Powder");
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/Boat.php
Normal file
28
src/pocketmine/item/Boat.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class Boat extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::BOAT, $meta, $count, "Boat");
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/BrewingStand.php
Normal file
28
src/pocketmine/item/BrewingStand.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class BrewingStand extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::BREWING_STAND, $meta, $count, "Brewing Stand");
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/CookedRabbit.php
Normal file
28
src/pocketmine/item/CookedRabbit.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class CookedRabbit extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::COOKED_RABBIT, $meta, $count, "Cooked Rabbit");
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/FermentedSpiderEye.php
Normal file
28
src/pocketmine/item/FermentedSpiderEye.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class FermentedSpiderEye extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::FERMENTED_SPIDER_EYE, $meta, $count, "Fermented Spider Eye");
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/GlassBottle.php
Normal file
28
src/pocketmine/item/GlassBottle.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class GlassBottle extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::GLASS_BOTTLE, $meta, $count, "Glass Bottle");
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/GlisteringMelon.php
Normal file
28
src/pocketmine/item/GlisteringMelon.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class GlisteringMelon extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::GLISTERING_MELON, $meta, $count, "Glistering Melon");
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/GoldenCarrot.php
Normal file
28
src/pocketmine/item/GoldenCarrot.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class GoldenCarrot extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::GOLDEN_CARROT, $meta, $count, "Golden Carrot");
|
||||||
|
}
|
||||||
|
}
|
@ -98,10 +98,10 @@ class Item{
|
|||||||
const LAPIS_BLOCK = 22;
|
const LAPIS_BLOCK = 22;
|
||||||
|
|
||||||
const SANDSTONE = 24;
|
const SANDSTONE = 24;
|
||||||
|
const NOTEBLOCK = 25;
|
||||||
const BED_BLOCK = 26;
|
const BED_BLOCK = 26;
|
||||||
|
const POWERED_RAIL = 27;
|
||||||
|
const DETECTOR_RAIL = 28;
|
||||||
const COBWEB = 30;
|
const COBWEB = 30;
|
||||||
const TALL_GRASS = 31;
|
const TALL_GRASS = 31;
|
||||||
const BUSH = 32;
|
const BUSH = 32;
|
||||||
@ -134,7 +134,7 @@ class Item{
|
|||||||
const OAK_WOOD_STAIRS = 53;
|
const OAK_WOOD_STAIRS = 53;
|
||||||
const OAK_WOODEN_STAIRS = 53;
|
const OAK_WOODEN_STAIRS = 53;
|
||||||
const CHEST = 54;
|
const CHEST = 54;
|
||||||
|
const REDSTONE_WIRE = 55;
|
||||||
const DIAMOND_ORE = 56;
|
const DIAMOND_ORE = 56;
|
||||||
const DIAMOND_BLOCK = 57;
|
const DIAMOND_BLOCK = 57;
|
||||||
const CRAFTING_TABLE = 58;
|
const CRAFTING_TABLE = 58;
|
||||||
@ -149,17 +149,20 @@ class Item{
|
|||||||
const WOODEN_DOOR_BLOCK = 64;
|
const WOODEN_DOOR_BLOCK = 64;
|
||||||
const WOOD_DOOR_BLOCK = 64;
|
const WOOD_DOOR_BLOCK = 64;
|
||||||
const LADDER = 65;
|
const LADDER = 65;
|
||||||
|
const RAIL = 66;
|
||||||
const COBBLE_STAIRS = 67;
|
const COBBLE_STAIRS = 67;
|
||||||
const COBBLESTONE_STAIRS = 67;
|
const COBBLESTONE_STAIRS = 67;
|
||||||
const WALL_SIGN = 68;
|
const WALL_SIGN = 68;
|
||||||
|
const LEVER = 69;
|
||||||
|
const STONE_PRESSURE_PLATE = 70;
|
||||||
const IRON_DOOR_BLOCK = 71;
|
const IRON_DOOR_BLOCK = 71;
|
||||||
|
const WOODEN_PRESSURE_PLATE = 72;
|
||||||
const REDSTONE_ORE = 73;
|
const REDSTONE_ORE = 73;
|
||||||
const GLOWING_REDSTONE_ORE = 74;
|
const GLOWING_REDSTONE_ORE = 74;
|
||||||
const LIT_REDSTONE_ORE = 74;
|
const LIT_REDSTONE_ORE = 74;
|
||||||
|
const REDSTONE_TORCH = 75;
|
||||||
|
const LIT_REDSTONE_TORCH = 76;
|
||||||
|
const STONE_BUTTON = 77;
|
||||||
const SNOW = 78;
|
const SNOW = 78;
|
||||||
const SNOW_LAYER = 78;
|
const SNOW_LAYER = 78;
|
||||||
const ICE = 79;
|
const ICE = 79;
|
||||||
@ -176,16 +179,17 @@ class Item{
|
|||||||
const GLOWSTONE = 89;
|
const GLOWSTONE = 89;
|
||||||
const GLOWSTONE_BLOCK = 89;
|
const GLOWSTONE_BLOCK = 89;
|
||||||
|
|
||||||
|
const PORTAL_BLOCK = 90;
|
||||||
const LIT_PUMPKIN = 91;
|
const LIT_PUMPKIN = 91;
|
||||||
const JACK_O_LANTERN = 91;
|
const JACK_O_LANTERN = 91;
|
||||||
const CAKE_BLOCK = 92;
|
const CAKE_BLOCK = 92;
|
||||||
|
|
||||||
const TRAPDOOR = 96;
|
const TRAPDOOR = 96;
|
||||||
|
const MONSTER_EGG_BLOCK = 97;
|
||||||
const STONE_BRICKS = 98;
|
const STONE_BRICKS = 98;
|
||||||
const STONE_BRICK = 98;
|
const STONE_BRICK = 98;
|
||||||
|
const BROWN_MUSHROOM_BLOCK = 99;
|
||||||
|
const RED_MUSHROOM_BLOCK = 100;
|
||||||
const IRON_BAR = 101;
|
const IRON_BAR = 101;
|
||||||
const IRON_BARS = 101;
|
const IRON_BARS = 101;
|
||||||
const GLASS_PANE = 102;
|
const GLASS_PANE = 102;
|
||||||
@ -205,17 +209,24 @@ class Item{
|
|||||||
const NETHER_BRICK_BLOCK = 112;
|
const NETHER_BRICK_BLOCK = 112;
|
||||||
const NETHER_BRICK_FENCE = 113;
|
const NETHER_BRICK_FENCE = 113;
|
||||||
const NETHER_BRICKS_STAIRS = 114;
|
const NETHER_BRICKS_STAIRS = 114;
|
||||||
|
const NETHER_WART_BLOCK = 115;
|
||||||
const ENCHANTING_TABLE = 116;
|
const ENCHANTING_TABLE = 116;
|
||||||
const ENCHANT_TABLE = 116;
|
const ENCHANT_TABLE = 116;
|
||||||
const ENCHANTMENT_TABLE = 116;
|
const ENCHANTMENT_TABLE = 116;
|
||||||
const BREWING_STAND = 117;
|
const BREWING_STAND_BLOCK = 117;
|
||||||
|
|
||||||
const END_PORTAL = 120;
|
const END_PORTAL = 120;
|
||||||
const END_STONE = 121;
|
const END_STONE = 121;
|
||||||
|
const REDSTONE_LAMP = 122;
|
||||||
|
const LIT_REDSTONE_LAMP = 123;
|
||||||
|
|
||||||
|
const ACTIVATOR_RAIL = 126;
|
||||||
|
const COCOA_BLOCK = 127;
|
||||||
const SANDSTONE_STAIRS = 128;
|
const SANDSTONE_STAIRS = 128;
|
||||||
const EMERALD_ORE = 129;
|
const EMERALD_ORE = 129;
|
||||||
|
|
||||||
|
const TRIPWIRE_HOOK = 131;
|
||||||
|
const TRIPWIRE = 132;
|
||||||
const EMERALD_BLOCK = 133;
|
const EMERALD_BLOCK = 133;
|
||||||
const SPRUCE_WOOD_STAIRS = 134;
|
const SPRUCE_WOOD_STAIRS = 134;
|
||||||
const SPRUCE_WOODEN_STAIRS = 134;
|
const SPRUCE_WOODEN_STAIRS = 134;
|
||||||
@ -230,11 +241,16 @@ class Item{
|
|||||||
const FLOWER_POT_BLOCK = 140;
|
const FLOWER_POT_BLOCK = 140;
|
||||||
const CARROT_BLOCK = 141;
|
const CARROT_BLOCK = 141;
|
||||||
const POTATO_BLOCK = 142;
|
const POTATO_BLOCK = 142;
|
||||||
|
const WOODEN_BUTTON = 143;
|
||||||
|
const MOB_HEAD_BLOCK = 144;
|
||||||
const ANVIL = 145;
|
const ANVIL = 145;
|
||||||
const TRAPPED_CHEST = 146;
|
const TRAPPED_CHEST = 146;
|
||||||
|
const WEIGHTED_PRESSURE_PLATE_LIGHT = 147;
|
||||||
|
const WEIGHTED_PRESSURE_PLATE_HEAVY = 148;
|
||||||
|
|
||||||
|
const DAYLIGHT_SENSOR = 151;
|
||||||
const REDSTONE_BLOCK = 152;
|
const REDSTONE_BLOCK = 152;
|
||||||
|
const NETHER_QUARTZ_ORE = 153;
|
||||||
|
|
||||||
const QUARTZ_BLOCK = 155;
|
const QUARTZ_BLOCK = 155;
|
||||||
const QUARTZ_STAIRS = 156;
|
const QUARTZ_STAIRS = 156;
|
||||||
@ -260,6 +276,7 @@ class Item{
|
|||||||
const DARK_OAK_WOODEN_STAIRS = 164;
|
const DARK_OAK_WOODEN_STAIRS = 164;
|
||||||
|
|
||||||
const IRON_TRAPDOOR = 167;
|
const IRON_TRAPDOOR = 167;
|
||||||
|
|
||||||
const HAY_BALE = 170;
|
const HAY_BALE = 170;
|
||||||
const CARPET = 171;
|
const CARPET = 171;
|
||||||
const HARDENED_CLAY = 172;
|
const HARDENED_CLAY = 172;
|
||||||
@ -267,6 +284,8 @@ class Item{
|
|||||||
const PACKED_ICE = 174;
|
const PACKED_ICE = 174;
|
||||||
const DOUBLE_PLANT = 175;
|
const DOUBLE_PLANT = 175;
|
||||||
|
|
||||||
|
const INVERTED_DAYLIGHT_SENSOR = 178;
|
||||||
|
|
||||||
const FENCE_GATE_SPRUCE = 183;
|
const FENCE_GATE_SPRUCE = 183;
|
||||||
const FENCE_GATE_BIRCH = 184;
|
const FENCE_GATE_BIRCH = 184;
|
||||||
const FENCE_GATE_JUNGLE = 185;
|
const FENCE_GATE_JUNGLE = 185;
|
||||||
@ -282,24 +301,23 @@ class Item{
|
|||||||
|
|
||||||
|
|
||||||
//Normal Item IDs
|
//Normal Item IDs
|
||||||
|
const IRON_SHOVEL = 256;
|
||||||
const IRON_SHOVEL = 256; //
|
const IRON_PICKAXE = 257;
|
||||||
const IRON_PICKAXE = 257; //
|
const IRON_AXE = 258;
|
||||||
const IRON_AXE = 258; //
|
const FLINT_STEEL = 259;
|
||||||
const FLINT_STEEL = 259; //
|
const FLINT_AND_STEEL = 259;
|
||||||
const FLINT_AND_STEEL = 259; //
|
const APPLE = 260;
|
||||||
const APPLE = 260; //
|
|
||||||
const BOW = 261;
|
const BOW = 261;
|
||||||
const ARROW = 262;
|
const ARROW = 262;
|
||||||
const COAL = 263; //
|
const COAL = 263;
|
||||||
const DIAMOND = 264; //
|
const DIAMOND = 264;
|
||||||
const IRON_INGOT = 265; //
|
const IRON_INGOT = 265;
|
||||||
const GOLD_INGOT = 266; //
|
const GOLD_INGOT = 266;
|
||||||
const IRON_SWORD = 267;
|
const IRON_SWORD = 267;
|
||||||
const WOODEN_SWORD = 268; //
|
const WOODEN_SWORD = 268;
|
||||||
const WOODEN_SHOVEL = 269; //
|
const WOODEN_SHOVEL = 269;
|
||||||
const WOODEN_PICKAXE = 270; //
|
const WOODEN_PICKAXE = 270;
|
||||||
const WOODEN_AXE = 271; //
|
const WOODEN_AXE = 271;
|
||||||
const STONE_SWORD = 272;
|
const STONE_SWORD = 272;
|
||||||
const STONE_SHOVEL = 273;
|
const STONE_SHOVEL = 273;
|
||||||
const STONE_PICKAXE = 274;
|
const STONE_PICKAXE = 274;
|
||||||
@ -308,9 +326,9 @@ class Item{
|
|||||||
const DIAMOND_SHOVEL = 277;
|
const DIAMOND_SHOVEL = 277;
|
||||||
const DIAMOND_PICKAXE = 278;
|
const DIAMOND_PICKAXE = 278;
|
||||||
const DIAMOND_AXE = 279;
|
const DIAMOND_AXE = 279;
|
||||||
const STICK = 280; //
|
const STICK = 280;
|
||||||
const STICKS = 280;
|
const STICKS = 280;
|
||||||
const BOWL = 281; //
|
const BOWL = 281;
|
||||||
const MUSHROOM_STEW = 282;
|
const MUSHROOM_STEW = 282;
|
||||||
const GOLD_SWORD = 283;
|
const GOLD_SWORD = 283;
|
||||||
const GOLD_SHOVEL = 284;
|
const GOLD_SHOVEL = 284;
|
||||||
@ -321,11 +339,11 @@ class Item{
|
|||||||
const GOLDEN_PICKAXE = 285;
|
const GOLDEN_PICKAXE = 285;
|
||||||
const GOLDEN_AXE = 286;
|
const GOLDEN_AXE = 286;
|
||||||
const STRING = 287;
|
const STRING = 287;
|
||||||
const FEATHER = 288; //
|
const FEATHER = 288;
|
||||||
const GUNPOWDER = 289;
|
const GUNPOWDER = 289;
|
||||||
const WOODEN_HOE = 290;
|
const WOODEN_HOE = 290;
|
||||||
const STONE_HOE = 291;
|
const STONE_HOE = 291;
|
||||||
const IRON_HOE = 292; //
|
const IRON_HOE = 292;
|
||||||
const DIAMOND_HOE = 293;
|
const DIAMOND_HOE = 293;
|
||||||
const GOLD_HOE = 294;
|
const GOLD_HOE = 294;
|
||||||
const GOLDEN_HOE = 294;
|
const GOLDEN_HOE = 294;
|
||||||
@ -363,12 +381,12 @@ class Item{
|
|||||||
const BUCKET = 325;
|
const BUCKET = 325;
|
||||||
|
|
||||||
const MINECART = 328;
|
const MINECART = 328;
|
||||||
|
const SADDLE = 329;
|
||||||
const IRON_DOOR = 330;
|
const IRON_DOOR = 330;
|
||||||
const REDSTONE = 331;
|
const REDSTONE = 331;
|
||||||
const REDSTONE_DUST = 331;
|
const REDSTONE_DUST = 331;
|
||||||
const SNOWBALL = 332;
|
const SNOWBALL = 332;
|
||||||
|
const BOAT = 333;
|
||||||
const LEATHER = 334;
|
const LEATHER = 334;
|
||||||
|
|
||||||
const BRICK = 336;
|
const BRICK = 336;
|
||||||
@ -396,7 +414,6 @@ class Item{
|
|||||||
|
|
||||||
const COOKIE = 357;
|
const COOKIE = 357;
|
||||||
|
|
||||||
|
|
||||||
const SHEARS = 359;
|
const SHEARS = 359;
|
||||||
const MELON = 360;
|
const MELON = 360;
|
||||||
const MELON_SLICE = 360;
|
const MELON_SLICE = 360;
|
||||||
@ -405,14 +422,25 @@ class Item{
|
|||||||
const RAW_BEEF = 363;
|
const RAW_BEEF = 363;
|
||||||
const STEAK = 364;
|
const STEAK = 364;
|
||||||
const COOKED_BEEF = 364;
|
const COOKED_BEEF = 364;
|
||||||
|
|
||||||
const RAW_CHICKEN = 365;
|
const RAW_CHICKEN = 365;
|
||||||
const COOKED_CHICKEN = 366;
|
const COOKED_CHICKEN = 366;
|
||||||
|
const ROTTEN_FLESH = 367;
|
||||||
|
|
||||||
|
const BLAZE_ROD = 369;
|
||||||
|
const GHAST_TEAR = 370;
|
||||||
const GOLD_NUGGET = 371;
|
const GOLD_NUGGET = 371;
|
||||||
const GOLDEN_NUGGET = 371;
|
const GOLDEN_NUGGET = 371;
|
||||||
|
const NETHER_WART = 372;
|
||||||
|
const POTION = 373;
|
||||||
|
const GLASS_BOTTLE = 374;
|
||||||
|
const SPIDER_EYE = 375;
|
||||||
|
const FERMENTED_SPIDER_EYE = 376;
|
||||||
|
const BLAZE_POWDER = 377;
|
||||||
|
const MAGMA_CREAM = 378;
|
||||||
|
const BREWING_STAND = 379;
|
||||||
|
const GLISTERING_MELON = 382;
|
||||||
const SPAWN_EGG = 383;
|
const SPAWN_EGG = 383;
|
||||||
|
const BOTTLE_O_ENCHANTING = 384;
|
||||||
|
|
||||||
const EMERALD = 388;
|
const EMERALD = 388;
|
||||||
|
|
||||||
@ -423,13 +451,24 @@ class Item{
|
|||||||
const POTATOES = 392;
|
const POTATOES = 392;
|
||||||
const BAKED_POTATO = 393;
|
const BAKED_POTATO = 393;
|
||||||
const BAKED_POTATOES = 393;
|
const BAKED_POTATOES = 393;
|
||||||
|
const POISONOUS_POTATO = 394;
|
||||||
|
const GOLDEN_CARROT = 396;
|
||||||
|
const MOB_HEAD = 397;
|
||||||
const PUMPKIN_PIE = 400;
|
const PUMPKIN_PIE = 400;
|
||||||
|
|
||||||
|
const ENCHANTED_BOOK = 403;
|
||||||
|
|
||||||
const NETHER_BRICK = 405;
|
const NETHER_BRICK = 405;
|
||||||
const QUARTZ = 406;
|
const QUARTZ = 406;
|
||||||
const NETHER_QUARTZ = 406;
|
const NETHER_QUARTZ = 406;
|
||||||
|
|
||||||
|
const RAW_RABBIT = 411;
|
||||||
|
const COOKED_RABBIT = 412;
|
||||||
|
const RABBIT_STEW = 413;
|
||||||
|
const RABIT_FOOT = 414;
|
||||||
|
const RABBIT_HIDE = 415;
|
||||||
|
const SPLASH_POTION = 438;
|
||||||
|
|
||||||
const CAMERA = 456;
|
const CAMERA = 456;
|
||||||
const BEETROOT = 457;
|
const BEETROOT = 457;
|
||||||
const BEETROOT_SEEDS = 458;
|
const BEETROOT_SEEDS = 458;
|
||||||
@ -529,6 +568,7 @@ class Item{
|
|||||||
self::$list[self::IRON_DOOR] = IronDoor::class;
|
self::$list[self::IRON_DOOR] = IronDoor::class;
|
||||||
self::$list[self::REDSTONE] = Redstone::class;
|
self::$list[self::REDSTONE] = Redstone::class;
|
||||||
self::$list[self::SNOWBALL] = Snowball::class;
|
self::$list[self::SNOWBALL] = Snowball::class;
|
||||||
|
self::$list[self::BOAT] = Boat::class;
|
||||||
self::$list[self::LEATHER] = Leather::class;
|
self::$list[self::LEATHER] = Leather::class;
|
||||||
self::$list[self::BRICK] = Brick::class;
|
self::$list[self::BRICK] = Brick::class;
|
||||||
self::$list[self::CLAY] = Clay::class;
|
self::$list[self::CLAY] = Clay::class;
|
||||||
@ -538,6 +578,7 @@ class Item{
|
|||||||
self::$list[self::SLIMEBALL] = Slimeball::class;
|
self::$list[self::SLIMEBALL] = Slimeball::class;
|
||||||
self::$list[self::EGG] = Egg::class;
|
self::$list[self::EGG] = Egg::class;
|
||||||
self::$list[self::COMPASS] = Compass::class;
|
self::$list[self::COMPASS] = Compass::class;
|
||||||
|
self::$list[self::FISHING_ROD] = FishingRod::class;
|
||||||
self::$list[self::CLOCK] = Clock::class;
|
self::$list[self::CLOCK] = Clock::class;
|
||||||
self::$list[self::GLOWSTONE_DUST] = GlowstoneDust::class;
|
self::$list[self::GLOWSTONE_DUST] = GlowstoneDust::class;
|
||||||
self::$list[self::RAW_FISH] = Fish::class;
|
self::$list[self::RAW_FISH] = Fish::class;
|
||||||
@ -557,16 +598,27 @@ class Item{
|
|||||||
self::$list[self::RAW_CHICKEN] = RawChicken::class;
|
self::$list[self::RAW_CHICKEN] = RawChicken::class;
|
||||||
self::$list[self::COOKED_CHICKEN] = CookedChicken::class;
|
self::$list[self::COOKED_CHICKEN] = CookedChicken::class;
|
||||||
self::$list[self::GOLD_NUGGET] = GoldNugget::class;
|
self::$list[self::GOLD_NUGGET] = GoldNugget::class;
|
||||||
|
self::$list[self::NETHER_WART] = NetherWart::class;
|
||||||
|
self::$list[self::POTION] = Potion::class;
|
||||||
|
self::$list[self::GLASS_BOTTLE] = GlassBottle::class;
|
||||||
|
self::$list[self::SPIDER_EYE] = SpiderEye::class;
|
||||||
|
self::$list[self::FERMENTED_SPIDER_EYE] = FermentedSpiderEye::class;
|
||||||
|
self::$list[self::BLAZE_POWDER] = BlazePowder::class;
|
||||||
|
self::$list[self::MAGMA_CREAM] = MagmaCream::class;
|
||||||
|
self::$list[self::BREWING_STAND] = BrewingStand::class;
|
||||||
|
self::$list[self::GLISTERING_MELON] = GlisteringMelon::class;
|
||||||
self::$list[self::SPAWN_EGG] = SpawnEgg::class;
|
self::$list[self::SPAWN_EGG] = SpawnEgg::class;
|
||||||
self::$list[self::EMERALD] = Emerald::class;
|
self::$list[self::EMERALD] = Emerald::class;
|
||||||
self::$list[self::FLOWER_POT] = FlowerPot::class;
|
self::$list[self::FLOWER_POT] = FlowerPot::class;
|
||||||
self::$list[self::CARROT] = Carrot::class;
|
self::$list[self::CARROT] = Carrot::class;
|
||||||
self::$list[self::POTATO] = Potato::class;
|
self::$list[self::POTATO] = Potato::class;
|
||||||
self::$list[self::BAKED_POTATO] = BakedPotato::class;
|
self::$list[self::BAKED_POTATO] = BakedPotato::class;
|
||||||
|
self::$list[self::GOLDEN_CARROT] = GoldenCarrot::class;
|
||||||
self::$list[self::PUMPKIN_PIE] = PumpkinPie::class;
|
self::$list[self::PUMPKIN_PIE] = PumpkinPie::class;
|
||||||
self::$list[self::NETHER_BRICK] = NetherBrick::class;
|
self::$list[self::NETHER_BRICK] = NetherBrick::class;
|
||||||
self::$list[self::QUARTZ] = Quartz::class;
|
self::$list[self::QUARTZ] = Quartz::class;
|
||||||
self::$list[self::QUARTZ] = NetherQuartz::class;
|
self::$list[self::QUARTZ] = NetherQuartz::class;
|
||||||
|
self::$list[self::COOKED_RABBIT] = CookedRabbit::class;
|
||||||
// self::$list[self::CAMERA] = Camera::class;
|
// self::$list[self::CAMERA] = Camera::class;
|
||||||
self::$list[self::BEETROOT] = Beetroot::class;
|
self::$list[self::BEETROOT] = Beetroot::class;
|
||||||
self::$list[self::BEETROOT_SEEDS] = BeetrootSeeds::class;
|
self::$list[self::BEETROOT_SEEDS] = BeetrootSeeds::class;
|
||||||
|
28
src/pocketmine/item/MagmaCream.php
Normal file
28
src/pocketmine/item/MagmaCream.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class MagmaCream extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::MAGMA_CREAM, $meta, $count, "Magma Cream");
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/NetherWart.php
Normal file
28
src/pocketmine/item/NetherWart.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class NetherWart extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::NETHER_WART, $meta, $count, "Nether Wart");
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/Potion.php
Normal file
28
src/pocketmine/item/Potion.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class Potion extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::POTION, $meta, $count, "Potion");
|
||||||
|
}
|
||||||
|
}
|
28
src/pocketmine/item/SpiderEye.php
Normal file
28
src/pocketmine/item/SpiderEye.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace pocketmine\item;
|
||||||
|
|
||||||
|
class SpiderEye extends Item {
|
||||||
|
public function __construct($meta = 0, $count =1){
|
||||||
|
parent::__construct(self::SPIDER_EYE, $meta, $count, "Spider Eye");
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user