Add material data classes for cake, jukeboxes, and diodes. Remove some unneeded ones.

By: Celtic Minstrel <celtic.minstrel.ca@>
This commit is contained in:
Bukkit/Spigot
2011-03-26 12:29:52 -04:00
parent ae9f2fb195
commit 9c5c4622e2
4 changed files with 168 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ public enum Material {
CACTUS(81),
CLAY(82),
SUGAR_CANE_BLOCK(83),
JUKEBOX(84),
JUKEBOX(84, Jukebox.class),
FENCE(85),
PUMPKIN(86),
NETHERRACK(87),
@@ -95,9 +95,9 @@ public enum Material {
GLOWSTONE(89),
PORTAL(90),
JACK_O_LANTERN(91),
CAKE_BLOCK(92, 1),
DIODE_BLOCK_OFF(93),
DIODE_BLOCK_ON(94),
CAKE_BLOCK(92, 1, Cake.class),
DIODE_BLOCK_OFF(93, Diode.class),
DIODE_BLOCK_ON(94, Diode.class),
// ----- Item Separator -----
IRON_SPADE(256, 1, 250),
IRON_PICKAXE(257, 1, 250),
@@ -166,7 +166,7 @@ public enum Material {
GRILLED_PORK(320, 1),
PAINTING(321),
GOLDEN_APPLE(322, 1),
SIGN(323, 1, Sign.class),
SIGN(323, 1),
WOOD_DOOR(324, 1),
BUCKET(325, 1),
WATER_BUCKET(326, 1),
@@ -174,7 +174,7 @@ public enum Material {
MINECART(328, 1),
SADDLE(329, 1),
IRON_DOOR(330, 1),
REDSTONE(331, RedstoneWire.class),
REDSTONE(331),
SNOW_BALL(332, 16),
BOAT(333, 1),
LEATHER(334),