mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-19 04:05:31 +00:00
187 lines
4.3 KiB
PHP
187 lines
4.3 KiB
PHP
<?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/
|
|
*
|
|
*
|
|
*/
|
|
|
|
define("AIR", 0);
|
|
define("STONE", 1);
|
|
define("GRASS", 2);
|
|
define("DIRT", 3);
|
|
define("COBBLESTONE", 4);
|
|
define("COBBLE", 4);
|
|
define("PLANK", 5);
|
|
define("PLANKS", 5);
|
|
define("WOODEN_PLANK", 5);
|
|
define("WOODEN_PLANKS", 5);
|
|
define("SAPLING", 6);
|
|
define("SAPLINGS", 6);
|
|
define("BEDROCK", 7);
|
|
define("WATER", 8);
|
|
define("STILL_WATER", 9);
|
|
define("LAVA", 10);
|
|
define("STILL_LAVA", 11);
|
|
define("SAND", 12);
|
|
define("GRAVEL", 13);
|
|
define("GOLD_ORE", 14);
|
|
define("IRON_ORE", 15);
|
|
define("COAL_ORE", 16);
|
|
define("WOOD", 17);
|
|
define("TRUNK", 17);
|
|
define("LEAVES", 18);
|
|
define("LEAVE", 18);
|
|
define("SPONGE", 19);
|
|
define("GLASS", 20);
|
|
define("LAPIS_ORE", 21);
|
|
define("LAPIS_BLOCK", 22);
|
|
|
|
define("SANDSTONE", 24);
|
|
|
|
define("BED_BLOCK", 26);
|
|
|
|
|
|
define("COBWEB", 30);
|
|
define("TALL_GRASS", 31);
|
|
define("BUSH", 32);
|
|
define("DEAD_BUSH", 32);
|
|
define("WOOL", 35);
|
|
define("DANDELION", 37);
|
|
define("ROSE", 38);
|
|
define("CYAN_FLOWER", 38);
|
|
define("BROWN_MUSHROOM", 39);
|
|
define("RED_MUSHROOM", 40);
|
|
define("GOLD_BLOCK", 41);
|
|
define("IRON_BLOCK", 42);
|
|
define("DOUBLE_SLAB", 43);
|
|
define("DOUBLE_SLABS", 43);
|
|
define("SLAB", 44);
|
|
define("SLABS", 44);
|
|
define("BRICKS", 45);
|
|
define("BRICKS_BLOCK", 45);
|
|
define("TNT", 46);
|
|
define("BOOKSHELF", 47);
|
|
define("MOSS_STONE", 48);
|
|
define("MOSSY_STONE", 48);
|
|
define("OBSIDIAN", 49);
|
|
define("TORCH", 50);
|
|
define("FIRE", 51);
|
|
|
|
define("WOOD_STAIRS", 53);
|
|
define("WOODEN_STAIRS", 53);
|
|
define("CHEST", 54);
|
|
|
|
define("DIAMOND_ORE", 56);
|
|
define("DIAMOND_BLOCK", 57);
|
|
define("CRAFTING_TABLE", 58);
|
|
define("WORKBENCH", 58);
|
|
define("WHEAT_BLOCK", 59);
|
|
define("FARMLAND", 60);
|
|
define("FURNACE", 61);
|
|
define("BURNING_FURNACE", 62);
|
|
define("LIT_FURNACE", 62);
|
|
define("SIGN_POST", 63);
|
|
define("DOOR_BLOCK", 64);
|
|
define("WOODEN_DOOR_BLOCK", 64);
|
|
define("WOOD_DOOR_BLOCK", 64);
|
|
define("LADDER", 65);
|
|
|
|
define("COBBLE_STAIRS", 67);
|
|
define("COBBLESTONE_STAIRS", 67);
|
|
define("WALL_SIGN", 68);
|
|
|
|
define("IRON_DOOR_BLOCK", 71);
|
|
|
|
define("REDSTONE_ORE", 73);
|
|
define("GLOWING_REDSTONE_ORE", 74);
|
|
define("LIT_REDSTONE_ORE", 74);
|
|
|
|
define("SNOW", 78);
|
|
define("SNOW_LAYER", 78);
|
|
define("ICE", 79);
|
|
define("SNOW_BLOCK", 80);
|
|
define("CACTUS", 81);
|
|
define("CLAY_BLOCK", 82);
|
|
define("REEDS", 83);
|
|
define("SUGARCANE_BLOCK", 83);
|
|
|
|
define("FENCE", 85);
|
|
define("PUMPKIN", 86);
|
|
define("NETHERRACK", 87);
|
|
define("SOUL_SAND", 88);
|
|
define("GLOWSTONE", 89);
|
|
define("GLOWSTONE_BLOCK", 89);
|
|
|
|
|
|
define("LIT_PUMPKIN", 91);
|
|
define("JACK_O_LANTERN", 91);
|
|
define("CAKE_BLOCK", 92);
|
|
|
|
define("TRAPDOOR", 96);
|
|
|
|
define("STONE_BRICKS", 98);
|
|
define("STONE_BRICK", 98);
|
|
|
|
define("IRON_BAR", 101);
|
|
define("IRON_BARS", 101);
|
|
define("GLASS_PANE", 102);
|
|
define("GLASS_PANEL", 102);
|
|
define("MELON_BLOCK", 103);
|
|
define("PUMPKIN_STEM", 104);
|
|
define("MELON_STEM", 105);
|
|
|
|
define("FENCE_GATE", 107);
|
|
define("BRICK_STAIRS", 108);
|
|
define("STONE_BRICK_STAIRS", 109);
|
|
|
|
define("NETHER_BRICKS", 112);
|
|
define("NETHER_BRICK_BLOCK", 112);
|
|
|
|
define("NETHER_BRICKS_STAIRS", 114);
|
|
|
|
define("SANDSTONE_STAIRS", 128);
|
|
|
|
define("SPRUCE_WOOD_STAIRS", 134);
|
|
define("SPRUCE_WOODEN_STAIRS", 134);
|
|
define("BIRCH_WOOD_STAIRS", 135);
|
|
define("BIRCH_WOODEN_STAIRS", 135);
|
|
define("JUNGLE_WOOD_STAIRS", 136);
|
|
define("JUNGLE_WOODEN_STAIRS", 136);
|
|
|
|
define("COBBLE_WALL", 139);
|
|
define("STONE_WALL", 139);
|
|
define("COBBLESTONE_WALL", 139);
|
|
|
|
define("QUARTZ_BLOCK", 155);
|
|
define("QUARTZ_STAIRS", 156);
|
|
define("DOUBLE_WOOD_SLAB", 157);
|
|
define("DOUBLE_WOODEN_SLAB", 157);
|
|
define("DOUBLE_WOOD_SLABS", 157);
|
|
define("DOUBLE_WOODEN_SLABS", 157);
|
|
define("WOOD_SLAB", 158);
|
|
define("WOODEN_SLAB", 158);
|
|
define("WOOD_SLABS", 158);
|
|
define("WOODEN_SLABS", 158);
|
|
|
|
define("HAY_BALE", 170);
|
|
|
|
define("COAL_BLOCK", 173);
|
|
|
|
define("STONECUTTER", 245);
|
|
define("GLOWING_OBSIDIAN", 246);
|
|
define("NETHER_REACTOR", 247);
|