Sync item and block legacy IDs

This commit is contained in:
Dylan K. Taylor 2018-12-27 15:02:14 +00:00
parent b8f8a81704
commit 8564efc011
2 changed files with 112 additions and 14 deletions

View File

@ -61,7 +61,7 @@ interface BlockIds{
public const PISTON = 33;
public const PISTONARMCOLLISION = 34, PISTON_ARM_COLLISION = 34;
public const WOOL = 35;
public const ELEMENT_0 = 36;
public const DANDELION = 37, YELLOW_FLOWER = 37;
public const POPPY = 38, RED_FLOWER = 38;
public const BROWN_MUSHROOM = 39;
@ -191,7 +191,7 @@ interface BlockIds{
public const ACACIA_STAIRS = 163;
public const DARK_OAK_STAIRS = 164;
public const SLIME = 165, SLIME_BLOCK = 165;
public const GLOW_STICK = 166;
public const IRON_TRAPDOOR = 167;
public const PRISMARINE = 168;
public const SEALANTERN = 169, SEA_LANTERN = 169;
@ -215,7 +215,9 @@ interface BlockIds{
public const ACACIA_FENCE_GATE = 187;
public const REPEATING_COMMAND_BLOCK = 188;
public const CHAIN_COMMAND_BLOCK = 189;
public const HARD_GLASS_PANE = 190;
public const HARD_STAINED_GLASS_PANE = 191;
public const CHEMICAL_HEAT = 192;
public const SPRUCE_DOOR_BLOCK = 193;
public const BIRCH_DOOR_BLOCK = 194;
public const JUNGLE_DOOR_BLOCK = 195;
@ -225,9 +227,9 @@ interface BlockIds{
public const FRAME_BLOCK = 199, ITEM_FRAME_BLOCK = 199;
public const CHORUS_FLOWER = 200;
public const PURPUR_BLOCK = 201;
public const COLORED_TORCH_RG = 202;
public const PURPUR_STAIRS = 203;
public const COLORED_TORCH_BP = 204;
public const UNDYED_SHULKER_BOX = 205;
public const END_BRICKS = 206;
public const FROSTED_ICE = 207;
@ -259,7 +261,8 @@ interface BlockIds{
public const BLACK_GLAZED_TERRACOTTA = 235;
public const CONCRETE = 236;
public const CONCRETEPOWDER = 237, CONCRETE_POWDER = 237;
public const CHEMISTRY_TABLE = 238;
public const UNDERWATER_TORCH = 239;
public const CHORUS_PLANT = 240;
public const STAINED_GLASS = 241;
@ -273,7 +276,52 @@ interface BlockIds{
public const MOVINGBLOCK = 250, MOVING_BLOCK = 250;
public const OBSERVER = 251;
public const STRUCTURE_BLOCK = 252;
public const HARD_GLASS = 253;
public const HARD_STAINED_GLASS = 254;
public const RESERVED6 = 255;
public const PRISMARINE_STAIRS = 257;
public const DARK_PRISMARINE_STAIRS = 258;
public const PRISMARINE_BRICKS_STAIRS = 259;
public const STRIPPED_SPRUCE_LOG = 260;
public const STRIPPED_BIRCH_LOG = 261;
public const STRIPPED_JUNGLE_LOG = 262;
public const STRIPPED_ACACIA_LOG = 263;
public const STRIPPED_DARK_OAK_LOG = 264;
public const STRIPPED_OAK_LOG = 265;
public const BLUE_ICE = 266;
public const SEAGRASS = 385;
public const CORAL = 386;
public const CORAL_BLOCK = 387;
public const CORAL_FAN = 388;
public const CORAL_FAN_DEAD = 389;
public const CORAL_FAN_HANG = 390;
public const CORAL_FAN_HANG2 = 391;
public const CORAL_FAN_HANG3 = 392;
public const KELP = 393;
public const DRIED_KELP_BLOCK = 394;
public const ACACIA_BUTTON = 395;
public const BIRCH_BUTTON = 396;
public const DARK_OAK_BUTTON = 397;
public const JUNGLE_BUTTON = 398;
public const SPRUCE_BUTTON = 399;
public const ACACIA_TRAPDOOR = 400;
public const BIRCH_TRAPDOOR = 401;
public const DARK_OAK_TRAPDOOR = 402;
public const JUNGLE_TRAPDOOR = 403;
public const SPRUCE_TRAPDOOR = 404;
public const ACACIA_PRESSURE_PLATE = 405;
public const BIRCH_PRESSURE_PLATE = 406;
public const DARK_OAK_PRESSURE_PLATE = 407;
public const JUNGLE_PRESSURE_PLATE = 408;
public const SPRUCE_PRESSURE_PLATE = 409;
public const CARVED_PUMPKIN = 410;
public const SEA_PICKLE = 411;
public const CONDUIT = 412;
public const TURTLE_EGG = 414;
public const BUBBLE_COLUMN = 415;
public const BARRIER = 416;
}

View File

@ -25,6 +25,50 @@ namespace pocketmine\item;
interface ItemIds{
public const BARRIER = -161;
public const BUBBLE_COLUMN = -160;
public const TURTLE_EGG = -159;
public const CONDUIT = -157;
public const SEA_PICKLE = -156;
public const CARVED_PUMPKIN = -155;
public const SPRUCE_PRESSURE_PLATE = -154;
public const JUNGLE_PRESSURE_PLATE = -153;
public const DARK_OAK_PRESSURE_PLATE = -152;
public const BIRCH_PRESSURE_PLATE = -151;
public const ACACIA_PRESSURE_PLATE = -150;
public const SPRUCE_TRAPDOOR = -149;
public const JUNGLE_TRAPDOOR = -148;
public const DARK_OAK_TRAPDOOR = -147;
public const BIRCH_TRAPDOOR = -146;
public const ACACIA_TRAPDOOR = -145;
public const SPRUCE_BUTTON = -144;
public const JUNGLE_BUTTON = -143;
public const DARK_OAK_BUTTON = -142;
public const BIRCH_BUTTON = -141;
public const ACACIA_BUTTON = -140;
public const DRIED_KELP_BLOCK = -139;
public const KELP_BLOCK = -138;
public const CORAL_FAN_HANG3 = -137;
public const CORAL_FAN_HANG2 = -136;
public const CORAL_FAN_HANG = -135;
public const CORAL_FAN_DEAD = -134;
public const CORAL_FAN = -133;
public const CORAL_BLOCK = -132;
public const CORAL = -131;
public const SEAGRASS = -130;
public const BLUE_ICE = -11;
public const STRIPPED_OAK_LOG = -10;
public const STRIPPED_DARK_OAK_LOG = -9;
public const STRIPPED_ACACIA_LOG = -8;
public const STRIPPED_JUNGLE_LOG = -7;
public const STRIPPED_BIRCH_LOG = -6;
public const STRIPPED_SPRUCE_LOG = -5;
public const PRISMARINE_BRICKS_STAIRS = -4;
public const DARK_PRISMARINE_STAIRS = -3;
public const PRISMARINE_STAIRS = -2;
public const AIR = 0;
public const STONE = 1;
public const GRASS = 2;
@ -61,7 +105,7 @@ interface ItemIds{
public const PISTON = 33;
public const PISTONARMCOLLISION = 34, PISTON_ARM_COLLISION = 34;
public const WOOL = 35;
public const ELEMENT_0 = 36;
public const DANDELION = 37, YELLOW_FLOWER = 37;
public const POPPY = 38, RED_FLOWER = 38;
public const BROWN_MUSHROOM = 39;
@ -191,7 +235,7 @@ interface ItemIds{
public const ACACIA_STAIRS = 163;
public const DARK_OAK_STAIRS = 164;
public const SLIME = 165, SLIME_BLOCK = 165;
public const GLOW_STICK = 166;
public const IRON_TRAPDOOR = 167;
public const PRISMARINE = 168;
public const SEALANTERN = 169, SEA_LANTERN = 169;
@ -215,7 +259,9 @@ interface ItemIds{
public const ACACIA_FENCE_GATE = 187;
public const REPEATING_COMMAND_BLOCK = 188;
public const CHAIN_COMMAND_BLOCK = 189;
public const HARD_GLASS_PANE = 190;
public const HARD_STAINED_GLASS_PANE = 191;
public const CHEMICAL_HEAT = 192;
public const SPRUCE_DOOR_BLOCK = 193;
public const BIRCH_DOOR_BLOCK = 194;
public const JUNGLE_DOOR_BLOCK = 195;
@ -225,9 +271,9 @@ interface ItemIds{
public const FRAME_BLOCK = 199, ITEM_FRAME_BLOCK = 199;
public const CHORUS_FLOWER = 200;
public const PURPUR_BLOCK = 201;
public const COLORED_TORCH_RG = 202;
public const PURPUR_STAIRS = 203;
public const COLORED_TORCH_BP = 204;
public const UNDYED_SHULKER_BOX = 205;
public const END_BRICKS = 206;
public const FROSTED_ICE = 207;
@ -259,7 +305,8 @@ interface ItemIds{
public const BLACK_GLAZED_TERRACOTTA = 235;
public const CONCRETE = 236;
public const CONCRETEPOWDER = 237, CONCRETE_POWDER = 237;
public const CHEMISTRY_TABLE = 238;
public const UNDERWATER_TORCH = 239;
public const CHORUS_PLANT = 240;
public const STAINED_GLASS = 241;
@ -273,7 +320,8 @@ interface ItemIds{
public const MOVINGBLOCK = 250, MOVING_BLOCK = 250;
public const OBSERVER = 251;
public const STRUCTURE_BLOCK = 252;
public const HARD_GLASS = 253;
public const HARD_STAINED_GLASS = 254;
public const RESERVED6 = 255;
public const IRON_SHOVEL = 256;
public const IRON_PICKAXE = 257;
@ -485,6 +533,8 @@ interface ItemIds{
public const HEART_OF_THE_SEA = 467;
public const TURTLE_SHELL_PIECE = 468;
public const TURTLE_HELMET = 469;
public const PHANTOM_MEMBRANE = 470;
public const CROSSBOW = 471;
public const COMPOUND = 499;
public const RECORD_13 = 500;