From 5b5c25f1aee7fb0c685e59e4fe91f7d0ed409919 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Mon, 19 Sep 2011 07:39:28 +0200 Subject: [PATCH] Added an ItemID class, containing all the item IDs. --- .../com/sk89q/worldedit/blocks/ItemID.java | 143 ++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 src/main/java/com/sk89q/worldedit/blocks/ItemID.java diff --git a/src/main/java/com/sk89q/worldedit/blocks/ItemID.java b/src/main/java/com/sk89q/worldedit/blocks/ItemID.java new file mode 100644 index 000000000..22db46ef4 --- /dev/null +++ b/src/main/java/com/sk89q/worldedit/blocks/ItemID.java @@ -0,0 +1,143 @@ +// $Id$ +/* + * CraftBook + * Copyright (C) 2010 sk89q + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . +*/ + +package com.sk89q.worldedit.blocks; + +/** + * List of item IDs. + * + * @author sk89q + */ +public final class ItemID { + public static final int IRON_SHOVEL = 256; + public static final int IRON_PICK = 257; + public static final int IRON_AXE = 258; + public static final int FLINT_AND_TINDER = 259; + public static final int RED_APPLE = 260; + public static final int BOW = 261; + public static final int ARROW = 262; + public static final int COAL = 263; + public static final int DIAMOND = 264; + public static final int IRON_BAR = 265; + public static final int GOLD_BAR = 266; + public static final int IRON_SWORD = 267; + public static final int WOOD_SWORD = 268; + public static final int WOOD_SHOVEL = 269; + public static final int WOOD_PICKAXE = 270; + public static final int WOOD_AXE = 271; + public static final int STONE_SWORD = 272; + public static final int STONE_SHOVEL = 273; + public static final int STONE_PICKAXE = 274; + public static final int STONE_AXE = 275; + public static final int DIAMOND_SWORD = 276; + public static final int DIAMOND_SHOVEL = 277; + public static final int DIAMOND_PICKAXE = 278; + public static final int DIAMOND_AXE = 279; + public static final int STICK = 280; + public static final int BOWL = 281; + public static final int MUSHROOM_SOUP = 282; + public static final int GOLD_SWORD = 283; + public static final int GOLD_SHOVEL = 284; + public static final int GOLD_PICKAXE = 285; + public static final int GOLD_AXE = 286; + public static final int STRING = 287; + public static final int FEATHER = 288; + public static final int SULPHUR = 289; + public static final int WOOD_HOE = 290; + public static final int STONE_HOE = 291; + public static final int IRON_HOE = 292; + public static final int DIAMOND_HOE = 293; + public static final int GOLD_HOE = 294; + public static final int SEEDS = 295; + public static final int WHEAT = 296; + public static final int BREAD = 297; + public static final int LEATHER_HELMET = 298; + public static final int LEATHER_CHEST = 299; + public static final int LEATHER_PANTS = 300; + public static final int LEATHER_BOOTS = 301; + public static final int CHAINMAIL_HELMET = 302; + public static final int CHAINMAIL_CHEST = 303; + public static final int CHAINMAIL_PANTS = 304; + public static final int CHAINMAIL_BOOTS = 305; + public static final int IRON_HELMET = 306; + public static final int IRON_CHEST = 307; + public static final int IRON_PANTS = 308; + public static final int IRON_BOOTS = 309; + public static final int DIAMOND_HELMET = 310; + public static final int DIAMOND_CHEST = 311; + public static final int DIAMOND_PANTS = 312; + public static final int DIAMOND_BOOTS = 313; + public static final int GOLD_HELMET = 314; + public static final int GOLD_CHEST = 315; + public static final int GOLD_PANTS = 316; + public static final int GOLD_BOOTS = 317; + public static final int FLINT = 318; + public static final int RAW_PORKCHOP = 319; + public static final int COOKED_PORKCHOP = 320; + public static final int PAINTING = 321; + public static final int GOLD_APPLE = 322; + public static final int SIGN = 323; + public static final int WOODEN_DOOR_ITEM = 324; + public static final int BUCKET = 325; + public static final int WATER_BUCKET = 326; + public static final int LAVA_BUCKET = 327; + public static final int MINECART = 328; + public static final int SADDLE = 329; + public static final int IRON_DOOR_ITEM = 330; + public static final int REDSTONE_DUST = 331; + public static final int SNOWBALL = 332; + public static final int WOOD_BOAT = 333; + public static final int LEATHER = 334; + public static final int MILK_BUCKET = 335; + public static final int BRICK_BAR = 336; + public static final int CLAY_BALL = 337; + public static final int SUGAR_CANE_ITEM = 338; + public static final int PAPER = 339; + public static final int BOOK = 340; + public static final int SLIME_BALL = 341; + public static final int STORAGE_MINECART = 342; + public static final int POWERED_MINECART = 343; + public static final int EGG = 344; + public static final int COMPASS = 345; + public static final int FISHING_ROD = 346; + public static final int WATCH = 347; + public static final int LIGHTSTONE_DUST = 348; + public static final int RAW_FISH = 349; + public static final int COOKED_FISH = 350; + public static final int INK_SACK = 351; + public static final int BONE = 352; + public static final int SUGAR = 353; + public static final int CAKE_ITEM = 354; + public static final int BED_ITEM = 355; + public static final int REDSTONE_REPEATER = 356; + public static final int COOKIE = 357; + public static final int MAP = 358; + public static final int SHEARS = 359; + public static final int MELON = 360; + public static final int PUMPKIN_SEEDS = 361; + public static final int MELON_SEEDS = 362; + public static final int RAW_BEEF = 363; + public static final int COOKED_BEEF = 364; + public static final int RAW_CHICKEN = 365; + public static final int COOKED_CHICKEN = 366; + public static final int ROTTEN_FLESH = 367; + public static final int ENDER_PEARL = 368; + public static final int GOLD_RECORD = 2256; + public static final int GREEN_RECORD = 2257; +}