mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-22 15:05:35 +01:00
Correctly added all MaterialData to their appropriate Material enum
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
f8decbe750
commit
3d5303ef55
1 changed files with 6 additions and 8 deletions
|
@ -6,9 +6,7 @@ import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
import org.bukkit.material.Dye;
|
import org.bukkit.material.*;
|
||||||
import org.bukkit.material.MaterialData;
|
|
||||||
import org.bukkit.material.Wool;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An enum of all material ids accepted by the official server + client
|
* An enum of all material ids accepted by the official server + client
|
||||||
|
@ -54,12 +52,12 @@ public enum Material {
|
||||||
BOOKSHELF(47),
|
BOOKSHELF(47),
|
||||||
MOSSY_COBBLESTONE(48),
|
MOSSY_COBBLESTONE(48),
|
||||||
OBSIDIAN(49),
|
OBSIDIAN(49),
|
||||||
TORCH(50),
|
TORCH(50, Torch.class),
|
||||||
FIRE(51),
|
FIRE(51),
|
||||||
MOB_SPAWNER(52),
|
MOB_SPAWNER(52),
|
||||||
WOOD_STAIRS(53),
|
WOOD_STAIRS(53),
|
||||||
CHEST(54),
|
CHEST(54),
|
||||||
REDSTONE_WIRE(55),
|
REDSTONE_WIRE(55, RedstoneWire.class),
|
||||||
DIAMOND_ORE(56),
|
DIAMOND_ORE(56),
|
||||||
DIAMOND_BLOCK(57),
|
DIAMOND_BLOCK(57),
|
||||||
WORKBENCH(58),
|
WORKBENCH(58),
|
||||||
|
@ -79,8 +77,8 @@ public enum Material {
|
||||||
WOOD_PLATE(72),
|
WOOD_PLATE(72),
|
||||||
REDSTONE_ORE(73),
|
REDSTONE_ORE(73),
|
||||||
GLOWING_REDSTONE_ORE(74),
|
GLOWING_REDSTONE_ORE(74),
|
||||||
REDSTONE_TORCH_OFF(75),
|
REDSTONE_TORCH_OFF(75, RedstoneTorch.class),
|
||||||
REDSTONE_TORCH_ON(76),
|
REDSTONE_TORCH_ON(76, RedstoneTorch.class),
|
||||||
STONE_BUTTON(77),
|
STONE_BUTTON(77),
|
||||||
SNOW(78),
|
SNOW(78),
|
||||||
ICE(79),
|
ICE(79),
|
||||||
|
@ -172,7 +170,7 @@ public enum Material {
|
||||||
MINECART(328),
|
MINECART(328),
|
||||||
SADDLE(329),
|
SADDLE(329),
|
||||||
IRON_DOOR(330),
|
IRON_DOOR(330),
|
||||||
REDSTONE(331),
|
REDSTONE(331, RedstoneWire.class),
|
||||||
SNOW_BALL(332),
|
SNOW_BALL(332),
|
||||||
BOAT(333),
|
BOAT(333),
|
||||||
LEATHER(334),
|
LEATHER(334),
|
||||||
|
|
Loading…
Add table
Reference in a new issue