From d33e2e98aaf05935fbdd4b0bc08b7b6c6b9efe3b Mon Sep 17 00:00:00 2001 From: kashike Date: Thu, 5 Jul 2018 01:48:37 -0700 Subject: [PATCH] registry changes --- .../com/sk89q/worldedit/LocalSession.java | 4 +- .../worldedit/command/GeneralCommands.java | 2 +- .../worldedit/command/SelectionCommands.java | 2 +- .../extension/factory/DefaultBlockParser.java | 2 +- .../registry/NamespacedRegistry.java | 66 + .../world/block/BlockCategories.java | 96 +- .../worldedit/world/block/BlockCategory.java | 3 + .../worldedit/world/block/BlockType.java | 5 +- .../worldedit/world/block/BlockTypes.java | 1179 +++++++------ .../world/fluid/FluidCategories.java | 39 +- .../worldedit/world/fluid/FluidCategory.java | 4 + .../worldedit/world/fluid/FluidType.java | 4 + .../worldedit/world/fluid/FluidTypes.java | 46 +- .../worldedit/world/item/ItemCategories.java | 92 +- .../worldedit/world/item/ItemCategory.java | 3 + .../sk89q/worldedit/world/item/ItemType.java | 5 +- .../sk89q/worldedit/world/item/ItemTypes.java | 1454 ++++++++--------- .../world/registry/BundledBlockRegistry.java | 2 +- .../world/registry/BundledItemRegistry.java | 2 +- .../world/registry/LegacyMapper.java | 2 +- .../worldedit/forge/ForgeItemRegistry.java | 2 +- .../sk89q/worldedit/forge/ForgePlayer.java | 2 +- .../sk89q/worldedit/forge/ForgeWorldEdit.java | 2 +- .../sk89q/worldedit/sponge/SpongePlayer.java | 2 +- .../worldedit/sponge/SpongeWorldEdit.java | 4 +- 25 files changed, 1496 insertions(+), 1528 deletions(-) create mode 100644 worldedit-core/src/main/java/com/sk89q/worldedit/registry/NamespacedRegistry.java diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java b/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java index 1376e723d..6677c9579 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java @@ -557,9 +557,9 @@ public class LocalSession { public void setTool(ItemType item, @Nullable Tool tool) throws InvalidToolBindException { if (item.hasBlockType()) { throw new InvalidToolBindException(item, "Blocks can't be used"); - } else if (item == ItemTypes.getItemType(config.wandItem)) { + } else if (item == ItemTypes.get(config.wandItem)) { throw new InvalidToolBindException(item, "Already used for the wand"); - } else if (item == ItemTypes.getItemType(config.navigationWand)) { + } else if (item == ItemTypes.get(config.navigationWand)) { throw new InvalidToolBindException(item, "Already used for the navigation wand"); } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/GeneralCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/GeneralCommands.java index f86fb7928..7da7dadb3 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/GeneralCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/GeneralCommands.java @@ -163,7 +163,7 @@ public class GeneralCommands { boolean blocksOnly = args.hasFlag('b'); boolean itemsOnly = args.hasFlag('i'); - ItemType type = ItemTypes.getItemType(query); + ItemType type = ItemTypes.get(query); if (type != null) { actor.print(type.getId() + " (" + type.getName() + ")"); diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/SelectionCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/SelectionCommands.java index ed508789d..9d118681c 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/SelectionCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/SelectionCommands.java @@ -278,7 +278,7 @@ public class SelectionCommands { @CommandPermissions("worldedit.wand") public void wand(Player player, LocalSession session, EditSession editSession, CommandContext args) throws WorldEditException { - player.giveItem(new BaseItemStack(ItemTypes.getItemType(we.getConfiguration().wandItem), 1)); + player.giveItem(new BaseItemStack(ItemTypes.get(we.getConfiguration().wandItem), 1)); player.print("Left click: select pos #1; Right click: select pos #2"); } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/DefaultBlockParser.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/DefaultBlockParser.java index 6b01c2756..90a328744 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/DefaultBlockParser.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/DefaultBlockParser.java @@ -232,7 +232,7 @@ class DefaultBlockParser extends InputParser { blockStates = blockInHand.getStates(); } else { // Attempt to lookup a block from ID or name. - blockType = BlockTypes.getBlockType(typeString); + blockType = BlockTypes.get(typeString); if (blockType == null) { throw new NoMatchException("Does not match a valid block type: '" + input + "'"); diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/registry/NamespacedRegistry.java b/worldedit-core/src/main/java/com/sk89q/worldedit/registry/NamespacedRegistry.java new file mode 100644 index 000000000..fde3e5d6e --- /dev/null +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/registry/NamespacedRegistry.java @@ -0,0 +1,66 @@ +/* + * WorldEdit, a Minecraft world manipulation toolkit + * Copyright (C) sk89q + * Copyright (C) WorldEdit team and contributors + * + * 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. + * + * 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 Lesser General Public License + * for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + +package com.sk89q.worldedit.registry; + +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +import java.util.Set; + +import javax.annotation.Nullable; + +import static com.google.common.base.Preconditions.checkState; +import static java.util.Objects.requireNonNull; + +public final class NamespacedRegistry { + private static final String MINECRAFT_NAMESPACE = "minecraft"; + private final Map map = new HashMap<>(); + + public @Nullable V get(final String key) { + checkState(key.equals(key.toLowerCase()), "key must be lowercase"); + return this.map.get(this.orDefaultNamespace(key)); + } + + public V register(final String key, final V value) { + requireNonNull(key, "key"); + requireNonNull(value, "value"); + checkState(key.indexOf(':') > -1, "key is not namespaced"); + checkState(key.equals(key.toLowerCase()), "key must be lowercase"); + checkState(!this.map.containsKey(key), "key %s already has an entry", key); + this.map.put(key, value); + return value; + } + + public Set keySet() { + return Collections.unmodifiableSet(this.map.keySet()); + } + + public Collection values() { + return Collections.unmodifiableCollection(this.map.values()); + } + + private String orDefaultNamespace(final String key) { + if (key.indexOf(':') == -1) { + return MINECRAFT_NAMESPACE + ':' + key; + } + return key; + } +} diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockCategories.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockCategories.java index a71d44b12..dc230b6fa 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockCategories.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockCategories.java @@ -34,71 +34,53 @@ public class BlockCategories { private BlockCategories() { } - public static final BlockCategory ACACIA_LOGS = new BlockCategory("minecraft:acacia_logs"); - public static final BlockCategory ANVIL = new BlockCategory("minecraft:anvil"); - public static final BlockCategory BANNERS = new BlockCategory("minecraft:banners"); - public static final BlockCategory BIRCH_LOGS = new BlockCategory("minecraft:birch_logs"); - public static final BlockCategory BUTTONS = new BlockCategory("minecraft:buttons"); - public static final BlockCategory CARPETS = new BlockCategory("minecraft:carpets"); - public static final BlockCategory CORAL = new BlockCategory("minecraft:coral"); - public static final BlockCategory CORAL_PLANTS = new BlockCategory("minecraft:coral_plants"); - public static final BlockCategory DARK_OAK_LOGS = new BlockCategory("minecraft:dark_oak_logs"); - public static final BlockCategory DOORS = new BlockCategory("minecraft:doors"); - public static final BlockCategory ENDERMAN_HOLDABLE = new BlockCategory("minecraft:enderman_holdable"); - public static final BlockCategory FLOWER_POTS = new BlockCategory("minecraft:flower_pots"); - public static final BlockCategory ICE = new BlockCategory("minecraft:ice"); - public static final BlockCategory JUNGLE_LOGS = new BlockCategory("minecraft:jungle_logs"); - public static final BlockCategory LEAVES = new BlockCategory("minecraft:leaves"); - public static final BlockCategory LOGS = new BlockCategory("minecraft:logs"); - public static final BlockCategory OAK_LOGS = new BlockCategory("minecraft:oak_logs"); - public static final BlockCategory PLANKS = new BlockCategory("minecraft:planks"); - public static final BlockCategory RAILS = new BlockCategory("minecraft:rails"); - public static final BlockCategory SAND = new BlockCategory("minecraft:sand"); - public static final BlockCategory SAPLINGS = new BlockCategory("minecraft:saplings"); - public static final BlockCategory SLABS = new BlockCategory("minecraft:slabs"); - public static final BlockCategory SPRUCE_LOGS = new BlockCategory("minecraft:spruce_logs"); - public static final BlockCategory STAIRS = new BlockCategory("minecraft:stairs"); - public static final BlockCategory STONE_BRICKS = new BlockCategory("minecraft:stone_bricks"); - public static final BlockCategory VALID_SPAWN = new BlockCategory("minecraft:valid_spawn"); - public static final BlockCategory WOODEN_BUTTONS = new BlockCategory("minecraft:wooden_buttons"); - public static final BlockCategory WOODEN_DOORS = new BlockCategory("minecraft:wooden_doors"); - public static final BlockCategory WOODEN_PRESSURE_PLATES = new BlockCategory("minecraft:wooden_pressure_plates"); - public static final BlockCategory WOODEN_SLABS = new BlockCategory("minecraft:wooden_slabs"); - public static final BlockCategory WOODEN_STAIRS = new BlockCategory("minecraft:wooden_stairs"); - public static final BlockCategory WOOL = new BlockCategory("minecraft:wool"); + public static final BlockCategory ACACIA_LOGS = register("minecraft:acacia_logs"); + public static final BlockCategory ANVIL = register("minecraft:anvil"); + public static final BlockCategory BANNERS = register("minecraft:banners"); + public static final BlockCategory BIRCH_LOGS = register("minecraft:birch_logs"); + public static final BlockCategory BUTTONS = register("minecraft:buttons"); + public static final BlockCategory CARPETS = register("minecraft:carpets"); + public static final BlockCategory CORAL = register("minecraft:coral"); + public static final BlockCategory CORAL_PLANTS = register("minecraft:coral_plants"); + public static final BlockCategory DARK_OAK_LOGS = register("minecraft:dark_oak_logs"); + public static final BlockCategory DOORS = register("minecraft:doors"); + public static final BlockCategory ENDERMAN_HOLDABLE = register("minecraft:enderman_holdable"); + public static final BlockCategory FLOWER_POTS = register("minecraft:flower_pots"); + public static final BlockCategory ICE = register("minecraft:ice"); + public static final BlockCategory JUNGLE_LOGS = register("minecraft:jungle_logs"); + public static final BlockCategory LEAVES = register("minecraft:leaves"); + public static final BlockCategory LOGS = register("minecraft:logs"); + public static final BlockCategory OAK_LOGS = register("minecraft:oak_logs"); + public static final BlockCategory PLANKS = register("minecraft:planks"); + public static final BlockCategory RAILS = register("minecraft:rails"); + public static final BlockCategory SAND = register("minecraft:sand"); + public static final BlockCategory SAPLINGS = register("minecraft:saplings"); + public static final BlockCategory SLABS = register("minecraft:slabs"); + public static final BlockCategory SPRUCE_LOGS = register("minecraft:spruce_logs"); + public static final BlockCategory STAIRS = register("minecraft:stairs"); + public static final BlockCategory STONE_BRICKS = register("minecraft:stone_bricks"); + public static final BlockCategory VALID_SPAWN = register("minecraft:valid_spawn"); + public static final BlockCategory WOODEN_BUTTONS = register("minecraft:wooden_buttons"); + public static final BlockCategory WOODEN_DOORS = register("minecraft:wooden_doors"); + public static final BlockCategory WOODEN_PRESSURE_PLATES = register("minecraft:wooden_pressure_plates"); + public static final BlockCategory WOODEN_SLABS = register("minecraft:wooden_slabs"); + public static final BlockCategory WOODEN_STAIRS = register("minecraft:wooden_stairs"); + public static final BlockCategory WOOL = register("minecraft:wool"); - private static final Map categoryMapping = new HashMap<>(); - - static { - for (Field field : BlockCategories.class.getFields()) { - if (field.getType() == BlockCategory.class) { - try { - registerCategory((BlockCategory) field.get(null)); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } - } - } + private static BlockCategory register(final String id) { + return register(new BlockCategory(id)); } - public static void registerCategory(BlockCategory blockCategory) { - if (categoryMapping.containsKey(blockCategory.getId()) && !blockCategory.getId().startsWith("minecraft:")) { - throw new IllegalArgumentException("Existing category with this ID already registered"); - } - - categoryMapping.put(blockCategory.getId(), blockCategory); + public static BlockCategory register(final BlockCategory tag) { + return BlockCategory.REGISTRY.register(tag.getId(), tag); } @Nullable - public static BlockCategory getBlockCategory(String id) { - // If it has no namespace, assume minecraft. - if (id != null && !id.contains(":")) { - id = "minecraft:" + id; - } - return categoryMapping.get(id); + public static BlockCategory get(final String id) { + return BlockCategory.REGISTRY.get(id); } public static Collection values() { - return categoryMapping.values(); + return BlockCategory.REGISTRY.values(); } } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockCategory.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockCategory.java index a9a634a55..a37186cd0 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockCategory.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockCategory.java @@ -21,6 +21,7 @@ package com.sk89q.worldedit.world.block; import com.sk89q.worldedit.WorldEdit; import com.sk89q.worldedit.extension.platform.Capability; +import com.sk89q.worldedit.registry.NamespacedRegistry; import java.util.Set; @@ -30,6 +31,8 @@ import java.util.Set; */ public class BlockCategory { + public static final NamespacedRegistry REGISTRY = new NamespacedRegistry<>(); + private final String id; public BlockCategory(String id) { diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java index 5d67021d3..d0d83de14 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java @@ -22,6 +22,7 @@ package com.sk89q.worldedit.world.block; import com.sk89q.worldedit.WorldEdit; import com.sk89q.worldedit.blocks.BlockMaterial; import com.sk89q.worldedit.extension.platform.Capability; +import com.sk89q.worldedit.registry.NamespacedRegistry; import com.sk89q.worldedit.world.item.ItemType; import com.sk89q.worldedit.world.item.ItemTypes; import com.sk89q.worldedit.world.registry.BundledBlockData; @@ -33,6 +34,8 @@ import javax.annotation.Nullable; public class BlockType { + public static final NamespacedRegistry REGISTRY = new NamespacedRegistry<>(); + private String id; private BlockState defaultState; @@ -100,7 +103,7 @@ public class BlockType { */ @Nullable public ItemType getItemType() { - return ItemTypes.getItemType(this.id); + return ItemTypes.get(this.id); } /** diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockTypes.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockTypes.java index 8735b62af..25645dece 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockTypes.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockTypes.java @@ -19,10 +19,7 @@ package com.sk89q.worldedit.world.block; -import java.lang.reflect.Field; import java.util.Collection; -import java.util.HashMap; -import java.util.Map; import javax.annotation.Nullable; @@ -34,611 +31,593 @@ public class BlockTypes { private BlockTypes() { } - public static final BlockType ACACIA_BARK = new BlockType("minecraft:acacia_bark"); - public static final BlockType ACACIA_BUTTON = new BlockType("minecraft:acacia_button"); - public static final BlockType ACACIA_DOOR = new BlockType("minecraft:acacia_door"); - public static final BlockType ACACIA_FENCE = new BlockType("minecraft:acacia_fence"); - public static final BlockType ACACIA_FENCE_GATE = new BlockType("minecraft:acacia_fence_gate"); - public static final BlockType ACACIA_LEAVES = new BlockType("minecraft:acacia_leaves"); - public static final BlockType ACACIA_LOG = new BlockType("minecraft:acacia_log"); - public static final BlockType ACACIA_PLANKS = new BlockType("minecraft:acacia_planks"); - public static final BlockType ACACIA_PRESSURE_PLATE = new BlockType("minecraft:acacia_pressure_plate"); - public static final BlockType ACACIA_SAPLING = new BlockType("minecraft:acacia_sapling"); - public static final BlockType ACACIA_SLAB = new BlockType("minecraft:acacia_slab"); - public static final BlockType ACACIA_STAIRS = new BlockType("minecraft:acacia_stairs"); - public static final BlockType ACACIA_TRAPDOOR = new BlockType("minecraft:acacia_trapdoor"); - public static final BlockType ACTIVATOR_RAIL = new BlockType("minecraft:activator_rail"); - public static final BlockType AIR = new BlockType("minecraft:air"); - public static final BlockType ALLIUM = new BlockType("minecraft:allium"); - public static final BlockType ANDESITE = new BlockType("minecraft:andesite"); - public static final BlockType ANVIL = new BlockType("minecraft:anvil"); - public static final BlockType ATTACHED_MELON_STEM = new BlockType("minecraft:attached_melon_stem"); - public static final BlockType ATTACHED_PUMPKIN_STEM = new BlockType("minecraft:attached_pumpkin_stem"); - public static final BlockType AZURE_BLUET = new BlockType("minecraft:azure_bluet"); - public static final BlockType BARRIER = new BlockType("minecraft:barrier"); - public static final BlockType BEACON = new BlockType("minecraft:beacon"); - public static final BlockType BEDROCK = new BlockType("minecraft:bedrock"); - public static final BlockType BEETROOTS = new BlockType("minecraft:beetroots"); - public static final BlockType BIRCH_BARK = new BlockType("minecraft:birch_bark"); - public static final BlockType BIRCH_BUTTON = new BlockType("minecraft:birch_button"); - public static final BlockType BIRCH_DOOR = new BlockType("minecraft:birch_door"); - public static final BlockType BIRCH_FENCE = new BlockType("minecraft:birch_fence"); - public static final BlockType BIRCH_FENCE_GATE = new BlockType("minecraft:birch_fence_gate"); - public static final BlockType BIRCH_LEAVES = new BlockType("minecraft:birch_leaves"); - public static final BlockType BIRCH_LOG = new BlockType("minecraft:birch_log"); - public static final BlockType BIRCH_PLANKS = new BlockType("minecraft:birch_planks"); - public static final BlockType BIRCH_PRESSURE_PLATE = new BlockType("minecraft:birch_pressure_plate"); - public static final BlockType BIRCH_SAPLING = new BlockType("minecraft:birch_sapling"); - public static final BlockType BIRCH_SLAB = new BlockType("minecraft:birch_slab"); - public static final BlockType BIRCH_STAIRS = new BlockType("minecraft:birch_stairs"); - public static final BlockType BIRCH_TRAPDOOR = new BlockType("minecraft:birch_trapdoor"); - public static final BlockType BLACK_BANNER = new BlockType("minecraft:black_banner"); - public static final BlockType BLACK_BED = new BlockType("minecraft:black_bed"); - public static final BlockType BLACK_CARPET = new BlockType("minecraft:black_carpet"); - public static final BlockType BLACK_CONCRETE = new BlockType("minecraft:black_concrete"); - public static final BlockType BLACK_CONCRETE_POWDER = new BlockType("minecraft:black_concrete_powder"); - public static final BlockType BLACK_GLAZED_TERRACOTTA = new BlockType("minecraft:black_glazed_terracotta"); - public static final BlockType BLACK_SHULKER_BOX = new BlockType("minecraft:black_shulker_box"); - public static final BlockType BLACK_STAINED_GLASS = new BlockType("minecraft:black_stained_glass"); - public static final BlockType BLACK_STAINED_GLASS_PANE = new BlockType("minecraft:black_stained_glass_pane"); - public static final BlockType BLACK_TERRACOTTA = new BlockType("minecraft:black_terracotta"); - public static final BlockType BLACK_WALL_BANNER = new BlockType("minecraft:black_wall_banner"); - public static final BlockType BLACK_WOOL = new BlockType("minecraft:black_wool"); - public static final BlockType BLUE_BANNER = new BlockType("minecraft:blue_banner"); - public static final BlockType BLUE_BED = new BlockType("minecraft:blue_bed"); - public static final BlockType BLUE_CARPET = new BlockType("minecraft:blue_carpet"); - public static final BlockType BLUE_CONCRETE = new BlockType("minecraft:blue_concrete"); - public static final BlockType BLUE_CONCRETE_POWDER = new BlockType("minecraft:blue_concrete_powder"); - public static final BlockType BLUE_GLAZED_TERRACOTTA = new BlockType("minecraft:blue_glazed_terracotta"); - public static final BlockType BLUE_ICE = new BlockType("minecraft:blue_ice"); - public static final BlockType BLUE_ORCHID = new BlockType("minecraft:blue_orchid"); - public static final BlockType BLUE_SHULKER_BOX = new BlockType("minecraft:blue_shulker_box"); - public static final BlockType BLUE_STAINED_GLASS = new BlockType("minecraft:blue_stained_glass"); - public static final BlockType BLUE_STAINED_GLASS_PANE = new BlockType("minecraft:blue_stained_glass_pane"); - public static final BlockType BLUE_TERRACOTTA = new BlockType("minecraft:blue_terracotta"); - public static final BlockType BLUE_WALL_BANNER = new BlockType("minecraft:blue_wall_banner"); - public static final BlockType BLUE_WOOL = new BlockType("minecraft:blue_wool"); - public static final BlockType BONE_BLOCK = new BlockType("minecraft:bone_block"); - public static final BlockType BOOKSHELF = new BlockType("minecraft:bookshelf"); - public static final BlockType BRAIN_CORAL = new BlockType("minecraft:brain_coral"); - public static final BlockType BRAIN_CORAL_BLOCK = new BlockType("minecraft:brain_coral_block"); - public static final BlockType BRAIN_CORAL_FAN = new BlockType("minecraft:brain_coral_fan"); - public static final BlockType BREWING_STAND = new BlockType("minecraft:brewing_stand"); - public static final BlockType BRICK_SLAB = new BlockType("minecraft:brick_slab"); - public static final BlockType BRICK_STAIRS = new BlockType("minecraft:brick_stairs"); - public static final BlockType BRICKS = new BlockType("minecraft:bricks"); - public static final BlockType BROWN_BANNER = new BlockType("minecraft:brown_banner"); - public static final BlockType BROWN_BED = new BlockType("minecraft:brown_bed"); - public static final BlockType BROWN_CARPET = new BlockType("minecraft:brown_carpet"); - public static final BlockType BROWN_CONCRETE = new BlockType("minecraft:brown_concrete"); - public static final BlockType BROWN_CONCRETE_POWDER = new BlockType("minecraft:brown_concrete_powder"); - public static final BlockType BROWN_GLAZED_TERRACOTTA = new BlockType("minecraft:brown_glazed_terracotta"); - public static final BlockType BROWN_MUSHROOM = new BlockType("minecraft:brown_mushroom"); - public static final BlockType BROWN_MUSHROOM_BLOCK = new BlockType("minecraft:brown_mushroom_block"); - public static final BlockType BROWN_SHULKER_BOX = new BlockType("minecraft:brown_shulker_box"); - public static final BlockType BROWN_STAINED_GLASS = new BlockType("minecraft:brown_stained_glass"); - public static final BlockType BROWN_STAINED_GLASS_PANE = new BlockType("minecraft:brown_stained_glass_pane"); - public static final BlockType BROWN_TERRACOTTA = new BlockType("minecraft:brown_terracotta"); - public static final BlockType BROWN_WALL_BANNER = new BlockType("minecraft:brown_wall_banner"); - public static final BlockType BROWN_WOOL = new BlockType("minecraft:brown_wool"); - public static final BlockType BUBBLE_COLUMN = new BlockType("minecraft:bubble_column"); - public static final BlockType BUBBLE_CORAL = new BlockType("minecraft:bubble_coral"); - public static final BlockType BUBBLE_CORAL_BLOCK = new BlockType("minecraft:bubble_coral_block"); - public static final BlockType BUBBLE_CORAL_FAN = new BlockType("minecraft:bubble_coral_fan"); - public static final BlockType CACTUS = new BlockType("minecraft:cactus"); - public static final BlockType CAKE = new BlockType("minecraft:cake"); - public static final BlockType CARROTS = new BlockType("minecraft:carrots"); - public static final BlockType CARVED_PUMPKIN = new BlockType("minecraft:carved_pumpkin"); - public static final BlockType CAULDRON = new BlockType("minecraft:cauldron"); - public static final BlockType CAVE_AIR = new BlockType("minecraft:cave_air"); - public static final BlockType CHAIN_COMMAND_BLOCK = new BlockType("minecraft:chain_command_block"); - public static final BlockType CHEST = new BlockType("minecraft:chest"); - public static final BlockType CHIPPED_ANVIL = new BlockType("minecraft:chipped_anvil"); - public static final BlockType CHISELED_QUARTZ_BLOCK = new BlockType("minecraft:chiseled_quartz_block"); - public static final BlockType CHISELED_RED_SANDSTONE = new BlockType("minecraft:chiseled_red_sandstone"); - public static final BlockType CHISELED_SANDSTONE = new BlockType("minecraft:chiseled_sandstone"); - public static final BlockType CHISELED_STONE_BRICKS = new BlockType("minecraft:chiseled_stone_bricks"); - public static final BlockType CHORUS_FLOWER = new BlockType("minecraft:chorus_flower"); - public static final BlockType CHORUS_PLANT = new BlockType("minecraft:chorus_plant"); - public static final BlockType CLAY = new BlockType("minecraft:clay"); - public static final BlockType COAL_BLOCK = new BlockType("minecraft:coal_block"); - public static final BlockType COAL_ORE = new BlockType("minecraft:coal_ore"); - public static final BlockType COARSE_DIRT = new BlockType("minecraft:coarse_dirt"); - public static final BlockType COBBLESTONE = new BlockType("minecraft:cobblestone"); - public static final BlockType COBBLESTONE_SLAB = new BlockType("minecraft:cobblestone_slab"); - public static final BlockType COBBLESTONE_STAIRS = new BlockType("minecraft:cobblestone_stairs"); - public static final BlockType COBBLESTONE_WALL = new BlockType("minecraft:cobblestone_wall"); - public static final BlockType COBWEB = new BlockType("minecraft:cobweb"); - public static final BlockType COCOA = new BlockType("minecraft:cocoa"); - public static final BlockType COMMAND_BLOCK = new BlockType("minecraft:command_block"); - public static final BlockType COMPARATOR = new BlockType("minecraft:comparator"); - public static final BlockType CONDUIT = new BlockType("minecraft:conduit"); - public static final BlockType CRACKED_STONE_BRICKS = new BlockType("minecraft:cracked_stone_bricks"); - public static final BlockType CRAFTING_TABLE = new BlockType("minecraft:crafting_table"); - public static final BlockType CREEPER_HEAD = new BlockType("minecraft:creeper_head"); - public static final BlockType CREEPER_WALL_HEAD = new BlockType("minecraft:creeper_wall_head"); - public static final BlockType CUT_RED_SANDSTONE = new BlockType("minecraft:cut_red_sandstone"); - public static final BlockType CUT_SANDSTONE = new BlockType("minecraft:cut_sandstone"); - public static final BlockType CYAN_BANNER = new BlockType("minecraft:cyan_banner"); - public static final BlockType CYAN_BED = new BlockType("minecraft:cyan_bed"); - public static final BlockType CYAN_CARPET = new BlockType("minecraft:cyan_carpet"); - public static final BlockType CYAN_CONCRETE = new BlockType("minecraft:cyan_concrete"); - public static final BlockType CYAN_CONCRETE_POWDER = new BlockType("minecraft:cyan_concrete_powder"); - public static final BlockType CYAN_GLAZED_TERRACOTTA = new BlockType("minecraft:cyan_glazed_terracotta"); - public static final BlockType CYAN_SHULKER_BOX = new BlockType("minecraft:cyan_shulker_box"); - public static final BlockType CYAN_STAINED_GLASS = new BlockType("minecraft:cyan_stained_glass"); - public static final BlockType CYAN_STAINED_GLASS_PANE = new BlockType("minecraft:cyan_stained_glass_pane"); - public static final BlockType CYAN_TERRACOTTA = new BlockType("minecraft:cyan_terracotta"); - public static final BlockType CYAN_WALL_BANNER = new BlockType("minecraft:cyan_wall_banner"); - public static final BlockType CYAN_WOOL = new BlockType("minecraft:cyan_wool"); - public static final BlockType DAMAGED_ANVIL = new BlockType("minecraft:damaged_anvil"); - public static final BlockType DANDELION = new BlockType("minecraft:dandelion"); - public static final BlockType DARK_OAK_BARK = new BlockType("minecraft:dark_oak_bark"); - public static final BlockType DARK_OAK_BUTTON = new BlockType("minecraft:dark_oak_button"); - public static final BlockType DARK_OAK_DOOR = new BlockType("minecraft:dark_oak_door"); - public static final BlockType DARK_OAK_FENCE = new BlockType("minecraft:dark_oak_fence"); - public static final BlockType DARK_OAK_FENCE_GATE = new BlockType("minecraft:dark_oak_fence_gate"); - public static final BlockType DARK_OAK_LEAVES = new BlockType("minecraft:dark_oak_leaves"); - public static final BlockType DARK_OAK_LOG = new BlockType("minecraft:dark_oak_log"); - public static final BlockType DARK_OAK_PLANKS = new BlockType("minecraft:dark_oak_planks"); - public static final BlockType DARK_OAK_PRESSURE_PLATE = new BlockType("minecraft:dark_oak_pressure_plate"); - public static final BlockType DARK_OAK_SAPLING = new BlockType("minecraft:dark_oak_sapling"); - public static final BlockType DARK_OAK_SLAB = new BlockType("minecraft:dark_oak_slab"); - public static final BlockType DARK_OAK_STAIRS = new BlockType("minecraft:dark_oak_stairs"); - public static final BlockType DARK_OAK_TRAPDOOR = new BlockType("minecraft:dark_oak_trapdoor"); - public static final BlockType DARK_PRISMARINE = new BlockType("minecraft:dark_prismarine"); - public static final BlockType DARK_PRISMARINE_SLAB = new BlockType("minecraft:dark_prismarine_slab"); - public static final BlockType DARK_PRISMARINE_STAIRS = new BlockType("minecraft:dark_prismarine_stairs"); - public static final BlockType DAYLIGHT_DETECTOR = new BlockType("minecraft:daylight_detector"); - public static final BlockType DEAD_BRAIN_CORAL_BLOCK = new BlockType("minecraft:dead_brain_coral_block"); - public static final BlockType DEAD_BUBBLE_CORAL_BLOCK = new BlockType("minecraft:dead_bubble_coral_block"); - public static final BlockType DEAD_BUSH = new BlockType("minecraft:dead_bush"); - public static final BlockType DEAD_FIRE_CORAL_BLOCK = new BlockType("minecraft:dead_fire_coral_block"); - public static final BlockType DEAD_HORN_CORAL_BLOCK = new BlockType("minecraft:dead_horn_coral_block"); - public static final BlockType DEAD_TUBE_CORAL_BLOCK = new BlockType("minecraft:dead_tube_coral_block"); - public static final BlockType DETECTOR_RAIL = new BlockType("minecraft:detector_rail"); - public static final BlockType DIAMOND_BLOCK = new BlockType("minecraft:diamond_block"); - public static final BlockType DIAMOND_ORE = new BlockType("minecraft:diamond_ore"); - public static final BlockType DIORITE = new BlockType("minecraft:diorite"); - public static final BlockType DIRT = new BlockType("minecraft:dirt"); - public static final BlockType DISPENSER = new BlockType("minecraft:dispenser"); - public static final BlockType DRAGON_EGG = new BlockType("minecraft:dragon_egg"); - public static final BlockType DRAGON_HEAD = new BlockType("minecraft:dragon_head"); - public static final BlockType DRAGON_WALL_HEAD = new BlockType("minecraft:dragon_wall_head"); - public static final BlockType DRIED_KELP_BLOCK = new BlockType("minecraft:dried_kelp_block"); - public static final BlockType DROPPER = new BlockType("minecraft:dropper"); - public static final BlockType EMERALD_BLOCK = new BlockType("minecraft:emerald_block"); - public static final BlockType EMERALD_ORE = new BlockType("minecraft:emerald_ore"); - public static final BlockType ENCHANTING_TABLE = new BlockType("minecraft:enchanting_table"); - public static final BlockType END_GATEWAY = new BlockType("minecraft:end_gateway"); - public static final BlockType END_PORTAL = new BlockType("minecraft:end_portal"); - public static final BlockType END_PORTAL_FRAME = new BlockType("minecraft:end_portal_frame"); - public static final BlockType END_ROD = new BlockType("minecraft:end_rod"); - public static final BlockType END_STONE = new BlockType("minecraft:end_stone"); - public static final BlockType END_STONE_BRICKS = new BlockType("minecraft:end_stone_bricks"); - public static final BlockType ENDER_CHEST = new BlockType("minecraft:ender_chest"); - public static final BlockType FARMLAND = new BlockType("minecraft:farmland"); - public static final BlockType FERN = new BlockType("minecraft:fern"); - public static final BlockType FIRE = new BlockType("minecraft:fire"); - public static final BlockType FIRE_CORAL = new BlockType("minecraft:fire_coral"); - public static final BlockType FIRE_CORAL_BLOCK = new BlockType("minecraft:fire_coral_block"); - public static final BlockType FIRE_CORAL_FAN = new BlockType("minecraft:fire_coral_fan"); - public static final BlockType FLOWER_POT = new BlockType("minecraft:flower_pot"); - public static final BlockType FROSTED_ICE = new BlockType("minecraft:frosted_ice"); - public static final BlockType FURNACE = new BlockType("minecraft:furnace"); - public static final BlockType GLASS = new BlockType("minecraft:glass"); - public static final BlockType GLASS_PANE = new BlockType("minecraft:glass_pane"); - public static final BlockType GLOWSTONE = new BlockType("minecraft:glowstone"); - public static final BlockType GOLD_BLOCK = new BlockType("minecraft:gold_block"); - public static final BlockType GOLD_ORE = new BlockType("minecraft:gold_ore"); - public static final BlockType GRANITE = new BlockType("minecraft:granite"); - public static final BlockType GRASS = new BlockType("minecraft:grass"); - public static final BlockType GRASS_BLOCK = new BlockType("minecraft:grass_block"); - public static final BlockType GRASS_PATH = new BlockType("minecraft:grass_path"); - public static final BlockType GRAVEL = new BlockType("minecraft:gravel"); - public static final BlockType GRAY_BANNER = new BlockType("minecraft:gray_banner"); - public static final BlockType GRAY_BED = new BlockType("minecraft:gray_bed"); - public static final BlockType GRAY_CARPET = new BlockType("minecraft:gray_carpet"); - public static final BlockType GRAY_CONCRETE = new BlockType("minecraft:gray_concrete"); - public static final BlockType GRAY_CONCRETE_POWDER = new BlockType("minecraft:gray_concrete_powder"); - public static final BlockType GRAY_GLAZED_TERRACOTTA = new BlockType("minecraft:gray_glazed_terracotta"); - public static final BlockType GRAY_SHULKER_BOX = new BlockType("minecraft:gray_shulker_box"); - public static final BlockType GRAY_STAINED_GLASS = new BlockType("minecraft:gray_stained_glass"); - public static final BlockType GRAY_STAINED_GLASS_PANE = new BlockType("minecraft:gray_stained_glass_pane"); - public static final BlockType GRAY_TERRACOTTA = new BlockType("minecraft:gray_terracotta"); - public static final BlockType GRAY_WALL_BANNER = new BlockType("minecraft:gray_wall_banner"); - public static final BlockType GRAY_WOOL = new BlockType("minecraft:gray_wool"); - public static final BlockType GREEN_BANNER = new BlockType("minecraft:green_banner"); - public static final BlockType GREEN_BED = new BlockType("minecraft:green_bed"); - public static final BlockType GREEN_CARPET = new BlockType("minecraft:green_carpet"); - public static final BlockType GREEN_CONCRETE = new BlockType("minecraft:green_concrete"); - public static final BlockType GREEN_CONCRETE_POWDER = new BlockType("minecraft:green_concrete_powder"); - public static final BlockType GREEN_GLAZED_TERRACOTTA = new BlockType("minecraft:green_glazed_terracotta"); - public static final BlockType GREEN_SHULKER_BOX = new BlockType("minecraft:green_shulker_box"); - public static final BlockType GREEN_STAINED_GLASS = new BlockType("minecraft:green_stained_glass"); - public static final BlockType GREEN_STAINED_GLASS_PANE = new BlockType("minecraft:green_stained_glass_pane"); - public static final BlockType GREEN_TERRACOTTA = new BlockType("minecraft:green_terracotta"); - public static final BlockType GREEN_WALL_BANNER = new BlockType("minecraft:green_wall_banner"); - public static final BlockType GREEN_WOOL = new BlockType("minecraft:green_wool"); - public static final BlockType HAY_BLOCK = new BlockType("minecraft:hay_block"); - public static final BlockType HEAVY_WEIGHTED_PRESSURE_PLATE = new BlockType("minecraft:heavy_weighted_pressure_plate"); - public static final BlockType HOPPER = new BlockType("minecraft:hopper"); - public static final BlockType HORN_CORAL = new BlockType("minecraft:horn_coral"); - public static final BlockType HORN_CORAL_BLOCK = new BlockType("minecraft:horn_coral_block"); - public static final BlockType HORN_CORAL_FAN = new BlockType("minecraft:horn_coral_fan"); - public static final BlockType ICE = new BlockType("minecraft:ice"); - public static final BlockType INFESTED_CHISELED_STONE_BRICKS = new BlockType("minecraft:infested_chiseled_stone_bricks"); - public static final BlockType INFESTED_COBBLESTONE = new BlockType("minecraft:infested_cobblestone"); - public static final BlockType INFESTED_CRACKED_STONE_BRICKS = new BlockType("minecraft:infested_cracked_stone_bricks"); - public static final BlockType INFESTED_MOSSY_STONE_BRICKS = new BlockType("minecraft:infested_mossy_stone_bricks"); - public static final BlockType INFESTED_STONE = new BlockType("minecraft:infested_stone"); - public static final BlockType INFESTED_STONE_BRICKS = new BlockType("minecraft:infested_stone_bricks"); - public static final BlockType IRON_BARS = new BlockType("minecraft:iron_bars"); - public static final BlockType IRON_BLOCK = new BlockType("minecraft:iron_block"); - public static final BlockType IRON_DOOR = new BlockType("minecraft:iron_door"); - public static final BlockType IRON_ORE = new BlockType("minecraft:iron_ore"); - public static final BlockType IRON_TRAPDOOR = new BlockType("minecraft:iron_trapdoor"); - public static final BlockType JACK_O_LANTERN = new BlockType("minecraft:jack_o_lantern"); - public static final BlockType JUKEBOX = new BlockType("minecraft:jukebox"); - public static final BlockType JUNGLE_BARK = new BlockType("minecraft:jungle_bark"); - public static final BlockType JUNGLE_BUTTON = new BlockType("minecraft:jungle_button"); - public static final BlockType JUNGLE_DOOR = new BlockType("minecraft:jungle_door"); - public static final BlockType JUNGLE_FENCE = new BlockType("minecraft:jungle_fence"); - public static final BlockType JUNGLE_FENCE_GATE = new BlockType("minecraft:jungle_fence_gate"); - public static final BlockType JUNGLE_LEAVES = new BlockType("minecraft:jungle_leaves"); - public static final BlockType JUNGLE_LOG = new BlockType("minecraft:jungle_log"); - public static final BlockType JUNGLE_PLANKS = new BlockType("minecraft:jungle_planks"); - public static final BlockType JUNGLE_PRESSURE_PLATE = new BlockType("minecraft:jungle_pressure_plate"); - public static final BlockType JUNGLE_SAPLING = new BlockType("minecraft:jungle_sapling"); - public static final BlockType JUNGLE_SLAB = new BlockType("minecraft:jungle_slab"); - public static final BlockType JUNGLE_STAIRS = new BlockType("minecraft:jungle_stairs"); - public static final BlockType JUNGLE_TRAPDOOR = new BlockType("minecraft:jungle_trapdoor"); - public static final BlockType KELP = new BlockType("minecraft:kelp"); - public static final BlockType KELP_PLANT = new BlockType("minecraft:kelp_plant"); - public static final BlockType LADDER = new BlockType("minecraft:ladder"); - public static final BlockType LAPIS_BLOCK = new BlockType("minecraft:lapis_block"); - public static final BlockType LAPIS_ORE = new BlockType("minecraft:lapis_ore"); - public static final BlockType LARGE_FERN = new BlockType("minecraft:large_fern"); - public static final BlockType LAVA = new BlockType("minecraft:lava"); - public static final BlockType LEVER = new BlockType("minecraft:lever"); - public static final BlockType LIGHT_BLUE_BANNER = new BlockType("minecraft:light_blue_banner"); - public static final BlockType LIGHT_BLUE_BED = new BlockType("minecraft:light_blue_bed"); - public static final BlockType LIGHT_BLUE_CARPET = new BlockType("minecraft:light_blue_carpet"); - public static final BlockType LIGHT_BLUE_CONCRETE = new BlockType("minecraft:light_blue_concrete"); - public static final BlockType LIGHT_BLUE_CONCRETE_POWDER = new BlockType("minecraft:light_blue_concrete_powder"); - public static final BlockType LIGHT_BLUE_GLAZED_TERRACOTTA = new BlockType("minecraft:light_blue_glazed_terracotta"); - public static final BlockType LIGHT_BLUE_SHULKER_BOX = new BlockType("minecraft:light_blue_shulker_box"); - public static final BlockType LIGHT_BLUE_STAINED_GLASS = new BlockType("minecraft:light_blue_stained_glass"); - public static final BlockType LIGHT_BLUE_STAINED_GLASS_PANE = new BlockType("minecraft:light_blue_stained_glass_pane"); - public static final BlockType LIGHT_BLUE_TERRACOTTA = new BlockType("minecraft:light_blue_terracotta"); - public static final BlockType LIGHT_BLUE_WALL_BANNER = new BlockType("minecraft:light_blue_wall_banner"); - public static final BlockType LIGHT_BLUE_WOOL = new BlockType("minecraft:light_blue_wool"); - public static final BlockType LIGHT_GRAY_BANNER = new BlockType("minecraft:light_gray_banner"); - public static final BlockType LIGHT_GRAY_BED = new BlockType("minecraft:light_gray_bed"); - public static final BlockType LIGHT_GRAY_CARPET = new BlockType("minecraft:light_gray_carpet"); - public static final BlockType LIGHT_GRAY_CONCRETE = new BlockType("minecraft:light_gray_concrete"); - public static final BlockType LIGHT_GRAY_CONCRETE_POWDER = new BlockType("minecraft:light_gray_concrete_powder"); - public static final BlockType LIGHT_GRAY_GLAZED_TERRACOTTA = new BlockType("minecraft:light_gray_glazed_terracotta"); - public static final BlockType LIGHT_GRAY_SHULKER_BOX = new BlockType("minecraft:light_gray_shulker_box"); - public static final BlockType LIGHT_GRAY_STAINED_GLASS = new BlockType("minecraft:light_gray_stained_glass"); - public static final BlockType LIGHT_GRAY_STAINED_GLASS_PANE = new BlockType("minecraft:light_gray_stained_glass_pane"); - public static final BlockType LIGHT_GRAY_TERRACOTTA = new BlockType("minecraft:light_gray_terracotta"); - public static final BlockType LIGHT_GRAY_WALL_BANNER = new BlockType("minecraft:light_gray_wall_banner"); - public static final BlockType LIGHT_GRAY_WOOL = new BlockType("minecraft:light_gray_wool"); - public static final BlockType LIGHT_WEIGHTED_PRESSURE_PLATE = new BlockType("minecraft:light_weighted_pressure_plate"); - public static final BlockType LILAC = new BlockType("minecraft:lilac"); - public static final BlockType LILY_PAD = new BlockType("minecraft:lily_pad"); - public static final BlockType LIME_BANNER = new BlockType("minecraft:lime_banner"); - public static final BlockType LIME_BED = new BlockType("minecraft:lime_bed"); - public static final BlockType LIME_CARPET = new BlockType("minecraft:lime_carpet"); - public static final BlockType LIME_CONCRETE = new BlockType("minecraft:lime_concrete"); - public static final BlockType LIME_CONCRETE_POWDER = new BlockType("minecraft:lime_concrete_powder"); - public static final BlockType LIME_GLAZED_TERRACOTTA = new BlockType("minecraft:lime_glazed_terracotta"); - public static final BlockType LIME_SHULKER_BOX = new BlockType("minecraft:lime_shulker_box"); - public static final BlockType LIME_STAINED_GLASS = new BlockType("minecraft:lime_stained_glass"); - public static final BlockType LIME_STAINED_GLASS_PANE = new BlockType("minecraft:lime_stained_glass_pane"); - public static final BlockType LIME_TERRACOTTA = new BlockType("minecraft:lime_terracotta"); - public static final BlockType LIME_WALL_BANNER = new BlockType("minecraft:lime_wall_banner"); - public static final BlockType LIME_WOOL = new BlockType("minecraft:lime_wool"); - public static final BlockType MAGENTA_BANNER = new BlockType("minecraft:magenta_banner"); - public static final BlockType MAGENTA_BED = new BlockType("minecraft:magenta_bed"); - public static final BlockType MAGENTA_CARPET = new BlockType("minecraft:magenta_carpet"); - public static final BlockType MAGENTA_CONCRETE = new BlockType("minecraft:magenta_concrete"); - public static final BlockType MAGENTA_CONCRETE_POWDER = new BlockType("minecraft:magenta_concrete_powder"); - public static final BlockType MAGENTA_GLAZED_TERRACOTTA = new BlockType("minecraft:magenta_glazed_terracotta"); - public static final BlockType MAGENTA_SHULKER_BOX = new BlockType("minecraft:magenta_shulker_box"); - public static final BlockType MAGENTA_STAINED_GLASS = new BlockType("minecraft:magenta_stained_glass"); - public static final BlockType MAGENTA_STAINED_GLASS_PANE = new BlockType("minecraft:magenta_stained_glass_pane"); - public static final BlockType MAGENTA_TERRACOTTA = new BlockType("minecraft:magenta_terracotta"); - public static final BlockType MAGENTA_WALL_BANNER = new BlockType("minecraft:magenta_wall_banner"); - public static final BlockType MAGENTA_WOOL = new BlockType("minecraft:magenta_wool"); - public static final BlockType MAGMA_BLOCK = new BlockType("minecraft:magma_block"); - public static final BlockType MELON = new BlockType("minecraft:melon"); - public static final BlockType MELON_STEM = new BlockType("minecraft:melon_stem"); - public static final BlockType MOB_SPAWNER = new BlockType("minecraft:mob_spawner"); - public static final BlockType MOSSY_COBBLESTONE = new BlockType("minecraft:mossy_cobblestone"); - public static final BlockType MOSSY_COBBLESTONE_WALL = new BlockType("minecraft:mossy_cobblestone_wall"); - public static final BlockType MOSSY_STONE_BRICKS = new BlockType("minecraft:mossy_stone_bricks"); - public static final BlockType MOVING_PISTON = new BlockType("minecraft:moving_piston"); - public static final BlockType MUSHROOM_STEM = new BlockType("minecraft:mushroom_stem"); - public static final BlockType MYCELIUM = new BlockType("minecraft:mycelium"); - public static final BlockType NETHER_BRICK_FENCE = new BlockType("minecraft:nether_brick_fence"); - public static final BlockType NETHER_BRICK_SLAB = new BlockType("minecraft:nether_brick_slab"); - public static final BlockType NETHER_BRICK_STAIRS = new BlockType("minecraft:nether_brick_stairs"); - public static final BlockType NETHER_BRICKS = new BlockType("minecraft:nether_bricks"); - public static final BlockType NETHER_QUARTZ_ORE = new BlockType("minecraft:nether_quartz_ore"); - public static final BlockType NETHER_WART = new BlockType("minecraft:nether_wart"); - public static final BlockType NETHER_WART_BLOCK = new BlockType("minecraft:nether_wart_block"); - public static final BlockType NETHERRACK = new BlockType("minecraft:netherrack"); - public static final BlockType NOTE_BLOCK = new BlockType("minecraft:note_block"); - public static final BlockType OAK_BARK = new BlockType("minecraft:oak_bark"); - public static final BlockType OAK_BUTTON = new BlockType("minecraft:oak_button"); - public static final BlockType OAK_DOOR = new BlockType("minecraft:oak_door"); - public static final BlockType OAK_FENCE = new BlockType("minecraft:oak_fence"); - public static final BlockType OAK_FENCE_GATE = new BlockType("minecraft:oak_fence_gate"); - public static final BlockType OAK_LEAVES = new BlockType("minecraft:oak_leaves"); - public static final BlockType OAK_LOG = new BlockType("minecraft:oak_log"); - public static final BlockType OAK_PLANKS = new BlockType("minecraft:oak_planks"); - public static final BlockType OAK_PRESSURE_PLATE = new BlockType("minecraft:oak_pressure_plate"); - public static final BlockType OAK_SAPLING = new BlockType("minecraft:oak_sapling"); - public static final BlockType OAK_SLAB = new BlockType("minecraft:oak_slab"); - public static final BlockType OAK_STAIRS = new BlockType("minecraft:oak_stairs"); - public static final BlockType OAK_TRAPDOOR = new BlockType("minecraft:oak_trapdoor"); - public static final BlockType OBSERVER = new BlockType("minecraft:observer"); - public static final BlockType OBSIDIAN = new BlockType("minecraft:obsidian"); - public static final BlockType ORANGE_BANNER = new BlockType("minecraft:orange_banner"); - public static final BlockType ORANGE_BED = new BlockType("minecraft:orange_bed"); - public static final BlockType ORANGE_CARPET = new BlockType("minecraft:orange_carpet"); - public static final BlockType ORANGE_CONCRETE = new BlockType("minecraft:orange_concrete"); - public static final BlockType ORANGE_CONCRETE_POWDER = new BlockType("minecraft:orange_concrete_powder"); - public static final BlockType ORANGE_GLAZED_TERRACOTTA = new BlockType("minecraft:orange_glazed_terracotta"); - public static final BlockType ORANGE_SHULKER_BOX = new BlockType("minecraft:orange_shulker_box"); - public static final BlockType ORANGE_STAINED_GLASS = new BlockType("minecraft:orange_stained_glass"); - public static final BlockType ORANGE_STAINED_GLASS_PANE = new BlockType("minecraft:orange_stained_glass_pane"); - public static final BlockType ORANGE_TERRACOTTA = new BlockType("minecraft:orange_terracotta"); - public static final BlockType ORANGE_TULIP = new BlockType("minecraft:orange_tulip"); - public static final BlockType ORANGE_WALL_BANNER = new BlockType("minecraft:orange_wall_banner"); - public static final BlockType ORANGE_WOOL = new BlockType("minecraft:orange_wool"); - public static final BlockType OXEYE_DAISY = new BlockType("minecraft:oxeye_daisy"); - public static final BlockType PACKED_ICE = new BlockType("minecraft:packed_ice"); - public static final BlockType PEONY = new BlockType("minecraft:peony"); - public static final BlockType PETRIFIED_OAK_SLAB = new BlockType("minecraft:petrified_oak_slab"); - public static final BlockType PINK_BANNER = new BlockType("minecraft:pink_banner"); - public static final BlockType PINK_BED = new BlockType("minecraft:pink_bed"); - public static final BlockType PINK_CARPET = new BlockType("minecraft:pink_carpet"); - public static final BlockType PINK_CONCRETE = new BlockType("minecraft:pink_concrete"); - public static final BlockType PINK_CONCRETE_POWDER = new BlockType("minecraft:pink_concrete_powder"); - public static final BlockType PINK_GLAZED_TERRACOTTA = new BlockType("minecraft:pink_glazed_terracotta"); - public static final BlockType PINK_SHULKER_BOX = new BlockType("minecraft:pink_shulker_box"); - public static final BlockType PINK_STAINED_GLASS = new BlockType("minecraft:pink_stained_glass"); - public static final BlockType PINK_STAINED_GLASS_PANE = new BlockType("minecraft:pink_stained_glass_pane"); - public static final BlockType PINK_TERRACOTTA = new BlockType("minecraft:pink_terracotta"); - public static final BlockType PINK_TULIP = new BlockType("minecraft:pink_tulip"); - public static final BlockType PINK_WALL_BANNER = new BlockType("minecraft:pink_wall_banner"); - public static final BlockType PINK_WOOL = new BlockType("minecraft:pink_wool"); - public static final BlockType PISTON = new BlockType("minecraft:piston"); - public static final BlockType PISTON_HEAD = new BlockType("minecraft:piston_head"); - public static final BlockType PLAYER_HEAD = new BlockType("minecraft:player_head"); - public static final BlockType PLAYER_WALL_HEAD = new BlockType("minecraft:player_wall_head"); - public static final BlockType PODZOL = new BlockType("minecraft:podzol"); - public static final BlockType POLISHED_ANDESITE = new BlockType("minecraft:polished_andesite"); - public static final BlockType POLISHED_DIORITE = new BlockType("minecraft:polished_diorite"); - public static final BlockType POLISHED_GRANITE = new BlockType("minecraft:polished_granite"); - public static final BlockType POPPY = new BlockType("minecraft:poppy"); - public static final BlockType PORTAL = new BlockType("minecraft:portal"); - public static final BlockType POTATOES = new BlockType("minecraft:potatoes"); - public static final BlockType POTTED_ACACIA_SAPLING = new BlockType("minecraft:potted_acacia_sapling"); - public static final BlockType POTTED_ALLIUM = new BlockType("minecraft:potted_allium"); - public static final BlockType POTTED_AZURE_BLUET = new BlockType("minecraft:potted_azure_bluet"); - public static final BlockType POTTED_BIRCH_SAPLING = new BlockType("minecraft:potted_birch_sapling"); - public static final BlockType POTTED_BLUE_ORCHID = new BlockType("minecraft:potted_blue_orchid"); - public static final BlockType POTTED_BROWN_MUSHROOM = new BlockType("minecraft:potted_brown_mushroom"); - public static final BlockType POTTED_CACTUS = new BlockType("minecraft:potted_cactus"); - public static final BlockType POTTED_DANDELION = new BlockType("minecraft:potted_dandelion"); - public static final BlockType POTTED_DARK_OAK_SAPLING = new BlockType("minecraft:potted_dark_oak_sapling"); - public static final BlockType POTTED_DEAD_BUSH = new BlockType("minecraft:potted_dead_bush"); - public static final BlockType POTTED_FERN = new BlockType("minecraft:potted_fern"); - public static final BlockType POTTED_JUNGLE_SAPLING = new BlockType("minecraft:potted_jungle_sapling"); - public static final BlockType POTTED_OAK_SAPLING = new BlockType("minecraft:potted_oak_sapling"); - public static final BlockType POTTED_ORANGE_TULIP = new BlockType("minecraft:potted_orange_tulip"); - public static final BlockType POTTED_OXEYE_DAISY = new BlockType("minecraft:potted_oxeye_daisy"); - public static final BlockType POTTED_PINK_TULIP = new BlockType("minecraft:potted_pink_tulip"); - public static final BlockType POTTED_POPPY = new BlockType("minecraft:potted_poppy"); - public static final BlockType POTTED_RED_MUSHROOM = new BlockType("minecraft:potted_red_mushroom"); - public static final BlockType POTTED_RED_TULIP = new BlockType("minecraft:potted_red_tulip"); - public static final BlockType POTTED_SPRUCE_SAPLING = new BlockType("minecraft:potted_spruce_sapling"); - public static final BlockType POTTED_WHITE_TULIP = new BlockType("minecraft:potted_white_tulip"); - public static final BlockType POWERED_RAIL = new BlockType("minecraft:powered_rail"); - public static final BlockType PRISMARINE = new BlockType("minecraft:prismarine"); - public static final BlockType PRISMARINE_BRICK_SLAB = new BlockType("minecraft:prismarine_brick_slab"); - public static final BlockType PRISMARINE_BRICK_STAIRS = new BlockType("minecraft:prismarine_brick_stairs"); - public static final BlockType PRISMARINE_BRICKS = new BlockType("minecraft:prismarine_bricks"); - public static final BlockType PRISMARINE_SLAB = new BlockType("minecraft:prismarine_slab"); - public static final BlockType PRISMARINE_STAIRS = new BlockType("minecraft:prismarine_stairs"); - public static final BlockType PUMPKIN = new BlockType("minecraft:pumpkin"); - public static final BlockType PUMPKIN_STEM = new BlockType("minecraft:pumpkin_stem"); - public static final BlockType PURPLE_BANNER = new BlockType("minecraft:purple_banner"); - public static final BlockType PURPLE_BED = new BlockType("minecraft:purple_bed"); - public static final BlockType PURPLE_CARPET = new BlockType("minecraft:purple_carpet"); - public static final BlockType PURPLE_CONCRETE = new BlockType("minecraft:purple_concrete"); - public static final BlockType PURPLE_CONCRETE_POWDER = new BlockType("minecraft:purple_concrete_powder"); - public static final BlockType PURPLE_GLAZED_TERRACOTTA = new BlockType("minecraft:purple_glazed_terracotta"); - public static final BlockType PURPLE_SHULKER_BOX = new BlockType("minecraft:purple_shulker_box"); - public static final BlockType PURPLE_STAINED_GLASS = new BlockType("minecraft:purple_stained_glass"); - public static final BlockType PURPLE_STAINED_GLASS_PANE = new BlockType("minecraft:purple_stained_glass_pane"); - public static final BlockType PURPLE_TERRACOTTA = new BlockType("minecraft:purple_terracotta"); - public static final BlockType PURPLE_WALL_BANNER = new BlockType("minecraft:purple_wall_banner"); - public static final BlockType PURPLE_WOOL = new BlockType("minecraft:purple_wool"); - public static final BlockType PURPUR_BLOCK = new BlockType("minecraft:purpur_block"); - public static final BlockType PURPUR_PILLAR = new BlockType("minecraft:purpur_pillar"); - public static final BlockType PURPUR_SLAB = new BlockType("minecraft:purpur_slab"); - public static final BlockType PURPUR_STAIRS = new BlockType("minecraft:purpur_stairs"); - public static final BlockType QUARTZ_BLOCK = new BlockType("minecraft:quartz_block"); - public static final BlockType QUARTZ_PILLAR = new BlockType("minecraft:quartz_pillar"); - public static final BlockType QUARTZ_SLAB = new BlockType("minecraft:quartz_slab"); - public static final BlockType QUARTZ_STAIRS = new BlockType("minecraft:quartz_stairs"); - public static final BlockType RAIL = new BlockType("minecraft:rail"); - public static final BlockType RED_BANNER = new BlockType("minecraft:red_banner"); - public static final BlockType RED_BED = new BlockType("minecraft:red_bed"); - public static final BlockType RED_CARPET = new BlockType("minecraft:red_carpet"); - public static final BlockType RED_CONCRETE = new BlockType("minecraft:red_concrete"); - public static final BlockType RED_CONCRETE_POWDER = new BlockType("minecraft:red_concrete_powder"); - public static final BlockType RED_GLAZED_TERRACOTTA = new BlockType("minecraft:red_glazed_terracotta"); - public static final BlockType RED_MUSHROOM = new BlockType("minecraft:red_mushroom"); - public static final BlockType RED_MUSHROOM_BLOCK = new BlockType("minecraft:red_mushroom_block"); - public static final BlockType RED_NETHER_BRICKS = new BlockType("minecraft:red_nether_bricks"); - public static final BlockType RED_SAND = new BlockType("minecraft:red_sand"); - public static final BlockType RED_SANDSTONE = new BlockType("minecraft:red_sandstone"); - public static final BlockType RED_SANDSTONE_SLAB = new BlockType("minecraft:red_sandstone_slab"); - public static final BlockType RED_SANDSTONE_STAIRS = new BlockType("minecraft:red_sandstone_stairs"); - public static final BlockType RED_SHULKER_BOX = new BlockType("minecraft:red_shulker_box"); - public static final BlockType RED_STAINED_GLASS = new BlockType("minecraft:red_stained_glass"); - public static final BlockType RED_STAINED_GLASS_PANE = new BlockType("minecraft:red_stained_glass_pane"); - public static final BlockType RED_TERRACOTTA = new BlockType("minecraft:red_terracotta"); - public static final BlockType RED_TULIP = new BlockType("minecraft:red_tulip"); - public static final BlockType RED_WALL_BANNER = new BlockType("minecraft:red_wall_banner"); - public static final BlockType RED_WOOL = new BlockType("minecraft:red_wool"); - public static final BlockType REDSTONE_BLOCK = new BlockType("minecraft:redstone_block"); - public static final BlockType REDSTONE_LAMP = new BlockType("minecraft:redstone_lamp"); - public static final BlockType REDSTONE_ORE = new BlockType("minecraft:redstone_ore"); - public static final BlockType REDSTONE_TORCH = new BlockType("minecraft:redstone_torch"); - public static final BlockType REDSTONE_WALL_TORCH = new BlockType("minecraft:redstone_wall_torch"); - public static final BlockType REDSTONE_WIRE = new BlockType("minecraft:redstone_wire"); - public static final BlockType REPEATER = new BlockType("minecraft:repeater"); - public static final BlockType REPEATING_COMMAND_BLOCK = new BlockType("minecraft:repeating_command_block"); - public static final BlockType ROSE_BUSH = new BlockType("minecraft:rose_bush"); - public static final BlockType SAND = new BlockType("minecraft:sand"); - public static final BlockType SANDSTONE = new BlockType("minecraft:sandstone"); - public static final BlockType SANDSTONE_SLAB = new BlockType("minecraft:sandstone_slab"); - public static final BlockType SANDSTONE_STAIRS = new BlockType("minecraft:sandstone_stairs"); - public static final BlockType SEA_LANTERN = new BlockType("minecraft:sea_lantern"); - public static final BlockType SEA_PICKLE = new BlockType("minecraft:sea_pickle"); - public static final BlockType SEAGRASS = new BlockType("minecraft:seagrass"); - public static final BlockType SHULKER_BOX = new BlockType("minecraft:shulker_box"); - public static final BlockType SIGN = new BlockType("minecraft:sign"); - public static final BlockType SKELETON_SKULL = new BlockType("minecraft:skeleton_skull"); - public static final BlockType SKELETON_WALL_SKULL = new BlockType("minecraft:skeleton_wall_skull"); - public static final BlockType SLIME_BLOCK = new BlockType("minecraft:slime_block"); - public static final BlockType SMOOTH_QUARTZ = new BlockType("minecraft:smooth_quartz"); - public static final BlockType SMOOTH_RED_SANDSTONE = new BlockType("minecraft:smooth_red_sandstone"); - public static final BlockType SMOOTH_SANDSTONE = new BlockType("minecraft:smooth_sandstone"); - public static final BlockType SMOOTH_STONE = new BlockType("minecraft:smooth_stone"); - public static final BlockType SNOW = new BlockType("minecraft:snow"); - public static final BlockType SNOW_BLOCK = new BlockType("minecraft:snow_block"); - public static final BlockType SOUL_SAND = new BlockType("minecraft:soul_sand"); - public static final BlockType SPONGE = new BlockType("minecraft:sponge"); - public static final BlockType SPRUCE_BARK = new BlockType("minecraft:spruce_bark"); - public static final BlockType SPRUCE_BUTTON = new BlockType("minecraft:spruce_button"); - public static final BlockType SPRUCE_DOOR = new BlockType("minecraft:spruce_door"); - public static final BlockType SPRUCE_FENCE = new BlockType("minecraft:spruce_fence"); - public static final BlockType SPRUCE_FENCE_GATE = new BlockType("minecraft:spruce_fence_gate"); - public static final BlockType SPRUCE_LEAVES = new BlockType("minecraft:spruce_leaves"); - public static final BlockType SPRUCE_LOG = new BlockType("minecraft:spruce_log"); - public static final BlockType SPRUCE_PLANKS = new BlockType("minecraft:spruce_planks"); - public static final BlockType SPRUCE_PRESSURE_PLATE = new BlockType("minecraft:spruce_pressure_plate"); - public static final BlockType SPRUCE_SAPLING = new BlockType("minecraft:spruce_sapling"); - public static final BlockType SPRUCE_SLAB = new BlockType("minecraft:spruce_slab"); - public static final BlockType SPRUCE_STAIRS = new BlockType("minecraft:spruce_stairs"); - public static final BlockType SPRUCE_TRAPDOOR = new BlockType("minecraft:spruce_trapdoor"); - public static final BlockType STICKY_PISTON = new BlockType("minecraft:sticky_piston"); - public static final BlockType STONE = new BlockType("minecraft:stone"); - public static final BlockType STONE_BRICK_SLAB = new BlockType("minecraft:stone_brick_slab"); - public static final BlockType STONE_BRICK_STAIRS = new BlockType("minecraft:stone_brick_stairs"); - public static final BlockType STONE_BRICKS = new BlockType("minecraft:stone_bricks"); - public static final BlockType STONE_BUTTON = new BlockType("minecraft:stone_button"); - public static final BlockType STONE_PRESSURE_PLATE = new BlockType("minecraft:stone_pressure_plate"); - public static final BlockType STONE_SLAB = new BlockType("minecraft:stone_slab"); - public static final BlockType STRIPPED_ACACIA_LOG = new BlockType("minecraft:stripped_acacia_log"); - public static final BlockType STRIPPED_BIRCH_LOG = new BlockType("minecraft:stripped_birch_log"); - public static final BlockType STRIPPED_DARK_OAK_LOG = new BlockType("minecraft:stripped_dark_oak_log"); - public static final BlockType STRIPPED_JUNGLE_LOG = new BlockType("minecraft:stripped_jungle_log"); - public static final BlockType STRIPPED_OAK_LOG = new BlockType("minecraft:stripped_oak_log"); - public static final BlockType STRIPPED_SPRUCE_LOG = new BlockType("minecraft:stripped_spruce_log"); - public static final BlockType STRUCTURE_BLOCK = new BlockType("minecraft:structure_block"); - public static final BlockType STRUCTURE_VOID = new BlockType("minecraft:structure_void"); - public static final BlockType SUGAR_CANE = new BlockType("minecraft:sugar_cane"); - public static final BlockType SUNFLOWER = new BlockType("minecraft:sunflower"); - public static final BlockType TALL_GRASS = new BlockType("minecraft:tall_grass"); - public static final BlockType TALL_SEAGRASS = new BlockType("minecraft:tall_seagrass"); - public static final BlockType TERRACOTTA = new BlockType("minecraft:terracotta"); - public static final BlockType TNT = new BlockType("minecraft:tnt"); - public static final BlockType TORCH = new BlockType("minecraft:torch"); - public static final BlockType TRAPPED_CHEST = new BlockType("minecraft:trapped_chest"); - public static final BlockType TRIPWIRE = new BlockType("minecraft:tripwire"); - public static final BlockType TRIPWIRE_HOOK = new BlockType("minecraft:tripwire_hook"); - public static final BlockType TUBE_CORAL = new BlockType("minecraft:tube_coral"); - public static final BlockType TUBE_CORAL_BLOCK = new BlockType("minecraft:tube_coral_block"); - public static final BlockType TUBE_CORAL_FAN = new BlockType("minecraft:tube_coral_fan"); - public static final BlockType TURTLE_EGG = new BlockType("minecraft:turtle_egg"); - public static final BlockType VINE = new BlockType("minecraft:vine"); - public static final BlockType VOID_AIR = new BlockType("minecraft:void_air"); - public static final BlockType WALL_SIGN = new BlockType("minecraft:wall_sign"); - public static final BlockType WALL_TORCH = new BlockType("minecraft:wall_torch"); - public static final BlockType WATER = new BlockType("minecraft:water"); - public static final BlockType WET_SPONGE = new BlockType("minecraft:wet_sponge"); - public static final BlockType WHEAT = new BlockType("minecraft:wheat"); - public static final BlockType WHITE_BANNER = new BlockType("minecraft:white_banner"); - public static final BlockType WHITE_BED = new BlockType("minecraft:white_bed"); - public static final BlockType WHITE_CARPET = new BlockType("minecraft:white_carpet"); - public static final BlockType WHITE_CONCRETE = new BlockType("minecraft:white_concrete"); - public static final BlockType WHITE_CONCRETE_POWDER = new BlockType("minecraft:white_concrete_powder"); - public static final BlockType WHITE_GLAZED_TERRACOTTA = new BlockType("minecraft:white_glazed_terracotta"); - public static final BlockType WHITE_SHULKER_BOX = new BlockType("minecraft:white_shulker_box"); - public static final BlockType WHITE_STAINED_GLASS = new BlockType("minecraft:white_stained_glass"); - public static final BlockType WHITE_STAINED_GLASS_PANE = new BlockType("minecraft:white_stained_glass_pane"); - public static final BlockType WHITE_TERRACOTTA = new BlockType("minecraft:white_terracotta"); - public static final BlockType WHITE_TULIP = new BlockType("minecraft:white_tulip"); - public static final BlockType WHITE_WALL_BANNER = new BlockType("minecraft:white_wall_banner"); - public static final BlockType WHITE_WOOL = new BlockType("minecraft:white_wool"); - public static final BlockType WITHER_SKELETON_SKULL = new BlockType("minecraft:wither_skeleton_skull"); - public static final BlockType WITHER_SKELETON_WALL_SKULL = new BlockType("minecraft:wither_skeleton_wall_skull"); - public static final BlockType YELLOW_BANNER = new BlockType("minecraft:yellow_banner"); - public static final BlockType YELLOW_BED = new BlockType("minecraft:yellow_bed"); - public static final BlockType YELLOW_CARPET = new BlockType("minecraft:yellow_carpet"); - public static final BlockType YELLOW_CONCRETE = new BlockType("minecraft:yellow_concrete"); - public static final BlockType YELLOW_CONCRETE_POWDER = new BlockType("minecraft:yellow_concrete_powder"); - public static final BlockType YELLOW_GLAZED_TERRACOTTA = new BlockType("minecraft:yellow_glazed_terracotta"); - public static final BlockType YELLOW_SHULKER_BOX = new BlockType("minecraft:yellow_shulker_box"); - public static final BlockType YELLOW_STAINED_GLASS = new BlockType("minecraft:yellow_stained_glass"); - public static final BlockType YELLOW_STAINED_GLASS_PANE = new BlockType("minecraft:yellow_stained_glass_pane"); - public static final BlockType YELLOW_TERRACOTTA = new BlockType("minecraft:yellow_terracotta"); - public static final BlockType YELLOW_WALL_BANNER = new BlockType("minecraft:yellow_wall_banner"); - public static final BlockType YELLOW_WOOL = new BlockType("minecraft:yellow_wool"); - public static final BlockType ZOMBIE_HEAD = new BlockType("minecraft:zombie_head"); - public static final BlockType ZOMBIE_WALL_HEAD = new BlockType("minecraft:zombie_wall_head"); + public static final BlockType ACACIA_BARK = register("minecraft:acacia_bark"); + public static final BlockType ACACIA_BUTTON = register("minecraft:acacia_button"); + public static final BlockType ACACIA_DOOR = register("minecraft:acacia_door"); + public static final BlockType ACACIA_FENCE = register("minecraft:acacia_fence"); + public static final BlockType ACACIA_FENCE_GATE = register("minecraft:acacia_fence_gate"); + public static final BlockType ACACIA_LEAVES = register("minecraft:acacia_leaves"); + public static final BlockType ACACIA_LOG = register("minecraft:acacia_log"); + public static final BlockType ACACIA_PLANKS = register("minecraft:acacia_planks"); + public static final BlockType ACACIA_PRESSURE_PLATE = register("minecraft:acacia_pressure_plate"); + public static final BlockType ACACIA_SAPLING = register("minecraft:acacia_sapling"); + public static final BlockType ACACIA_SLAB = register("minecraft:acacia_slab"); + public static final BlockType ACACIA_STAIRS = register("minecraft:acacia_stairs"); + public static final BlockType ACACIA_TRAPDOOR = register("minecraft:acacia_trapdoor"); + public static final BlockType ACTIVATOR_RAIL = register("minecraft:activator_rail"); + public static final BlockType AIR = register("minecraft:air"); + public static final BlockType ALLIUM = register("minecraft:allium"); + public static final BlockType ANDESITE = register("minecraft:andesite"); + public static final BlockType ANVIL = register("minecraft:anvil"); + public static final BlockType ATTACHED_MELON_STEM = register("minecraft:attached_melon_stem"); + public static final BlockType ATTACHED_PUMPKIN_STEM = register("minecraft:attached_pumpkin_stem"); + public static final BlockType AZURE_BLUET = register("minecraft:azure_bluet"); + public static final BlockType BARRIER = register("minecraft:barrier"); + public static final BlockType BEACON = register("minecraft:beacon"); + public static final BlockType BEDROCK = register("minecraft:bedrock"); + public static final BlockType BEETROOTS = register("minecraft:beetroots"); + public static final BlockType BIRCH_BARK = register("minecraft:birch_bark"); + public static final BlockType BIRCH_BUTTON = register("minecraft:birch_button"); + public static final BlockType BIRCH_DOOR = register("minecraft:birch_door"); + public static final BlockType BIRCH_FENCE = register("minecraft:birch_fence"); + public static final BlockType BIRCH_FENCE_GATE = register("minecraft:birch_fence_gate"); + public static final BlockType BIRCH_LEAVES = register("minecraft:birch_leaves"); + public static final BlockType BIRCH_LOG = register("minecraft:birch_log"); + public static final BlockType BIRCH_PLANKS = register("minecraft:birch_planks"); + public static final BlockType BIRCH_PRESSURE_PLATE = register("minecraft:birch_pressure_plate"); + public static final BlockType BIRCH_SAPLING = register("minecraft:birch_sapling"); + public static final BlockType BIRCH_SLAB = register("minecraft:birch_slab"); + public static final BlockType BIRCH_STAIRS = register("minecraft:birch_stairs"); + public static final BlockType BIRCH_TRAPDOOR = register("minecraft:birch_trapdoor"); + public static final BlockType BLACK_BANNER = register("minecraft:black_banner"); + public static final BlockType BLACK_BED = register("minecraft:black_bed"); + public static final BlockType BLACK_CARPET = register("minecraft:black_carpet"); + public static final BlockType BLACK_CONCRETE = register("minecraft:black_concrete"); + public static final BlockType BLACK_CONCRETE_POWDER = register("minecraft:black_concrete_powder"); + public static final BlockType BLACK_GLAZED_TERRACOTTA = register("minecraft:black_glazed_terracotta"); + public static final BlockType BLACK_SHULKER_BOX = register("minecraft:black_shulker_box"); + public static final BlockType BLACK_STAINED_GLASS = register("minecraft:black_stained_glass"); + public static final BlockType BLACK_STAINED_GLASS_PANE = register("minecraft:black_stained_glass_pane"); + public static final BlockType BLACK_TERRACOTTA = register("minecraft:black_terracotta"); + public static final BlockType BLACK_WALL_BANNER = register("minecraft:black_wall_banner"); + public static final BlockType BLACK_WOOL = register("minecraft:black_wool"); + public static final BlockType BLUE_BANNER = register("minecraft:blue_banner"); + public static final BlockType BLUE_BED = register("minecraft:blue_bed"); + public static final BlockType BLUE_CARPET = register("minecraft:blue_carpet"); + public static final BlockType BLUE_CONCRETE = register("minecraft:blue_concrete"); + public static final BlockType BLUE_CONCRETE_POWDER = register("minecraft:blue_concrete_powder"); + public static final BlockType BLUE_GLAZED_TERRACOTTA = register("minecraft:blue_glazed_terracotta"); + public static final BlockType BLUE_ICE = register("minecraft:blue_ice"); + public static final BlockType BLUE_ORCHID = register("minecraft:blue_orchid"); + public static final BlockType BLUE_SHULKER_BOX = register("minecraft:blue_shulker_box"); + public static final BlockType BLUE_STAINED_GLASS = register("minecraft:blue_stained_glass"); + public static final BlockType BLUE_STAINED_GLASS_PANE = register("minecraft:blue_stained_glass_pane"); + public static final BlockType BLUE_TERRACOTTA = register("minecraft:blue_terracotta"); + public static final BlockType BLUE_WALL_BANNER = register("minecraft:blue_wall_banner"); + public static final BlockType BLUE_WOOL = register("minecraft:blue_wool"); + public static final BlockType BONE_BLOCK = register("minecraft:bone_block"); + public static final BlockType BOOKSHELF = register("minecraft:bookshelf"); + public static final BlockType BRAIN_CORAL = register("minecraft:brain_coral"); + public static final BlockType BRAIN_CORAL_BLOCK = register("minecraft:brain_coral_block"); + public static final BlockType BRAIN_CORAL_FAN = register("minecraft:brain_coral_fan"); + public static final BlockType BREWING_STAND = register("minecraft:brewing_stand"); + public static final BlockType BRICK_SLAB = register("minecraft:brick_slab"); + public static final BlockType BRICK_STAIRS = register("minecraft:brick_stairs"); + public static final BlockType BRICKS = register("minecraft:bricks"); + public static final BlockType BROWN_BANNER = register("minecraft:brown_banner"); + public static final BlockType BROWN_BED = register("minecraft:brown_bed"); + public static final BlockType BROWN_CARPET = register("minecraft:brown_carpet"); + public static final BlockType BROWN_CONCRETE = register("minecraft:brown_concrete"); + public static final BlockType BROWN_CONCRETE_POWDER = register("minecraft:brown_concrete_powder"); + public static final BlockType BROWN_GLAZED_TERRACOTTA = register("minecraft:brown_glazed_terracotta"); + public static final BlockType BROWN_MUSHROOM = register("minecraft:brown_mushroom"); + public static final BlockType BROWN_MUSHROOM_BLOCK = register("minecraft:brown_mushroom_block"); + public static final BlockType BROWN_SHULKER_BOX = register("minecraft:brown_shulker_box"); + public static final BlockType BROWN_STAINED_GLASS = register("minecraft:brown_stained_glass"); + public static final BlockType BROWN_STAINED_GLASS_PANE = register("minecraft:brown_stained_glass_pane"); + public static final BlockType BROWN_TERRACOTTA = register("minecraft:brown_terracotta"); + public static final BlockType BROWN_WALL_BANNER = register("minecraft:brown_wall_banner"); + public static final BlockType BROWN_WOOL = register("minecraft:brown_wool"); + public static final BlockType BUBBLE_COLUMN = register("minecraft:bubble_column"); + public static final BlockType BUBBLE_CORAL = register("minecraft:bubble_coral"); + public static final BlockType BUBBLE_CORAL_BLOCK = register("minecraft:bubble_coral_block"); + public static final BlockType BUBBLE_CORAL_FAN = register("minecraft:bubble_coral_fan"); + public static final BlockType CACTUS = register("minecraft:cactus"); + public static final BlockType CAKE = register("minecraft:cake"); + public static final BlockType CARROTS = register("minecraft:carrots"); + public static final BlockType CARVED_PUMPKIN = register("minecraft:carved_pumpkin"); + public static final BlockType CAULDRON = register("minecraft:cauldron"); + public static final BlockType CAVE_AIR = register("minecraft:cave_air"); + public static final BlockType CHAIN_COMMAND_BLOCK = register("minecraft:chain_command_block"); + public static final BlockType CHEST = register("minecraft:chest"); + public static final BlockType CHIPPED_ANVIL = register("minecraft:chipped_anvil"); + public static final BlockType CHISELED_QUARTZ_BLOCK = register("minecraft:chiseled_quartz_block"); + public static final BlockType CHISELED_RED_SANDSTONE = register("minecraft:chiseled_red_sandstone"); + public static final BlockType CHISELED_SANDSTONE = register("minecraft:chiseled_sandstone"); + public static final BlockType CHISELED_STONE_BRICKS = register("minecraft:chiseled_stone_bricks"); + public static final BlockType CHORUS_FLOWER = register("minecraft:chorus_flower"); + public static final BlockType CHORUS_PLANT = register("minecraft:chorus_plant"); + public static final BlockType CLAY = register("minecraft:clay"); + public static final BlockType COAL_BLOCK = register("minecraft:coal_block"); + public static final BlockType COAL_ORE = register("minecraft:coal_ore"); + public static final BlockType COARSE_DIRT = register("minecraft:coarse_dirt"); + public static final BlockType COBBLESTONE = register("minecraft:cobblestone"); + public static final BlockType COBBLESTONE_SLAB = register("minecraft:cobblestone_slab"); + public static final BlockType COBBLESTONE_STAIRS = register("minecraft:cobblestone_stairs"); + public static final BlockType COBBLESTONE_WALL = register("minecraft:cobblestone_wall"); + public static final BlockType COBWEB = register("minecraft:cobweb"); + public static final BlockType COCOA = register("minecraft:cocoa"); + public static final BlockType COMMAND_BLOCK = register("minecraft:command_block"); + public static final BlockType COMPARATOR = register("minecraft:comparator"); + public static final BlockType CONDUIT = register("minecraft:conduit"); + public static final BlockType CRACKED_STONE_BRICKS = register("minecraft:cracked_stone_bricks"); + public static final BlockType CRAFTING_TABLE = register("minecraft:crafting_table"); + public static final BlockType CREEPER_HEAD = register("minecraft:creeper_head"); + public static final BlockType CREEPER_WALL_HEAD = register("minecraft:creeper_wall_head"); + public static final BlockType CUT_RED_SANDSTONE = register("minecraft:cut_red_sandstone"); + public static final BlockType CUT_SANDSTONE = register("minecraft:cut_sandstone"); + public static final BlockType CYAN_BANNER = register("minecraft:cyan_banner"); + public static final BlockType CYAN_BED = register("minecraft:cyan_bed"); + public static final BlockType CYAN_CARPET = register("minecraft:cyan_carpet"); + public static final BlockType CYAN_CONCRETE = register("minecraft:cyan_concrete"); + public static final BlockType CYAN_CONCRETE_POWDER = register("minecraft:cyan_concrete_powder"); + public static final BlockType CYAN_GLAZED_TERRACOTTA = register("minecraft:cyan_glazed_terracotta"); + public static final BlockType CYAN_SHULKER_BOX = register("minecraft:cyan_shulker_box"); + public static final BlockType CYAN_STAINED_GLASS = register("minecraft:cyan_stained_glass"); + public static final BlockType CYAN_STAINED_GLASS_PANE = register("minecraft:cyan_stained_glass_pane"); + public static final BlockType CYAN_TERRACOTTA = register("minecraft:cyan_terracotta"); + public static final BlockType CYAN_WALL_BANNER = register("minecraft:cyan_wall_banner"); + public static final BlockType CYAN_WOOL = register("minecraft:cyan_wool"); + public static final BlockType DAMAGED_ANVIL = register("minecraft:damaged_anvil"); + public static final BlockType DANDELION = register("minecraft:dandelion"); + public static final BlockType DARK_OAK_BARK = register("minecraft:dark_oak_bark"); + public static final BlockType DARK_OAK_BUTTON = register("minecraft:dark_oak_button"); + public static final BlockType DARK_OAK_DOOR = register("minecraft:dark_oak_door"); + public static final BlockType DARK_OAK_FENCE = register("minecraft:dark_oak_fence"); + public static final BlockType DARK_OAK_FENCE_GATE = register("minecraft:dark_oak_fence_gate"); + public static final BlockType DARK_OAK_LEAVES = register("minecraft:dark_oak_leaves"); + public static final BlockType DARK_OAK_LOG = register("minecraft:dark_oak_log"); + public static final BlockType DARK_OAK_PLANKS = register("minecraft:dark_oak_planks"); + public static final BlockType DARK_OAK_PRESSURE_PLATE = register("minecraft:dark_oak_pressure_plate"); + public static final BlockType DARK_OAK_SAPLING = register("minecraft:dark_oak_sapling"); + public static final BlockType DARK_OAK_SLAB = register("minecraft:dark_oak_slab"); + public static final BlockType DARK_OAK_STAIRS = register("minecraft:dark_oak_stairs"); + public static final BlockType DARK_OAK_TRAPDOOR = register("minecraft:dark_oak_trapdoor"); + public static final BlockType DARK_PRISMARINE = register("minecraft:dark_prismarine"); + public static final BlockType DARK_PRISMARINE_SLAB = register("minecraft:dark_prismarine_slab"); + public static final BlockType DARK_PRISMARINE_STAIRS = register("minecraft:dark_prismarine_stairs"); + public static final BlockType DAYLIGHT_DETECTOR = register("minecraft:daylight_detector"); + public static final BlockType DEAD_BRAIN_CORAL_BLOCK = register("minecraft:dead_brain_coral_block"); + public static final BlockType DEAD_BUBBLE_CORAL_BLOCK = register("minecraft:dead_bubble_coral_block"); + public static final BlockType DEAD_BUSH = register("minecraft:dead_bush"); + public static final BlockType DEAD_FIRE_CORAL_BLOCK = register("minecraft:dead_fire_coral_block"); + public static final BlockType DEAD_HORN_CORAL_BLOCK = register("minecraft:dead_horn_coral_block"); + public static final BlockType DEAD_TUBE_CORAL_BLOCK = register("minecraft:dead_tube_coral_block"); + public static final BlockType DETECTOR_RAIL = register("minecraft:detector_rail"); + public static final BlockType DIAMOND_BLOCK = register("minecraft:diamond_block"); + public static final BlockType DIAMOND_ORE = register("minecraft:diamond_ore"); + public static final BlockType DIORITE = register("minecraft:diorite"); + public static final BlockType DIRT = register("minecraft:dirt"); + public static final BlockType DISPENSER = register("minecraft:dispenser"); + public static final BlockType DRAGON_EGG = register("minecraft:dragon_egg"); + public static final BlockType DRAGON_HEAD = register("minecraft:dragon_head"); + public static final BlockType DRAGON_WALL_HEAD = register("minecraft:dragon_wall_head"); + public static final BlockType DRIED_KELP_BLOCK = register("minecraft:dried_kelp_block"); + public static final BlockType DROPPER = register("minecraft:dropper"); + public static final BlockType EMERALD_BLOCK = register("minecraft:emerald_block"); + public static final BlockType EMERALD_ORE = register("minecraft:emerald_ore"); + public static final BlockType ENCHANTING_TABLE = register("minecraft:enchanting_table"); + public static final BlockType END_GATEWAY = register("minecraft:end_gateway"); + public static final BlockType END_PORTAL = register("minecraft:end_portal"); + public static final BlockType END_PORTAL_FRAME = register("minecraft:end_portal_frame"); + public static final BlockType END_ROD = register("minecraft:end_rod"); + public static final BlockType END_STONE = register("minecraft:end_stone"); + public static final BlockType END_STONE_BRICKS = register("minecraft:end_stone_bricks"); + public static final BlockType ENDER_CHEST = register("minecraft:ender_chest"); + public static final BlockType FARMLAND = register("minecraft:farmland"); + public static final BlockType FERN = register("minecraft:fern"); + public static final BlockType FIRE = register("minecraft:fire"); + public static final BlockType FIRE_CORAL = register("minecraft:fire_coral"); + public static final BlockType FIRE_CORAL_BLOCK = register("minecraft:fire_coral_block"); + public static final BlockType FIRE_CORAL_FAN = register("minecraft:fire_coral_fan"); + public static final BlockType FLOWER_POT = register("minecraft:flower_pot"); + public static final BlockType FROSTED_ICE = register("minecraft:frosted_ice"); + public static final BlockType FURNACE = register("minecraft:furnace"); + public static final BlockType GLASS = register("minecraft:glass"); + public static final BlockType GLASS_PANE = register("minecraft:glass_pane"); + public static final BlockType GLOWSTONE = register("minecraft:glowstone"); + public static final BlockType GOLD_BLOCK = register("minecraft:gold_block"); + public static final BlockType GOLD_ORE = register("minecraft:gold_ore"); + public static final BlockType GRANITE = register("minecraft:granite"); + public static final BlockType GRASS = register("minecraft:grass"); + public static final BlockType GRASS_BLOCK = register("minecraft:grass_block"); + public static final BlockType GRASS_PATH = register("minecraft:grass_path"); + public static final BlockType GRAVEL = register("minecraft:gravel"); + public static final BlockType GRAY_BANNER = register("minecraft:gray_banner"); + public static final BlockType GRAY_BED = register("minecraft:gray_bed"); + public static final BlockType GRAY_CARPET = register("minecraft:gray_carpet"); + public static final BlockType GRAY_CONCRETE = register("minecraft:gray_concrete"); + public static final BlockType GRAY_CONCRETE_POWDER = register("minecraft:gray_concrete_powder"); + public static final BlockType GRAY_GLAZED_TERRACOTTA = register("minecraft:gray_glazed_terracotta"); + public static final BlockType GRAY_SHULKER_BOX = register("minecraft:gray_shulker_box"); + public static final BlockType GRAY_STAINED_GLASS = register("minecraft:gray_stained_glass"); + public static final BlockType GRAY_STAINED_GLASS_PANE = register("minecraft:gray_stained_glass_pane"); + public static final BlockType GRAY_TERRACOTTA = register("minecraft:gray_terracotta"); + public static final BlockType GRAY_WALL_BANNER = register("minecraft:gray_wall_banner"); + public static final BlockType GRAY_WOOL = register("minecraft:gray_wool"); + public static final BlockType GREEN_BANNER = register("minecraft:green_banner"); + public static final BlockType GREEN_BED = register("minecraft:green_bed"); + public static final BlockType GREEN_CARPET = register("minecraft:green_carpet"); + public static final BlockType GREEN_CONCRETE = register("minecraft:green_concrete"); + public static final BlockType GREEN_CONCRETE_POWDER = register("minecraft:green_concrete_powder"); + public static final BlockType GREEN_GLAZED_TERRACOTTA = register("minecraft:green_glazed_terracotta"); + public static final BlockType GREEN_SHULKER_BOX = register("minecraft:green_shulker_box"); + public static final BlockType GREEN_STAINED_GLASS = register("minecraft:green_stained_glass"); + public static final BlockType GREEN_STAINED_GLASS_PANE = register("minecraft:green_stained_glass_pane"); + public static final BlockType GREEN_TERRACOTTA = register("minecraft:green_terracotta"); + public static final BlockType GREEN_WALL_BANNER = register("minecraft:green_wall_banner"); + public static final BlockType GREEN_WOOL = register("minecraft:green_wool"); + public static final BlockType HAY_BLOCK = register("minecraft:hay_block"); + public static final BlockType HEAVY_WEIGHTED_PRESSURE_PLATE = register("minecraft:heavy_weighted_pressure_plate"); + public static final BlockType HOPPER = register("minecraft:hopper"); + public static final BlockType HORN_CORAL = register("minecraft:horn_coral"); + public static final BlockType HORN_CORAL_BLOCK = register("minecraft:horn_coral_block"); + public static final BlockType HORN_CORAL_FAN = register("minecraft:horn_coral_fan"); + public static final BlockType ICE = register("minecraft:ice"); + public static final BlockType INFESTED_CHISELED_STONE_BRICKS = register("minecraft:infested_chiseled_stone_bricks"); + public static final BlockType INFESTED_COBBLESTONE = register("minecraft:infested_cobblestone"); + public static final BlockType INFESTED_CRACKED_STONE_BRICKS = register("minecraft:infested_cracked_stone_bricks"); + public static final BlockType INFESTED_MOSSY_STONE_BRICKS = register("minecraft:infested_mossy_stone_bricks"); + public static final BlockType INFESTED_STONE = register("minecraft:infested_stone"); + public static final BlockType INFESTED_STONE_BRICKS = register("minecraft:infested_stone_bricks"); + public static final BlockType IRON_BARS = register("minecraft:iron_bars"); + public static final BlockType IRON_BLOCK = register("minecraft:iron_block"); + public static final BlockType IRON_DOOR = register("minecraft:iron_door"); + public static final BlockType IRON_ORE = register("minecraft:iron_ore"); + public static final BlockType IRON_TRAPDOOR = register("minecraft:iron_trapdoor"); + public static final BlockType JACK_O_LANTERN = register("minecraft:jack_o_lantern"); + public static final BlockType JUKEBOX = register("minecraft:jukebox"); + public static final BlockType JUNGLE_BARK = register("minecraft:jungle_bark"); + public static final BlockType JUNGLE_BUTTON = register("minecraft:jungle_button"); + public static final BlockType JUNGLE_DOOR = register("minecraft:jungle_door"); + public static final BlockType JUNGLE_FENCE = register("minecraft:jungle_fence"); + public static final BlockType JUNGLE_FENCE_GATE = register("minecraft:jungle_fence_gate"); + public static final BlockType JUNGLE_LEAVES = register("minecraft:jungle_leaves"); + public static final BlockType JUNGLE_LOG = register("minecraft:jungle_log"); + public static final BlockType JUNGLE_PLANKS = register("minecraft:jungle_planks"); + public static final BlockType JUNGLE_PRESSURE_PLATE = register("minecraft:jungle_pressure_plate"); + public static final BlockType JUNGLE_SAPLING = register("minecraft:jungle_sapling"); + public static final BlockType JUNGLE_SLAB = register("minecraft:jungle_slab"); + public static final BlockType JUNGLE_STAIRS = register("minecraft:jungle_stairs"); + public static final BlockType JUNGLE_TRAPDOOR = register("minecraft:jungle_trapdoor"); + public static final BlockType KELP = register("minecraft:kelp"); + public static final BlockType KELP_PLANT = register("minecraft:kelp_plant"); + public static final BlockType LADDER = register("minecraft:ladder"); + public static final BlockType LAPIS_BLOCK = register("minecraft:lapis_block"); + public static final BlockType LAPIS_ORE = register("minecraft:lapis_ore"); + public static final BlockType LARGE_FERN = register("minecraft:large_fern"); + public static final BlockType LAVA = register("minecraft:lava"); + public static final BlockType LEVER = register("minecraft:lever"); + public static final BlockType LIGHT_BLUE_BANNER = register("minecraft:light_blue_banner"); + public static final BlockType LIGHT_BLUE_BED = register("minecraft:light_blue_bed"); + public static final BlockType LIGHT_BLUE_CARPET = register("minecraft:light_blue_carpet"); + public static final BlockType LIGHT_BLUE_CONCRETE = register("minecraft:light_blue_concrete"); + public static final BlockType LIGHT_BLUE_CONCRETE_POWDER = register("minecraft:light_blue_concrete_powder"); + public static final BlockType LIGHT_BLUE_GLAZED_TERRACOTTA = register("minecraft:light_blue_glazed_terracotta"); + public static final BlockType LIGHT_BLUE_SHULKER_BOX = register("minecraft:light_blue_shulker_box"); + public static final BlockType LIGHT_BLUE_STAINED_GLASS = register("minecraft:light_blue_stained_glass"); + public static final BlockType LIGHT_BLUE_STAINED_GLASS_PANE = register("minecraft:light_blue_stained_glass_pane"); + public static final BlockType LIGHT_BLUE_TERRACOTTA = register("minecraft:light_blue_terracotta"); + public static final BlockType LIGHT_BLUE_WALL_BANNER = register("minecraft:light_blue_wall_banner"); + public static final BlockType LIGHT_BLUE_WOOL = register("minecraft:light_blue_wool"); + public static final BlockType LIGHT_GRAY_BANNER = register("minecraft:light_gray_banner"); + public static final BlockType LIGHT_GRAY_BED = register("minecraft:light_gray_bed"); + public static final BlockType LIGHT_GRAY_CARPET = register("minecraft:light_gray_carpet"); + public static final BlockType LIGHT_GRAY_CONCRETE = register("minecraft:light_gray_concrete"); + public static final BlockType LIGHT_GRAY_CONCRETE_POWDER = register("minecraft:light_gray_concrete_powder"); + public static final BlockType LIGHT_GRAY_GLAZED_TERRACOTTA = register("minecraft:light_gray_glazed_terracotta"); + public static final BlockType LIGHT_GRAY_SHULKER_BOX = register("minecraft:light_gray_shulker_box"); + public static final BlockType LIGHT_GRAY_STAINED_GLASS = register("minecraft:light_gray_stained_glass"); + public static final BlockType LIGHT_GRAY_STAINED_GLASS_PANE = register("minecraft:light_gray_stained_glass_pane"); + public static final BlockType LIGHT_GRAY_TERRACOTTA = register("minecraft:light_gray_terracotta"); + public static final BlockType LIGHT_GRAY_WALL_BANNER = register("minecraft:light_gray_wall_banner"); + public static final BlockType LIGHT_GRAY_WOOL = register("minecraft:light_gray_wool"); + public static final BlockType LIGHT_WEIGHTED_PRESSURE_PLATE = register("minecraft:light_weighted_pressure_plate"); + public static final BlockType LILAC = register("minecraft:lilac"); + public static final BlockType LILY_PAD = register("minecraft:lily_pad"); + public static final BlockType LIME_BANNER = register("minecraft:lime_banner"); + public static final BlockType LIME_BED = register("minecraft:lime_bed"); + public static final BlockType LIME_CARPET = register("minecraft:lime_carpet"); + public static final BlockType LIME_CONCRETE = register("minecraft:lime_concrete"); + public static final BlockType LIME_CONCRETE_POWDER = register("minecraft:lime_concrete_powder"); + public static final BlockType LIME_GLAZED_TERRACOTTA = register("minecraft:lime_glazed_terracotta"); + public static final BlockType LIME_SHULKER_BOX = register("minecraft:lime_shulker_box"); + public static final BlockType LIME_STAINED_GLASS = register("minecraft:lime_stained_glass"); + public static final BlockType LIME_STAINED_GLASS_PANE = register("minecraft:lime_stained_glass_pane"); + public static final BlockType LIME_TERRACOTTA = register("minecraft:lime_terracotta"); + public static final BlockType LIME_WALL_BANNER = register("minecraft:lime_wall_banner"); + public static final BlockType LIME_WOOL = register("minecraft:lime_wool"); + public static final BlockType MAGENTA_BANNER = register("minecraft:magenta_banner"); + public static final BlockType MAGENTA_BED = register("minecraft:magenta_bed"); + public static final BlockType MAGENTA_CARPET = register("minecraft:magenta_carpet"); + public static final BlockType MAGENTA_CONCRETE = register("minecraft:magenta_concrete"); + public static final BlockType MAGENTA_CONCRETE_POWDER = register("minecraft:magenta_concrete_powder"); + public static final BlockType MAGENTA_GLAZED_TERRACOTTA = register("minecraft:magenta_glazed_terracotta"); + public static final BlockType MAGENTA_SHULKER_BOX = register("minecraft:magenta_shulker_box"); + public static final BlockType MAGENTA_STAINED_GLASS = register("minecraft:magenta_stained_glass"); + public static final BlockType MAGENTA_STAINED_GLASS_PANE = register("minecraft:magenta_stained_glass_pane"); + public static final BlockType MAGENTA_TERRACOTTA = register("minecraft:magenta_terracotta"); + public static final BlockType MAGENTA_WALL_BANNER = register("minecraft:magenta_wall_banner"); + public static final BlockType MAGENTA_WOOL = register("minecraft:magenta_wool"); + public static final BlockType MAGMA_BLOCK = register("minecraft:magma_block"); + public static final BlockType MELON = register("minecraft:melon"); + public static final BlockType MELON_STEM = register("minecraft:melon_stem"); + public static final BlockType MOB_SPAWNER = register("minecraft:mob_spawner"); + public static final BlockType MOSSY_COBBLESTONE = register("minecraft:mossy_cobblestone"); + public static final BlockType MOSSY_COBBLESTONE_WALL = register("minecraft:mossy_cobblestone_wall"); + public static final BlockType MOSSY_STONE_BRICKS = register("minecraft:mossy_stone_bricks"); + public static final BlockType MOVING_PISTON = register("minecraft:moving_piston"); + public static final BlockType MUSHROOM_STEM = register("minecraft:mushroom_stem"); + public static final BlockType MYCELIUM = register("minecraft:mycelium"); + public static final BlockType NETHER_BRICK_FENCE = register("minecraft:nether_brick_fence"); + public static final BlockType NETHER_BRICK_SLAB = register("minecraft:nether_brick_slab"); + public static final BlockType NETHER_BRICK_STAIRS = register("minecraft:nether_brick_stairs"); + public static final BlockType NETHER_BRICKS = register("minecraft:nether_bricks"); + public static final BlockType NETHER_QUARTZ_ORE = register("minecraft:nether_quartz_ore"); + public static final BlockType NETHER_WART = register("minecraft:nether_wart"); + public static final BlockType NETHER_WART_BLOCK = register("minecraft:nether_wart_block"); + public static final BlockType NETHERRACK = register("minecraft:netherrack"); + public static final BlockType NOTE_BLOCK = register("minecraft:note_block"); + public static final BlockType OAK_BARK = register("minecraft:oak_bark"); + public static final BlockType OAK_BUTTON = register("minecraft:oak_button"); + public static final BlockType OAK_DOOR = register("minecraft:oak_door"); + public static final BlockType OAK_FENCE = register("minecraft:oak_fence"); + public static final BlockType OAK_FENCE_GATE = register("minecraft:oak_fence_gate"); + public static final BlockType OAK_LEAVES = register("minecraft:oak_leaves"); + public static final BlockType OAK_LOG = register("minecraft:oak_log"); + public static final BlockType OAK_PLANKS = register("minecraft:oak_planks"); + public static final BlockType OAK_PRESSURE_PLATE = register("minecraft:oak_pressure_plate"); + public static final BlockType OAK_SAPLING = register("minecraft:oak_sapling"); + public static final BlockType OAK_SLAB = register("minecraft:oak_slab"); + public static final BlockType OAK_STAIRS = register("minecraft:oak_stairs"); + public static final BlockType OAK_TRAPDOOR = register("minecraft:oak_trapdoor"); + public static final BlockType OBSERVER = register("minecraft:observer"); + public static final BlockType OBSIDIAN = register("minecraft:obsidian"); + public static final BlockType ORANGE_BANNER = register("minecraft:orange_banner"); + public static final BlockType ORANGE_BED = register("minecraft:orange_bed"); + public static final BlockType ORANGE_CARPET = register("minecraft:orange_carpet"); + public static final BlockType ORANGE_CONCRETE = register("minecraft:orange_concrete"); + public static final BlockType ORANGE_CONCRETE_POWDER = register("minecraft:orange_concrete_powder"); + public static final BlockType ORANGE_GLAZED_TERRACOTTA = register("minecraft:orange_glazed_terracotta"); + public static final BlockType ORANGE_SHULKER_BOX = register("minecraft:orange_shulker_box"); + public static final BlockType ORANGE_STAINED_GLASS = register("minecraft:orange_stained_glass"); + public static final BlockType ORANGE_STAINED_GLASS_PANE = register("minecraft:orange_stained_glass_pane"); + public static final BlockType ORANGE_TERRACOTTA = register("minecraft:orange_terracotta"); + public static final BlockType ORANGE_TULIP = register("minecraft:orange_tulip"); + public static final BlockType ORANGE_WALL_BANNER = register("minecraft:orange_wall_banner"); + public static final BlockType ORANGE_WOOL = register("minecraft:orange_wool"); + public static final BlockType OXEYE_DAISY = register("minecraft:oxeye_daisy"); + public static final BlockType PACKED_ICE = register("minecraft:packed_ice"); + public static final BlockType PEONY = register("minecraft:peony"); + public static final BlockType PETRIFIED_OAK_SLAB = register("minecraft:petrified_oak_slab"); + public static final BlockType PINK_BANNER = register("minecraft:pink_banner"); + public static final BlockType PINK_BED = register("minecraft:pink_bed"); + public static final BlockType PINK_CARPET = register("minecraft:pink_carpet"); + public static final BlockType PINK_CONCRETE = register("minecraft:pink_concrete"); + public static final BlockType PINK_CONCRETE_POWDER = register("minecraft:pink_concrete_powder"); + public static final BlockType PINK_GLAZED_TERRACOTTA = register("minecraft:pink_glazed_terracotta"); + public static final BlockType PINK_SHULKER_BOX = register("minecraft:pink_shulker_box"); + public static final BlockType PINK_STAINED_GLASS = register("minecraft:pink_stained_glass"); + public static final BlockType PINK_STAINED_GLASS_PANE = register("minecraft:pink_stained_glass_pane"); + public static final BlockType PINK_TERRACOTTA = register("minecraft:pink_terracotta"); + public static final BlockType PINK_TULIP = register("minecraft:pink_tulip"); + public static final BlockType PINK_WALL_BANNER = register("minecraft:pink_wall_banner"); + public static final BlockType PINK_WOOL = register("minecraft:pink_wool"); + public static final BlockType PISTON = register("minecraft:piston"); + public static final BlockType PISTON_HEAD = register("minecraft:piston_head"); + public static final BlockType PLAYER_HEAD = register("minecraft:player_head"); + public static final BlockType PLAYER_WALL_HEAD = register("minecraft:player_wall_head"); + public static final BlockType PODZOL = register("minecraft:podzol"); + public static final BlockType POLISHED_ANDESITE = register("minecraft:polished_andesite"); + public static final BlockType POLISHED_DIORITE = register("minecraft:polished_diorite"); + public static final BlockType POLISHED_GRANITE = register("minecraft:polished_granite"); + public static final BlockType POPPY = register("minecraft:poppy"); + public static final BlockType PORTAL = register("minecraft:portal"); + public static final BlockType POTATOES = register("minecraft:potatoes"); + public static final BlockType POTTED_ACACIA_SAPLING = register("minecraft:potted_acacia_sapling"); + public static final BlockType POTTED_ALLIUM = register("minecraft:potted_allium"); + public static final BlockType POTTED_AZURE_BLUET = register("minecraft:potted_azure_bluet"); + public static final BlockType POTTED_BIRCH_SAPLING = register("minecraft:potted_birch_sapling"); + public static final BlockType POTTED_BLUE_ORCHID = register("minecraft:potted_blue_orchid"); + public static final BlockType POTTED_BROWN_MUSHROOM = register("minecraft:potted_brown_mushroom"); + public static final BlockType POTTED_CACTUS = register("minecraft:potted_cactus"); + public static final BlockType POTTED_DANDELION = register("minecraft:potted_dandelion"); + public static final BlockType POTTED_DARK_OAK_SAPLING = register("minecraft:potted_dark_oak_sapling"); + public static final BlockType POTTED_DEAD_BUSH = register("minecraft:potted_dead_bush"); + public static final BlockType POTTED_FERN = register("minecraft:potted_fern"); + public static final BlockType POTTED_JUNGLE_SAPLING = register("minecraft:potted_jungle_sapling"); + public static final BlockType POTTED_OAK_SAPLING = register("minecraft:potted_oak_sapling"); + public static final BlockType POTTED_ORANGE_TULIP = register("minecraft:potted_orange_tulip"); + public static final BlockType POTTED_OXEYE_DAISY = register("minecraft:potted_oxeye_daisy"); + public static final BlockType POTTED_PINK_TULIP = register("minecraft:potted_pink_tulip"); + public static final BlockType POTTED_POPPY = register("minecraft:potted_poppy"); + public static final BlockType POTTED_RED_MUSHROOM = register("minecraft:potted_red_mushroom"); + public static final BlockType POTTED_RED_TULIP = register("minecraft:potted_red_tulip"); + public static final BlockType POTTED_SPRUCE_SAPLING = register("minecraft:potted_spruce_sapling"); + public static final BlockType POTTED_WHITE_TULIP = register("minecraft:potted_white_tulip"); + public static final BlockType POWERED_RAIL = register("minecraft:powered_rail"); + public static final BlockType PRISMARINE = register("minecraft:prismarine"); + public static final BlockType PRISMARINE_BRICK_SLAB = register("minecraft:prismarine_brick_slab"); + public static final BlockType PRISMARINE_BRICK_STAIRS = register("minecraft:prismarine_brick_stairs"); + public static final BlockType PRISMARINE_BRICKS = register("minecraft:prismarine_bricks"); + public static final BlockType PRISMARINE_SLAB = register("minecraft:prismarine_slab"); + public static final BlockType PRISMARINE_STAIRS = register("minecraft:prismarine_stairs"); + public static final BlockType PUMPKIN = register("minecraft:pumpkin"); + public static final BlockType PUMPKIN_STEM = register("minecraft:pumpkin_stem"); + public static final BlockType PURPLE_BANNER = register("minecraft:purple_banner"); + public static final BlockType PURPLE_BED = register("minecraft:purple_bed"); + public static final BlockType PURPLE_CARPET = register("minecraft:purple_carpet"); + public static final BlockType PURPLE_CONCRETE = register("minecraft:purple_concrete"); + public static final BlockType PURPLE_CONCRETE_POWDER = register("minecraft:purple_concrete_powder"); + public static final BlockType PURPLE_GLAZED_TERRACOTTA = register("minecraft:purple_glazed_terracotta"); + public static final BlockType PURPLE_SHULKER_BOX = register("minecraft:purple_shulker_box"); + public static final BlockType PURPLE_STAINED_GLASS = register("minecraft:purple_stained_glass"); + public static final BlockType PURPLE_STAINED_GLASS_PANE = register("minecraft:purple_stained_glass_pane"); + public static final BlockType PURPLE_TERRACOTTA = register("minecraft:purple_terracotta"); + public static final BlockType PURPLE_WALL_BANNER = register("minecraft:purple_wall_banner"); + public static final BlockType PURPLE_WOOL = register("minecraft:purple_wool"); + public static final BlockType PURPUR_BLOCK = register("minecraft:purpur_block"); + public static final BlockType PURPUR_PILLAR = register("minecraft:purpur_pillar"); + public static final BlockType PURPUR_SLAB = register("minecraft:purpur_slab"); + public static final BlockType PURPUR_STAIRS = register("minecraft:purpur_stairs"); + public static final BlockType QUARTZ_BLOCK = register("minecraft:quartz_block"); + public static final BlockType QUARTZ_PILLAR = register("minecraft:quartz_pillar"); + public static final BlockType QUARTZ_SLAB = register("minecraft:quartz_slab"); + public static final BlockType QUARTZ_STAIRS = register("minecraft:quartz_stairs"); + public static final BlockType RAIL = register("minecraft:rail"); + public static final BlockType RED_BANNER = register("minecraft:red_banner"); + public static final BlockType RED_BED = register("minecraft:red_bed"); + public static final BlockType RED_CARPET = register("minecraft:red_carpet"); + public static final BlockType RED_CONCRETE = register("minecraft:red_concrete"); + public static final BlockType RED_CONCRETE_POWDER = register("minecraft:red_concrete_powder"); + public static final BlockType RED_GLAZED_TERRACOTTA = register("minecraft:red_glazed_terracotta"); + public static final BlockType RED_MUSHROOM = register("minecraft:red_mushroom"); + public static final BlockType RED_MUSHROOM_BLOCK = register("minecraft:red_mushroom_block"); + public static final BlockType RED_NETHER_BRICKS = register("minecraft:red_nether_bricks"); + public static final BlockType RED_SAND = register("minecraft:red_sand"); + public static final BlockType RED_SANDSTONE = register("minecraft:red_sandstone"); + public static final BlockType RED_SANDSTONE_SLAB = register("minecraft:red_sandstone_slab"); + public static final BlockType RED_SANDSTONE_STAIRS = register("minecraft:red_sandstone_stairs"); + public static final BlockType RED_SHULKER_BOX = register("minecraft:red_shulker_box"); + public static final BlockType RED_STAINED_GLASS = register("minecraft:red_stained_glass"); + public static final BlockType RED_STAINED_GLASS_PANE = register("minecraft:red_stained_glass_pane"); + public static final BlockType RED_TERRACOTTA = register("minecraft:red_terracotta"); + public static final BlockType RED_TULIP = register("minecraft:red_tulip"); + public static final BlockType RED_WALL_BANNER = register("minecraft:red_wall_banner"); + public static final BlockType RED_WOOL = register("minecraft:red_wool"); + public static final BlockType REDSTONE_BLOCK = register("minecraft:redstone_block"); + public static final BlockType REDSTONE_LAMP = register("minecraft:redstone_lamp"); + public static final BlockType REDSTONE_ORE = register("minecraft:redstone_ore"); + public static final BlockType REDSTONE_TORCH = register("minecraft:redstone_torch"); + public static final BlockType REDSTONE_WALL_TORCH = register("minecraft:redstone_wall_torch"); + public static final BlockType REDSTONE_WIRE = register("minecraft:redstone_wire"); + public static final BlockType REPEATER = register("minecraft:repeater"); + public static final BlockType REPEATING_COMMAND_BLOCK = register("minecraft:repeating_command_block"); + public static final BlockType ROSE_BUSH = register("minecraft:rose_bush"); + public static final BlockType SAND = register("minecraft:sand"); + public static final BlockType SANDSTONE = register("minecraft:sandstone"); + public static final BlockType SANDSTONE_SLAB = register("minecraft:sandstone_slab"); + public static final BlockType SANDSTONE_STAIRS = register("minecraft:sandstone_stairs"); + public static final BlockType SEA_LANTERN = register("minecraft:sea_lantern"); + public static final BlockType SEA_PICKLE = register("minecraft:sea_pickle"); + public static final BlockType SEAGRASS = register("minecraft:seagrass"); + public static final BlockType SHULKER_BOX = register("minecraft:shulker_box"); + public static final BlockType SIGN = register("minecraft:sign"); + public static final BlockType SKELETON_SKULL = register("minecraft:skeleton_skull"); + public static final BlockType SKELETON_WALL_SKULL = register("minecraft:skeleton_wall_skull"); + public static final BlockType SLIME_BLOCK = register("minecraft:slime_block"); + public static final BlockType SMOOTH_QUARTZ = register("minecraft:smooth_quartz"); + public static final BlockType SMOOTH_RED_SANDSTONE = register("minecraft:smooth_red_sandstone"); + public static final BlockType SMOOTH_SANDSTONE = register("minecraft:smooth_sandstone"); + public static final BlockType SMOOTH_STONE = register("minecraft:smooth_stone"); + public static final BlockType SNOW = register("minecraft:snow"); + public static final BlockType SNOW_BLOCK = register("minecraft:snow_block"); + public static final BlockType SOUL_SAND = register("minecraft:soul_sand"); + public static final BlockType SPONGE = register("minecraft:sponge"); + public static final BlockType SPRUCE_BARK = register("minecraft:spruce_bark"); + public static final BlockType SPRUCE_BUTTON = register("minecraft:spruce_button"); + public static final BlockType SPRUCE_DOOR = register("minecraft:spruce_door"); + public static final BlockType SPRUCE_FENCE = register("minecraft:spruce_fence"); + public static final BlockType SPRUCE_FENCE_GATE = register("minecraft:spruce_fence_gate"); + public static final BlockType SPRUCE_LEAVES = register("minecraft:spruce_leaves"); + public static final BlockType SPRUCE_LOG = register("minecraft:spruce_log"); + public static final BlockType SPRUCE_PLANKS = register("minecraft:spruce_planks"); + public static final BlockType SPRUCE_PRESSURE_PLATE = register("minecraft:spruce_pressure_plate"); + public static final BlockType SPRUCE_SAPLING = register("minecraft:spruce_sapling"); + public static final BlockType SPRUCE_SLAB = register("minecraft:spruce_slab"); + public static final BlockType SPRUCE_STAIRS = register("minecraft:spruce_stairs"); + public static final BlockType SPRUCE_TRAPDOOR = register("minecraft:spruce_trapdoor"); + public static final BlockType STICKY_PISTON = register("minecraft:sticky_piston"); + public static final BlockType STONE = register("minecraft:stone"); + public static final BlockType STONE_BRICK_SLAB = register("minecraft:stone_brick_slab"); + public static final BlockType STONE_BRICK_STAIRS = register("minecraft:stone_brick_stairs"); + public static final BlockType STONE_BRICKS = register("minecraft:stone_bricks"); + public static final BlockType STONE_BUTTON = register("minecraft:stone_button"); + public static final BlockType STONE_PRESSURE_PLATE = register("minecraft:stone_pressure_plate"); + public static final BlockType STONE_SLAB = register("minecraft:stone_slab"); + public static final BlockType STRIPPED_ACACIA_LOG = register("minecraft:stripped_acacia_log"); + public static final BlockType STRIPPED_BIRCH_LOG = register("minecraft:stripped_birch_log"); + public static final BlockType STRIPPED_DARK_OAK_LOG = register("minecraft:stripped_dark_oak_log"); + public static final BlockType STRIPPED_JUNGLE_LOG = register("minecraft:stripped_jungle_log"); + public static final BlockType STRIPPED_OAK_LOG = register("minecraft:stripped_oak_log"); + public static final BlockType STRIPPED_SPRUCE_LOG = register("minecraft:stripped_spruce_log"); + public static final BlockType STRUCTURE_BLOCK = register("minecraft:structure_block"); + public static final BlockType STRUCTURE_VOID = register("minecraft:structure_void"); + public static final BlockType SUGAR_CANE = register("minecraft:sugar_cane"); + public static final BlockType SUNFLOWER = register("minecraft:sunflower"); + public static final BlockType TALL_GRASS = register("minecraft:tall_grass"); + public static final BlockType TALL_SEAGRASS = register("minecraft:tall_seagrass"); + public static final BlockType TERRACOTTA = register("minecraft:terracotta"); + public static final BlockType TNT = register("minecraft:tnt"); + public static final BlockType TORCH = register("minecraft:torch"); + public static final BlockType TRAPPED_CHEST = register("minecraft:trapped_chest"); + public static final BlockType TRIPWIRE = register("minecraft:tripwire"); + public static final BlockType TRIPWIRE_HOOK = register("minecraft:tripwire_hook"); + public static final BlockType TUBE_CORAL = register("minecraft:tube_coral"); + public static final BlockType TUBE_CORAL_BLOCK = register("minecraft:tube_coral_block"); + public static final BlockType TUBE_CORAL_FAN = register("minecraft:tube_coral_fan"); + public static final BlockType TURTLE_EGG = register("minecraft:turtle_egg"); + public static final BlockType VINE = register("minecraft:vine"); + public static final BlockType VOID_AIR = register("minecraft:void_air"); + public static final BlockType WALL_SIGN = register("minecraft:wall_sign"); + public static final BlockType WALL_TORCH = register("minecraft:wall_torch"); + public static final BlockType WATER = register("minecraft:water"); + public static final BlockType WET_SPONGE = register("minecraft:wet_sponge"); + public static final BlockType WHEAT = register("minecraft:wheat"); + public static final BlockType WHITE_BANNER = register("minecraft:white_banner"); + public static final BlockType WHITE_BED = register("minecraft:white_bed"); + public static final BlockType WHITE_CARPET = register("minecraft:white_carpet"); + public static final BlockType WHITE_CONCRETE = register("minecraft:white_concrete"); + public static final BlockType WHITE_CONCRETE_POWDER = register("minecraft:white_concrete_powder"); + public static final BlockType WHITE_GLAZED_TERRACOTTA = register("minecraft:white_glazed_terracotta"); + public static final BlockType WHITE_SHULKER_BOX = register("minecraft:white_shulker_box"); + public static final BlockType WHITE_STAINED_GLASS = register("minecraft:white_stained_glass"); + public static final BlockType WHITE_STAINED_GLASS_PANE = register("minecraft:white_stained_glass_pane"); + public static final BlockType WHITE_TERRACOTTA = register("minecraft:white_terracotta"); + public static final BlockType WHITE_TULIP = register("minecraft:white_tulip"); + public static final BlockType WHITE_WALL_BANNER = register("minecraft:white_wall_banner"); + public static final BlockType WHITE_WOOL = register("minecraft:white_wool"); + public static final BlockType WITHER_SKELETON_SKULL = register("minecraft:wither_skeleton_skull"); + public static final BlockType WITHER_SKELETON_WALL_SKULL = register("minecraft:wither_skeleton_wall_skull"); + public static final BlockType YELLOW_BANNER = register("minecraft:yellow_banner"); + public static final BlockType YELLOW_BED = register("minecraft:yellow_bed"); + public static final BlockType YELLOW_CARPET = register("minecraft:yellow_carpet"); + public static final BlockType YELLOW_CONCRETE = register("minecraft:yellow_concrete"); + public static final BlockType YELLOW_CONCRETE_POWDER = register("minecraft:yellow_concrete_powder"); + public static final BlockType YELLOW_GLAZED_TERRACOTTA = register("minecraft:yellow_glazed_terracotta"); + public static final BlockType YELLOW_SHULKER_BOX = register("minecraft:yellow_shulker_box"); + public static final BlockType YELLOW_STAINED_GLASS = register("minecraft:yellow_stained_glass"); + public static final BlockType YELLOW_STAINED_GLASS_PANE = register("minecraft:yellow_stained_glass_pane"); + public static final BlockType YELLOW_TERRACOTTA = register("minecraft:yellow_terracotta"); + public static final BlockType YELLOW_WALL_BANNER = register("minecraft:yellow_wall_banner"); + public static final BlockType YELLOW_WOOL = register("minecraft:yellow_wool"); + public static final BlockType ZOMBIE_HEAD = register("minecraft:zombie_head"); + public static final BlockType ZOMBIE_WALL_HEAD = register("minecraft:zombie_wall_head"); - private static final Map blockMapping = new HashMap<>(); - - static { - for (Field field : BlockTypes.class.getFields()) { - if (field.getType() == BlockType.class) { - try { - registerBlock((BlockType) field.get(null)); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } - } - } + private static BlockType register(final String id) { + return register(new BlockType(id)); } - public static void registerBlock(BlockType blockType) { - if (blockMapping.containsKey(blockType.getId()) && !blockType.getId().startsWith("minecraft:")) { - throw new IllegalArgumentException("Existing block with this ID already registered"); - } - - blockMapping.put(blockType.getId(), blockType); + public static BlockType register(final BlockType block) { + return BlockType.REGISTRY.register(block.getId(), block); } @Nullable - public static BlockType getBlockType(String id) { - // If it has no namespace, assume minecraft. - if (id != null && !id.contains(":")) { - id = "minecraft:" + id; - } - return blockMapping.get(id); + public static BlockType get(final String id) { + return BlockType.REGISTRY.get(id); } public static Collection values() { - return blockMapping.values(); + return BlockType.REGISTRY.values(); } } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidCategories.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidCategories.java index aaf3ea945..2362c26c0 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidCategories.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidCategories.java @@ -19,10 +19,7 @@ package com.sk89q.worldedit.world.fluid; -import java.lang.reflect.Field; import java.util.Collection; -import java.util.HashMap; -import java.util.Map; import javax.annotation.Nullable; @@ -34,41 +31,23 @@ public class FluidCategories { private FluidCategories() { } - public static final FluidCategory LAVA = new FluidCategory("minecraft:lava"); - public static final FluidCategory WATER = new FluidCategory("minecraft:water"); + public static final FluidCategory LAVA = register("minecraft:lava"); + public static final FluidCategory WATER = register("minecraft:water"); - private static final Map categoryMapping = new HashMap<>(); - - static { - for (Field field : FluidCategories.class.getFields()) { - if (field.getType() == FluidCategory.class) { - try { - registerCategory((FluidCategory) field.get(null)); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } - } - } + private static FluidCategory register(final String id) { + return register(new FluidCategory(id)); } - public static void registerCategory(FluidCategory fluidCategory) { - if (categoryMapping.containsKey(fluidCategory.getId()) && !fluidCategory.getId().startsWith("minecraft:")) { - throw new IllegalArgumentException("Existing category with this ID already registered"); - } - - categoryMapping.put(fluidCategory.getId(), fluidCategory); + public static FluidCategory register(final FluidCategory tag) { + return FluidCategory.REGISTRY.register(tag.getId(), tag); } @Nullable - public static FluidCategory getFluidCategory(String id) { - // If it has no namespace, assume minecraft. - if (id != null && !id.contains(":")) { - id = "minecraft:" + id; - } - return categoryMapping.get(id); + public static FluidCategory get(final String id) { + return FluidCategory.REGISTRY.get(id); } public static Collection values() { - return categoryMapping.values(); + return FluidCategory.REGISTRY.values(); } } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidCategory.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidCategory.java index 1cb8c8af0..0c359c2ce 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidCategory.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidCategory.java @@ -19,6 +19,8 @@ package com.sk89q.worldedit.world.fluid; +import com.sk89q.worldedit.registry.NamespacedRegistry; + import java.util.Collections; import java.util.Set; @@ -28,6 +30,8 @@ import java.util.Set; */ public class FluidCategory { + public static final NamespacedRegistry REGISTRY = new NamespacedRegistry<>(); + private final String id; public FluidCategory(String id) { diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidType.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidType.java index 7b4fef0c0..11b1ea63f 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidType.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidType.java @@ -19,12 +19,16 @@ package com.sk89q.worldedit.world.fluid; +import com.sk89q.worldedit.registry.NamespacedRegistry; + /** * Minecraft now has a 'fluid' system. This is a * stub class to represent what it may be in the future. */ public class FluidType { + public static final NamespacedRegistry REGISTRY = new NamespacedRegistry<>(); + private String id; public FluidType(String id) { diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidTypes.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidTypes.java index 03080775f..4dbc012c4 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidTypes.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/fluid/FluidTypes.java @@ -19,10 +19,7 @@ package com.sk89q.worldedit.world.fluid; -import java.lang.reflect.Field; import java.util.Collection; -import java.util.HashMap; -import java.util.Map; import javax.annotation.Nullable; @@ -34,45 +31,26 @@ public class FluidTypes { private FluidTypes() { } - public static final FluidType EMPTY = new FluidType("minecraft:empty"); - public static final FluidType FLOWING_LAVA = new FluidType("minecraft:flowing_lava"); - public static final FluidType FLOWING_WATER = new FluidType("minecraft:flowing_water"); - public static final FluidType LAVA = new FluidType("minecraft:lava"); - public static final FluidType WATER = new FluidType("minecraft:water"); + public static final FluidType EMPTY = register("minecraft:empty"); + public static final FluidType FLOWING_LAVA = register("minecraft:flowing_lava"); + public static final FluidType FLOWING_WATER = register("minecraft:flowing_water"); + public static final FluidType LAVA = register("minecraft:lava"); + public static final FluidType WATER = register("minecraft:water"); - - private static final Map fluidMapping = new HashMap<>(); - - static { - for (Field field : FluidTypes.class.getFields()) { - if (field.getType() == FluidType.class) { - try { - registerFluid((FluidType) field.get(null)); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } - } - } + private static FluidType register(final String id) { + return register(new FluidType(id)); } - public static void registerFluid(FluidType fluidType) { - if (fluidMapping.containsKey(fluidType.getId()) && !fluidType.getId().startsWith("minecraft:")) { - throw new IllegalArgumentException("Existing fluid with this ID already registered"); - } - - fluidMapping.put(fluidType.getId(), fluidType); + public static FluidType register(final FluidType fluid) { + return FluidType.REGISTRY.register(fluid.getId(), fluid); } @Nullable - public static FluidType getFluidType(String id) { - // If it has no namespace, assume minecraft. - if (id != null && !id.contains(":")) { - id = "minecraft:" + id; - } - return fluidMapping.get(id); + public static FluidType getFluidType(final String id) { + return FluidType.REGISTRY.get(id); } public static Collection values() { - return fluidMapping.values(); + return FluidType.REGISTRY.values(); } } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemCategories.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemCategories.java index d0af4f90a..2ec454bda 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemCategories.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemCategories.java @@ -34,69 +34,51 @@ public class ItemCategories { private ItemCategories() { } - public static final ItemCategory ACACIA_LOGS = new ItemCategory("minecraft:acacia_logs"); - public static final ItemCategory ANVIL = new ItemCategory("minecraft:anvil"); - public static final ItemCategory BANNERS = new ItemCategory("minecraft:banners"); - public static final ItemCategory BIRCH_LOGS = new ItemCategory("minecraft:birch_logs"); - public static final ItemCategory BOATS = new ItemCategory("minecraft:boats"); - public static final ItemCategory BUTTONS = new ItemCategory("minecraft:buttons"); - public static final ItemCategory CARPETS = new ItemCategory("minecraft:carpets"); - public static final ItemCategory CORAL = new ItemCategory("minecraft:coral"); - public static final ItemCategory CORAL_PLANTS = new ItemCategory("minecraft:coral_plants"); - public static final ItemCategory DARK_OAK_LOGS = new ItemCategory("minecraft:dark_oak_logs"); - public static final ItemCategory DOORS = new ItemCategory("minecraft:doors"); - public static final ItemCategory FISHES = new ItemCategory("minecraft:fishes"); - public static final ItemCategory JUNGLE_LOGS = new ItemCategory("minecraft:jungle_logs"); - public static final ItemCategory LEAVES = new ItemCategory("minecraft:leaves"); - public static final ItemCategory LOGS = new ItemCategory("minecraft:logs"); - public static final ItemCategory OAK_LOGS = new ItemCategory("minecraft:oak_logs"); - public static final ItemCategory PLANKS = new ItemCategory("minecraft:planks"); - public static final ItemCategory RAILS = new ItemCategory("minecraft:rails"); - public static final ItemCategory SAND = new ItemCategory("minecraft:sand"); - public static final ItemCategory SAPLINGS = new ItemCategory("minecraft:saplings"); - public static final ItemCategory SLABS = new ItemCategory("minecraft:slabs"); - public static final ItemCategory SPRUCE_LOGS = new ItemCategory("minecraft:spruce_logs"); - public static final ItemCategory STAIRS = new ItemCategory("minecraft:stairs"); - public static final ItemCategory STONE_BRICKS = new ItemCategory("minecraft:stone_bricks"); - public static final ItemCategory WOODEN_BUTTONS = new ItemCategory("minecraft:wooden_buttons"); - public static final ItemCategory WOODEN_DOORS = new ItemCategory("minecraft:wooden_doors"); - public static final ItemCategory WOODEN_PRESSURE_PLATES = new ItemCategory("minecraft:wooden_pressure_plates"); - public static final ItemCategory WOODEN_SLABS = new ItemCategory("minecraft:wooden_slabs"); - public static final ItemCategory WOODEN_STAIRS = new ItemCategory("minecraft:wooden_stairs"); - public static final ItemCategory WOOL = new ItemCategory("minecraft:wool"); + public static final ItemCategory ACACIA_LOGS = register("minecraft:acacia_logs"); + public static final ItemCategory ANVIL = register("minecraft:anvil"); + public static final ItemCategory BANNERS = register("minecraft:banners"); + public static final ItemCategory BIRCH_LOGS = register("minecraft:birch_logs"); + public static final ItemCategory BOATS = register("minecraft:boats"); + public static final ItemCategory BUTTONS = register("minecraft:buttons"); + public static final ItemCategory CARPETS = register("minecraft:carpets"); + public static final ItemCategory CORAL = register("minecraft:coral"); + public static final ItemCategory CORAL_PLANTS = register("minecraft:coral_plants"); + public static final ItemCategory DARK_OAK_LOGS = register("minecraft:dark_oak_logs"); + public static final ItemCategory DOORS = register("minecraft:doors"); + public static final ItemCategory FISHES = register("minecraft:fishes"); + public static final ItemCategory JUNGLE_LOGS = register("minecraft:jungle_logs"); + public static final ItemCategory LEAVES = register("minecraft:leaves"); + public static final ItemCategory LOGS = register("minecraft:logs"); + public static final ItemCategory OAK_LOGS = register("minecraft:oak_logs"); + public static final ItemCategory PLANKS = register("minecraft:planks"); + public static final ItemCategory RAILS = register("minecraft:rails"); + public static final ItemCategory SAND = register("minecraft:sand"); + public static final ItemCategory SAPLINGS = register("minecraft:saplings"); + public static final ItemCategory SLABS = register("minecraft:slabs"); + public static final ItemCategory SPRUCE_LOGS = register("minecraft:spruce_logs"); + public static final ItemCategory STAIRS = register("minecraft:stairs"); + public static final ItemCategory STONE_BRICKS = register("minecraft:stone_bricks"); + public static final ItemCategory WOODEN_BUTTONS = register("minecraft:wooden_buttons"); + public static final ItemCategory WOODEN_DOORS = register("minecraft:wooden_doors"); + public static final ItemCategory WOODEN_PRESSURE_PLATES = register("minecraft:wooden_pressure_plates"); + public static final ItemCategory WOODEN_SLABS = register("minecraft:wooden_slabs"); + public static final ItemCategory WOODEN_STAIRS = register("minecraft:wooden_stairs"); + public static final ItemCategory WOOL = register("minecraft:wool"); - private static final Map categoryMapping = new HashMap<>(); - - static { - for (Field field : ItemCategories.class.getFields()) { - if (field.getType() == ItemCategory.class) { - try { - registerCategory((ItemCategory) field.get(null)); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } - } - } + private static ItemCategory register(final String id) { + return register(new ItemCategory(id)); } - public static void registerCategory(ItemCategory itemCategory) { - if (categoryMapping.containsKey(itemCategory.getId()) && !itemCategory.getId().startsWith("minecraft:")) { - throw new IllegalArgumentException("Existing category with this ID already registered"); - } - - categoryMapping.put(itemCategory.getId(), itemCategory); + public static ItemCategory register(final ItemCategory tag) { + return ItemCategory.REGISTRY.register(tag.getId(), tag); } @Nullable - public static ItemCategory getItemCategory(String id) { - // If it has no namespace, assume minecraft. - if (id != null && !id.contains(":")) { - id = "minecraft:" + id; - } - return categoryMapping.get(id); + public static ItemCategory get(final String id) { + return ItemCategory.REGISTRY.get(id); } public static Collection values() { - return categoryMapping.values(); + return ItemCategory.REGISTRY.values(); } } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemCategory.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemCategory.java index 458116995..5e0240aad 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemCategory.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemCategory.java @@ -22,6 +22,7 @@ package com.sk89q.worldedit.world.item; import com.sk89q.worldedit.WorldEdit; import com.sk89q.worldedit.blocks.BaseItem; import com.sk89q.worldedit.extension.platform.Capability; +import com.sk89q.worldedit.registry.NamespacedRegistry; import java.util.Set; @@ -31,6 +32,8 @@ import java.util.Set; */ public class ItemCategory { + public static final NamespacedRegistry REGISTRY = new NamespacedRegistry<>(); + private final String id; public ItemCategory(String id) { diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemType.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemType.java index b57a8da04..32d8b1008 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemType.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemType.java @@ -19,6 +19,7 @@ package com.sk89q.worldedit.world.item; +import com.sk89q.worldedit.registry.NamespacedRegistry; import com.sk89q.worldedit.world.block.BlockType; import com.sk89q.worldedit.world.block.BlockTypes; import com.sk89q.worldedit.world.registry.BundledItemData; @@ -28,6 +29,8 @@ import javax.annotation.Nullable; public class ItemType { + public static final NamespacedRegistry REGISTRY = new NamespacedRegistry<>(); + private String id; public ItemType(String id) { @@ -73,7 +76,7 @@ public class ItemType { */ @Nullable public BlockType getBlockType() { - return BlockTypes.getBlockType(this.id); + return BlockTypes.get(this.id); } /** diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemTypes.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemTypes.java index 12c740220..94a891739 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemTypes.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemTypes.java @@ -31,750 +31,732 @@ public class ItemTypes { private ItemTypes() { } - public static final ItemType ACACIA_BARK = new ItemType("minecraft:acacia_bark"); - public static final ItemType ACACIA_BOAT = new ItemType("minecraft:acacia_boat"); - public static final ItemType ACACIA_BUTTON = new ItemType("minecraft:acacia_button"); - public static final ItemType ACACIA_FENCE = new ItemType("minecraft:acacia_fence"); - public static final ItemType ACACIA_FENCE_GATE = new ItemType("minecraft:acacia_fence_gate"); - public static final ItemType ACACIA_LEAVES = new ItemType("minecraft:acacia_leaves"); - public static final ItemType ACACIA_LOG = new ItemType("minecraft:acacia_log"); - public static final ItemType ACACIA_PLANKS = new ItemType("minecraft:acacia_planks"); - public static final ItemType ACACIA_PRESSURE_PLATE = new ItemType("minecraft:acacia_pressure_plate"); - public static final ItemType ACACIA_SAPLING = new ItemType("minecraft:acacia_sapling"); - public static final ItemType ACACIA_SLAB = new ItemType("minecraft:acacia_slab"); - public static final ItemType ACACIA_STAIRS = new ItemType("minecraft:acacia_stairs"); - public static final ItemType ACACIA_TRAPDOOR = new ItemType("minecraft:acacia_trapdoor"); - public static final ItemType ACTIVATOR_RAIL = new ItemType("minecraft:activator_rail"); - public static final ItemType AIR = new ItemType("minecraft:air"); - public static final ItemType ALLIUM = new ItemType("minecraft:allium"); - public static final ItemType ANDESITE = new ItemType("minecraft:andesite"); - public static final ItemType ANVIL = new ItemType("minecraft:anvil"); - public static final ItemType APPLE = new ItemType("minecraft:apple"); - public static final ItemType ARMOR_STAND = new ItemType("minecraft:armor_stand"); - public static final ItemType ARROW = new ItemType("minecraft:arrow"); - public static final ItemType AZURE_BLUET = new ItemType("minecraft:azure_bluet"); - public static final ItemType BAKED_POTATO = new ItemType("minecraft:baked_potato"); - public static final ItemType BARRIER = new ItemType("minecraft:barrier"); - public static final ItemType BAT_SPAWN_EGG = new ItemType("minecraft:bat_spawn_egg"); - public static final ItemType BEDROCK = new ItemType("minecraft:bedrock"); - public static final ItemType BEEF = new ItemType("minecraft:beef"); - public static final ItemType BEETROOT = new ItemType("minecraft:beetroot"); - public static final ItemType BEETROOT_SEEDS = new ItemType("minecraft:beetroot_seeds"); - public static final ItemType BEETROOT_SOUP = new ItemType("minecraft:beetroot_soup"); - public static final ItemType BIRCH_BARK = new ItemType("minecraft:birch_bark"); - public static final ItemType BIRCH_BOAT = new ItemType("minecraft:birch_boat"); - public static final ItemType BIRCH_BUTTON = new ItemType("minecraft:birch_button"); - public static final ItemType BIRCH_FENCE = new ItemType("minecraft:birch_fence"); - public static final ItemType BIRCH_FENCE_GATE = new ItemType("minecraft:birch_fence_gate"); - public static final ItemType BIRCH_LEAVES = new ItemType("minecraft:birch_leaves"); - public static final ItemType BIRCH_LOG = new ItemType("minecraft:birch_log"); - public static final ItemType BIRCH_PLANKS = new ItemType("minecraft:birch_planks"); - public static final ItemType BIRCH_PRESSURE_PLATE = new ItemType("minecraft:birch_pressure_plate"); - public static final ItemType BIRCH_SAPLING = new ItemType("minecraft:birch_sapling"); - public static final ItemType BIRCH_SLAB = new ItemType("minecraft:birch_slab"); - public static final ItemType BIRCH_STAIRS = new ItemType("minecraft:birch_stairs"); - public static final ItemType BIRCH_TRAPDOOR = new ItemType("minecraft:birch_trapdoor"); - public static final ItemType BLACK_BANNER = new ItemType("minecraft:black_banner"); - public static final ItemType BLACK_CARPET = new ItemType("minecraft:black_carpet"); - public static final ItemType BLACK_CONCRETE = new ItemType("minecraft:black_concrete"); - public static final ItemType BLACK_CONCRETE_POWDER = new ItemType("minecraft:black_concrete_powder"); - public static final ItemType BLACK_GLAZED_TERRACOTTA = new ItemType("minecraft:black_glazed_terracotta"); - public static final ItemType BLACK_STAINED_GLASS = new ItemType("minecraft:black_stained_glass"); - public static final ItemType BLACK_STAINED_GLASS_PANE = new ItemType("minecraft:black_stained_glass_pane"); - public static final ItemType BLACK_TERRACOTTA = new ItemType("minecraft:black_terracotta"); - public static final ItemType BLACK_WOOL = new ItemType("minecraft:black_wool"); - public static final ItemType BLAZE_POWDER = new ItemType("minecraft:blaze_powder"); - public static final ItemType BLAZE_ROD = new ItemType("minecraft:blaze_rod"); - public static final ItemType BLAZE_SPAWN_EGG = new ItemType("minecraft:blaze_spawn_egg"); - public static final ItemType BLUE_BANNER = new ItemType("minecraft:blue_banner"); - public static final ItemType BLUE_CARPET = new ItemType("minecraft:blue_carpet"); - public static final ItemType BLUE_CONCRETE = new ItemType("minecraft:blue_concrete"); - public static final ItemType BLUE_CONCRETE_POWDER = new ItemType("minecraft:blue_concrete_powder"); - public static final ItemType BLUE_GLAZED_TERRACOTTA = new ItemType("minecraft:blue_glazed_terracotta"); - public static final ItemType BLUE_ICE = new ItemType("minecraft:blue_ice"); - public static final ItemType BLUE_ORCHID = new ItemType("minecraft:blue_orchid"); - public static final ItemType BLUE_STAINED_GLASS = new ItemType("minecraft:blue_stained_glass"); - public static final ItemType BLUE_STAINED_GLASS_PANE = new ItemType("minecraft:blue_stained_glass_pane"); - public static final ItemType BLUE_TERRACOTTA = new ItemType("minecraft:blue_terracotta"); - public static final ItemType BLUE_WOOL = new ItemType("minecraft:blue_wool"); - public static final ItemType BONE = new ItemType("minecraft:bone"); - public static final ItemType BONE_BLOCK = new ItemType("minecraft:bone_block"); - public static final ItemType BONE_MEAL = new ItemType("minecraft:bone_meal"); - public static final ItemType BOOK = new ItemType("minecraft:book"); - public static final ItemType BOOKSHELF = new ItemType("minecraft:bookshelf"); - public static final ItemType BOW = new ItemType("minecraft:bow"); - public static final ItemType BOWL = new ItemType("minecraft:bowl"); - public static final ItemType BRAIN_CORAL = new ItemType("minecraft:brain_coral"); - public static final ItemType BRAIN_CORAL_BLOCK = new ItemType("minecraft:brain_coral_block"); - public static final ItemType BRAIN_CORAL_FAN = new ItemType("minecraft:brain_coral_fan"); - public static final ItemType BREAD = new ItemType("minecraft:bread"); - public static final ItemType BREWING_STAND = new ItemType("minecraft:brewing_stand"); - public static final ItemType BRICK = new ItemType("minecraft:brick"); - public static final ItemType BRICK_SLAB = new ItemType("minecraft:brick_slab"); - public static final ItemType BRICK_STAIRS = new ItemType("minecraft:brick_stairs"); - public static final ItemType BRICKS = new ItemType("minecraft:bricks"); - public static final ItemType BROWN_BANNER = new ItemType("minecraft:brown_banner"); - public static final ItemType BROWN_CARPET = new ItemType("minecraft:brown_carpet"); - public static final ItemType BROWN_CONCRETE = new ItemType("minecraft:brown_concrete"); - public static final ItemType BROWN_CONCRETE_POWDER = new ItemType("minecraft:brown_concrete_powder"); - public static final ItemType BROWN_GLAZED_TERRACOTTA = new ItemType("minecraft:brown_glazed_terracotta"); - public static final ItemType BROWN_MUSHROOM = new ItemType("minecraft:brown_mushroom"); - public static final ItemType BROWN_MUSHROOM_BLOCK = new ItemType("minecraft:brown_mushroom_block"); - public static final ItemType BROWN_STAINED_GLASS = new ItemType("minecraft:brown_stained_glass"); - public static final ItemType BROWN_STAINED_GLASS_PANE = new ItemType("minecraft:brown_stained_glass_pane"); - public static final ItemType BROWN_TERRACOTTA = new ItemType("minecraft:brown_terracotta"); - public static final ItemType BROWN_WOOL = new ItemType("minecraft:brown_wool"); - public static final ItemType BUBBLE_CORAL = new ItemType("minecraft:bubble_coral"); - public static final ItemType BUBBLE_CORAL_BLOCK = new ItemType("minecraft:bubble_coral_block"); - public static final ItemType BUBBLE_CORAL_FAN = new ItemType("minecraft:bubble_coral_fan"); - public static final ItemType BUCKET = new ItemType("minecraft:bucket"); - public static final ItemType CACTUS = new ItemType("minecraft:cactus"); - public static final ItemType CACTUS_GREEN = new ItemType("minecraft:cactus_green"); - public static final ItemType CARROT = new ItemType("minecraft:carrot"); - public static final ItemType CARROT_ON_A_STICK = new ItemType("minecraft:carrot_on_a_stick"); - public static final ItemType CARVED_PUMPKIN = new ItemType("minecraft:carved_pumpkin"); - public static final ItemType CAULDRON = new ItemType("minecraft:cauldron"); - public static final ItemType CAVE_SPIDER_SPAWN_EGG = new ItemType("minecraft:cave_spider_spawn_egg"); - public static final ItemType CHAINMAIL_BOOTS = new ItemType("minecraft:chainmail_boots"); - public static final ItemType CHAINMAIL_CHESTPLATE = new ItemType("minecraft:chainmail_chestplate"); - public static final ItemType CHAINMAIL_HELMET = new ItemType("minecraft:chainmail_helmet"); - public static final ItemType CHAINMAIL_LEGGINGS = new ItemType("minecraft:chainmail_leggings"); - public static final ItemType CHARCOAL = new ItemType("minecraft:charcoal"); - public static final ItemType CHEST = new ItemType("minecraft:chest"); - public static final ItemType CHEST_MINECART = new ItemType("minecraft:chest_minecart"); - public static final ItemType CHICKEN = new ItemType("minecraft:chicken"); - public static final ItemType CHICKEN_SPAWN_EGG = new ItemType("minecraft:chicken_spawn_egg"); - public static final ItemType CHIPPED_ANVIL = new ItemType("minecraft:chipped_anvil"); - public static final ItemType CHISELED_QUARTZ_BLOCK = new ItemType("minecraft:chiseled_quartz_block"); - public static final ItemType CHISELED_RED_SANDSTONE = new ItemType("minecraft:chiseled_red_sandstone"); - public static final ItemType CHISELED_SANDSTONE = new ItemType("minecraft:chiseled_sandstone"); - public static final ItemType CHISELED_STONE_BRICKS = new ItemType("minecraft:chiseled_stone_bricks"); - public static final ItemType CHORUS_FLOWER = new ItemType("minecraft:chorus_flower"); - public static final ItemType CHORUS_FRUIT = new ItemType("minecraft:chorus_fruit"); - public static final ItemType CHORUS_FRUIT_POPPED = new ItemType("minecraft:chorus_fruit_popped"); - public static final ItemType CHORUS_PLANT = new ItemType("minecraft:chorus_plant"); - public static final ItemType CLAY = new ItemType("minecraft:clay"); - public static final ItemType CLAY_BALL = new ItemType("minecraft:clay_ball"); - public static final ItemType CLOCK = new ItemType("minecraft:clock"); - public static final ItemType CLOWNFISH = new ItemType("minecraft:clownfish"); - public static final ItemType CLOWNFISH_BUCKET = new ItemType("minecraft:clownfish_bucket"); - public static final ItemType COAL = new ItemType("minecraft:coal"); - public static final ItemType COAL_BLOCK = new ItemType("minecraft:coal_block"); - public static final ItemType COAL_ORE = new ItemType("minecraft:coal_ore"); - public static final ItemType COARSE_DIRT = new ItemType("minecraft:coarse_dirt"); - public static final ItemType COBBLESTONE = new ItemType("minecraft:cobblestone"); - public static final ItemType COBBLESTONE_SLAB = new ItemType("minecraft:cobblestone_slab"); - public static final ItemType COBBLESTONE_STAIRS = new ItemType("minecraft:cobblestone_stairs"); - public static final ItemType COBBLESTONE_WALL = new ItemType("minecraft:cobblestone_wall"); - public static final ItemType COBWEB = new ItemType("minecraft:cobweb"); - public static final ItemType COCOA_BEANS = new ItemType("minecraft:cocoa_beans"); - public static final ItemType COD = new ItemType("minecraft:cod"); - public static final ItemType COD_BUCKET = new ItemType("minecraft:cod_bucket"); - public static final ItemType COD_SPAWN_EGG = new ItemType("minecraft:cod_spawn_egg"); - public static final ItemType COMMAND_BLOCK_MINECART = new ItemType("minecraft:command_block_minecart"); - public static final ItemType COMPARATOR = new ItemType("minecraft:comparator"); - public static final ItemType COMPASS = new ItemType("minecraft:compass"); - public static final ItemType COOKED_BEEF = new ItemType("minecraft:cooked_beef"); - public static final ItemType COOKED_CHICKEN = new ItemType("minecraft:cooked_chicken"); - public static final ItemType COOKED_COD = new ItemType("minecraft:cooked_cod"); - public static final ItemType COOKED_MUTTON = new ItemType("minecraft:cooked_mutton"); - public static final ItemType COOKED_PORKCHOP = new ItemType("minecraft:cooked_porkchop"); - public static final ItemType COOKED_RABBIT = new ItemType("minecraft:cooked_rabbit"); - public static final ItemType COOKED_SALMON = new ItemType("minecraft:cooked_salmon"); - public static final ItemType COOKIE = new ItemType("minecraft:cookie"); - public static final ItemType COW_SPAWN_EGG = new ItemType("minecraft:cow_spawn_egg"); - public static final ItemType CRACKED_STONE_BRICKS = new ItemType("minecraft:cracked_stone_bricks"); - public static final ItemType CRAFTING_TABLE = new ItemType("minecraft:crafting_table"); - public static final ItemType CREEPER_SPAWN_EGG = new ItemType("minecraft:creeper_spawn_egg"); - public static final ItemType CUT_RED_SANDSTONE = new ItemType("minecraft:cut_red_sandstone"); - public static final ItemType CUT_SANDSTONE = new ItemType("minecraft:cut_sandstone"); - public static final ItemType CYAN_BANNER = new ItemType("minecraft:cyan_banner"); - public static final ItemType CYAN_CARPET = new ItemType("minecraft:cyan_carpet"); - public static final ItemType CYAN_CONCRETE = new ItemType("minecraft:cyan_concrete"); - public static final ItemType CYAN_CONCRETE_POWDER = new ItemType("minecraft:cyan_concrete_powder"); - public static final ItemType CYAN_DYE = new ItemType("minecraft:cyan_dye"); - public static final ItemType CYAN_GLAZED_TERRACOTTA = new ItemType("minecraft:cyan_glazed_terracotta"); - public static final ItemType CYAN_STAINED_GLASS = new ItemType("minecraft:cyan_stained_glass"); - public static final ItemType CYAN_STAINED_GLASS_PANE = new ItemType("minecraft:cyan_stained_glass_pane"); - public static final ItemType CYAN_TERRACOTTA = new ItemType("minecraft:cyan_terracotta"); - public static final ItemType CYAN_WOOL = new ItemType("minecraft:cyan_wool"); - public static final ItemType DAMAGED_ANVIL = new ItemType("minecraft:damaged_anvil"); - public static final ItemType DANDELION = new ItemType("minecraft:dandelion"); - public static final ItemType DANDELION_YELLOW = new ItemType("minecraft:dandelion_yellow"); - public static final ItemType DARK_OAK_BARK = new ItemType("minecraft:dark_oak_bark"); - public static final ItemType DARK_OAK_BOAT = new ItemType("minecraft:dark_oak_boat"); - public static final ItemType DARK_OAK_BUTTON = new ItemType("minecraft:dark_oak_button"); - public static final ItemType DARK_OAK_FENCE = new ItemType("minecraft:dark_oak_fence"); - public static final ItemType DARK_OAK_FENCE_GATE = new ItemType("minecraft:dark_oak_fence_gate"); - public static final ItemType DARK_OAK_LEAVES = new ItemType("minecraft:dark_oak_leaves"); - public static final ItemType DARK_OAK_LOG = new ItemType("minecraft:dark_oak_log"); - public static final ItemType DARK_OAK_PLANKS = new ItemType("minecraft:dark_oak_planks"); - public static final ItemType DARK_OAK_PRESSURE_PLATE = new ItemType("minecraft:dark_oak_pressure_plate"); - public static final ItemType DARK_OAK_SAPLING = new ItemType("minecraft:dark_oak_sapling"); - public static final ItemType DARK_OAK_SLAB = new ItemType("minecraft:dark_oak_slab"); - public static final ItemType DARK_OAK_STAIRS = new ItemType("minecraft:dark_oak_stairs"); - public static final ItemType DARK_OAK_TRAPDOOR = new ItemType("minecraft:dark_oak_trapdoor"); - public static final ItemType DARK_PRISMARINE = new ItemType("minecraft:dark_prismarine"); - public static final ItemType DARK_PRISMARINE_SLAB = new ItemType("minecraft:dark_prismarine_slab"); - public static final ItemType DARK_PRISMARINE_STAIRS = new ItemType("minecraft:dark_prismarine_stairs"); - public static final ItemType DAYLIGHT_DETECTOR = new ItemType("minecraft:daylight_detector"); - public static final ItemType DEAD_BRAIN_CORAL_BLOCK = new ItemType("minecraft:dead_brain_coral_block"); - public static final ItemType DEAD_BUBBLE_CORAL_BLOCK = new ItemType("minecraft:dead_bubble_coral_block"); - public static final ItemType DEAD_BUSH = new ItemType("minecraft:dead_bush"); - public static final ItemType DEAD_FIRE_CORAL_BLOCK = new ItemType("minecraft:dead_fire_coral_block"); - public static final ItemType DEAD_HORN_CORAL_BLOCK = new ItemType("minecraft:dead_horn_coral_block"); - public static final ItemType DEAD_TUBE_CORAL_BLOCK = new ItemType("minecraft:dead_tube_coral_block"); - public static final ItemType DEBUG_STICK = new ItemType("minecraft:debug_stick"); - public static final ItemType DETECTOR_RAIL = new ItemType("minecraft:detector_rail"); - public static final ItemType DIAMOND = new ItemType("minecraft:diamond"); - public static final ItemType DIAMOND_AXE = new ItemType("minecraft:diamond_axe"); - public static final ItemType DIAMOND_BLOCK = new ItemType("minecraft:diamond_block"); - public static final ItemType DIAMOND_BOOTS = new ItemType("minecraft:diamond_boots"); - public static final ItemType DIAMOND_CHESTPLATE = new ItemType("minecraft:diamond_chestplate"); - public static final ItemType DIAMOND_HELMET = new ItemType("minecraft:diamond_helmet"); - public static final ItemType DIAMOND_HOE = new ItemType("minecraft:diamond_hoe"); - public static final ItemType DIAMOND_HORSE_ARMOR = new ItemType("minecraft:diamond_horse_armor"); - public static final ItemType DIAMOND_LEGGINGS = new ItemType("minecraft:diamond_leggings"); - public static final ItemType DIAMOND_ORE = new ItemType("minecraft:diamond_ore"); - public static final ItemType DIAMOND_PICKAXE = new ItemType("minecraft:diamond_pickaxe"); - public static final ItemType DIAMOND_SHOVEL = new ItemType("minecraft:diamond_shovel"); - public static final ItemType DIAMOND_SWORD = new ItemType("minecraft:diamond_sword"); - public static final ItemType DIORITE = new ItemType("minecraft:diorite"); - public static final ItemType DIRT = new ItemType("minecraft:dirt"); - public static final ItemType DISPENSER = new ItemType("minecraft:dispenser"); - public static final ItemType DOLPHIN_SPAWN_EGG = new ItemType("minecraft:dolphin_spawn_egg"); - public static final ItemType DONKEY_SPAWN_EGG = new ItemType("minecraft:donkey_spawn_egg"); - public static final ItemType DRAGON_BREATH = new ItemType("minecraft:dragon_breath"); - public static final ItemType DRIED_KELP = new ItemType("minecraft:dried_kelp"); - public static final ItemType DRIED_KELP_BLOCK = new ItemType("minecraft:dried_kelp_block"); - public static final ItemType DROPPER = new ItemType("minecraft:dropper"); - public static final ItemType DROWNED_SPAWN_EGG = new ItemType("minecraft:drowned_spawn_egg"); - public static final ItemType EGG = new ItemType("minecraft:egg"); - public static final ItemType ELDER_GUARDIAN_SPAWN_EGG = new ItemType("minecraft:elder_guardian_spawn_egg"); - public static final ItemType ELYTRA = new ItemType("minecraft:elytra"); - public static final ItemType EMERALD = new ItemType("minecraft:emerald"); - public static final ItemType EMERALD_BLOCK = new ItemType("minecraft:emerald_block"); - public static final ItemType EMERALD_ORE = new ItemType("minecraft:emerald_ore"); - public static final ItemType ENCHANTED_BOOK = new ItemType("minecraft:enchanted_book"); - public static final ItemType ENCHANTED_GOLDEN_APPLE = new ItemType("minecraft:enchanted_golden_apple"); - public static final ItemType ENCHANTING_TABLE = new ItemType("minecraft:enchanting_table"); - public static final ItemType END_CRYSTAL = new ItemType("minecraft:end_crystal"); - public static final ItemType END_PORTAL_FRAME = new ItemType("minecraft:end_portal_frame"); - public static final ItemType END_ROD = new ItemType("minecraft:end_rod"); - public static final ItemType END_STONE = new ItemType("minecraft:end_stone"); - public static final ItemType END_STONE_BRICKS = new ItemType("minecraft:end_stone_bricks"); - public static final ItemType ENDER_CHEST = new ItemType("minecraft:ender_chest"); - public static final ItemType ENDER_EYE = new ItemType("minecraft:ender_eye"); - public static final ItemType ENDER_PEARL = new ItemType("minecraft:ender_pearl"); - public static final ItemType ENDERMAN_SPAWN_EGG = new ItemType("minecraft:enderman_spawn_egg"); - public static final ItemType ENDERMITE_SPAWN_EGG = new ItemType("minecraft:endermite_spawn_egg"); - public static final ItemType EVOCATION_ILLAGER_SPAWN_EGG = new ItemType("minecraft:evocation_illager_spawn_egg"); - public static final ItemType EXPERIENCE_BOTTLE = new ItemType("minecraft:experience_bottle"); - public static final ItemType FARMLAND = new ItemType("minecraft:farmland"); - public static final ItemType FEATHER = new ItemType("minecraft:feather"); - public static final ItemType FERMENTED_SPIDER_EYE = new ItemType("minecraft:fermented_spider_eye"); - public static final ItemType FERN = new ItemType("minecraft:fern"); - public static final ItemType FILLED_MAP = new ItemType("minecraft:filled_map"); - public static final ItemType FIRE_CHARGE = new ItemType("minecraft:fire_charge"); - public static final ItemType FIRE_CORAL = new ItemType("minecraft:fire_coral"); - public static final ItemType FIRE_CORAL_BLOCK = new ItemType("minecraft:fire_coral_block"); - public static final ItemType FIRE_CORAL_FAN = new ItemType("minecraft:fire_coral_fan"); - public static final ItemType FIREWORK_ROCKET = new ItemType("minecraft:firework_rocket"); - public static final ItemType FIREWORK_STAR = new ItemType("minecraft:firework_star"); - public static final ItemType FISHING_ROD = new ItemType("minecraft:fishing_rod"); - public static final ItemType FLINT = new ItemType("minecraft:flint"); - public static final ItemType FLINT_AND_STEEL = new ItemType("minecraft:flint_and_steel"); - public static final ItemType FLOWER_POT = new ItemType("minecraft:flower_pot"); - public static final ItemType FURNACE = new ItemType("minecraft:furnace"); - public static final ItemType FURNACE_MINECART = new ItemType("minecraft:furnace_minecart"); - public static final ItemType GHAST_SPAWN_EGG = new ItemType("minecraft:ghast_spawn_egg"); - public static final ItemType GHAST_TEAR = new ItemType("minecraft:ghast_tear"); - public static final ItemType GLASS = new ItemType("minecraft:glass"); - public static final ItemType GLASS_BOTTLE = new ItemType("minecraft:glass_bottle"); - public static final ItemType GLASS_PANE = new ItemType("minecraft:glass_pane"); - public static final ItemType GLISTERING_MELON_SLICE = new ItemType("minecraft:glistering_melon_slice"); - public static final ItemType GLOWSTONE = new ItemType("minecraft:glowstone"); - public static final ItemType GLOWSTONE_DUST = new ItemType("minecraft:glowstone_dust"); - public static final ItemType GOLD_BLOCK = new ItemType("minecraft:gold_block"); - public static final ItemType GOLD_INGOT = new ItemType("minecraft:gold_ingot"); - public static final ItemType GOLD_NUGGET = new ItemType("minecraft:gold_nugget"); - public static final ItemType GOLD_ORE = new ItemType("minecraft:gold_ore"); - public static final ItemType GOLDEN_APPLE = new ItemType("minecraft:golden_apple"); - public static final ItemType GOLDEN_AXE = new ItemType("minecraft:golden_axe"); - public static final ItemType GOLDEN_BOOTS = new ItemType("minecraft:golden_boots"); - public static final ItemType GOLDEN_CARROT = new ItemType("minecraft:golden_carrot"); - public static final ItemType GOLDEN_CHESTPLATE = new ItemType("minecraft:golden_chestplate"); - public static final ItemType GOLDEN_HELMET = new ItemType("minecraft:golden_helmet"); - public static final ItemType GOLDEN_HOE = new ItemType("minecraft:golden_hoe"); - public static final ItemType GOLDEN_HORSE_ARMOR = new ItemType("minecraft:golden_horse_armor"); - public static final ItemType GOLDEN_LEGGINGS = new ItemType("minecraft:golden_leggings"); - public static final ItemType GOLDEN_PICKAXE = new ItemType("minecraft:golden_pickaxe"); - public static final ItemType GOLDEN_SHOVEL = new ItemType("minecraft:golden_shovel"); - public static final ItemType GOLDEN_SWORD = new ItemType("minecraft:golden_sword"); - public static final ItemType GRANITE = new ItemType("minecraft:granite"); - public static final ItemType GRASS = new ItemType("minecraft:grass"); - public static final ItemType GRASS_BLOCK = new ItemType("minecraft:grass_block"); - public static final ItemType GRASS_PATH = new ItemType("minecraft:grass_path"); - public static final ItemType GRAVEL = new ItemType("minecraft:gravel"); - public static final ItemType GRAY_BANNER = new ItemType("minecraft:gray_banner"); - public static final ItemType GRAY_CARPET = new ItemType("minecraft:gray_carpet"); - public static final ItemType GRAY_CONCRETE = new ItemType("minecraft:gray_concrete"); - public static final ItemType GRAY_CONCRETE_POWDER = new ItemType("minecraft:gray_concrete_powder"); - public static final ItemType GRAY_DYE = new ItemType("minecraft:gray_dye"); - public static final ItemType GRAY_GLAZED_TERRACOTTA = new ItemType("minecraft:gray_glazed_terracotta"); - public static final ItemType GRAY_STAINED_GLASS = new ItemType("minecraft:gray_stained_glass"); - public static final ItemType GRAY_STAINED_GLASS_PANE = new ItemType("minecraft:gray_stained_glass_pane"); - public static final ItemType GRAY_TERRACOTTA = new ItemType("minecraft:gray_terracotta"); - public static final ItemType GRAY_WOOL = new ItemType("minecraft:gray_wool"); - public static final ItemType GREEN_BANNER = new ItemType("minecraft:green_banner"); - public static final ItemType GREEN_CARPET = new ItemType("minecraft:green_carpet"); - public static final ItemType GREEN_CONCRETE = new ItemType("minecraft:green_concrete"); - public static final ItemType GREEN_CONCRETE_POWDER = new ItemType("minecraft:green_concrete_powder"); - public static final ItemType GREEN_GLAZED_TERRACOTTA = new ItemType("minecraft:green_glazed_terracotta"); - public static final ItemType GREEN_STAINED_GLASS = new ItemType("minecraft:green_stained_glass"); - public static final ItemType GREEN_STAINED_GLASS_PANE = new ItemType("minecraft:green_stained_glass_pane"); - public static final ItemType GREEN_TERRACOTTA = new ItemType("minecraft:green_terracotta"); - public static final ItemType GREEN_WOOL = new ItemType("minecraft:green_wool"); - public static final ItemType GUARDIAN_SPAWN_EGG = new ItemType("minecraft:guardian_spawn_egg"); - public static final ItemType GUNPOWDER = new ItemType("minecraft:gunpowder"); - public static final ItemType HAY_BLOCK = new ItemType("minecraft:hay_block"); - public static final ItemType HEART_OF_THE_SEA = new ItemType("minecraft:heart_of_the_sea"); - public static final ItemType HEAVY_WEIGHTED_PRESSURE_PLATE = new ItemType("minecraft:heavy_weighted_pressure_plate"); - public static final ItemType HOPPER = new ItemType("minecraft:hopper"); - public static final ItemType HOPPER_MINECART = new ItemType("minecraft:hopper_minecart"); - public static final ItemType HORN_CORAL = new ItemType("minecraft:horn_coral"); - public static final ItemType HORN_CORAL_BLOCK = new ItemType("minecraft:horn_coral_block"); - public static final ItemType HORN_CORAL_FAN = new ItemType("minecraft:horn_coral_fan"); - public static final ItemType HORSE_SPAWN_EGG = new ItemType("minecraft:horse_spawn_egg"); - public static final ItemType HUSK_SPAWN_EGG = new ItemType("minecraft:husk_spawn_egg"); - public static final ItemType ICE = new ItemType("minecraft:ice"); - public static final ItemType INFESTED_CHISELED_STONE_BRICKS = new ItemType("minecraft:infested_chiseled_stone_bricks"); - public static final ItemType INFESTED_COBBLESTONE = new ItemType("minecraft:infested_cobblestone"); - public static final ItemType INFESTED_CRACKED_STONE_BRICKS = new ItemType("minecraft:infested_cracked_stone_bricks"); - public static final ItemType INFESTED_MOSSY_STONE_BRICKS = new ItemType("minecraft:infested_mossy_stone_bricks"); - public static final ItemType INFESTED_STONE = new ItemType("minecraft:infested_stone"); - public static final ItemType INFESTED_STONE_BRICKS = new ItemType("minecraft:infested_stone_bricks"); - public static final ItemType INK_SAC = new ItemType("minecraft:ink_sac"); - public static final ItemType IRON_AXE = new ItemType("minecraft:iron_axe"); - public static final ItemType IRON_BARS = new ItemType("minecraft:iron_bars"); - public static final ItemType IRON_BLOCK = new ItemType("minecraft:iron_block"); - public static final ItemType IRON_BOOTS = new ItemType("minecraft:iron_boots"); - public static final ItemType IRON_CHESTPLATE = new ItemType("minecraft:iron_chestplate"); - public static final ItemType IRON_HELMET = new ItemType("minecraft:iron_helmet"); - public static final ItemType IRON_HOE = new ItemType("minecraft:iron_hoe"); - public static final ItemType IRON_HORSE_ARMOR = new ItemType("minecraft:iron_horse_armor"); - public static final ItemType IRON_INGOT = new ItemType("minecraft:iron_ingot"); - public static final ItemType IRON_LEGGINGS = new ItemType("minecraft:iron_leggings"); - public static final ItemType IRON_NUGGET = new ItemType("minecraft:iron_nugget"); - public static final ItemType IRON_ORE = new ItemType("minecraft:iron_ore"); - public static final ItemType IRON_PICKAXE = new ItemType("minecraft:iron_pickaxe"); - public static final ItemType IRON_SHOVEL = new ItemType("minecraft:iron_shovel"); - public static final ItemType IRON_SWORD = new ItemType("minecraft:iron_sword"); - public static final ItemType IRON_TRAPDOOR = new ItemType("minecraft:iron_trapdoor"); - public static final ItemType ITEM_FRAME = new ItemType("minecraft:item_frame"); - public static final ItemType JACK_O_LANTERN = new ItemType("minecraft:jack_o_lantern"); - public static final ItemType JUKEBOX = new ItemType("minecraft:jukebox"); - public static final ItemType JUNGLE_BARK = new ItemType("minecraft:jungle_bark"); - public static final ItemType JUNGLE_BOAT = new ItemType("minecraft:jungle_boat"); - public static final ItemType JUNGLE_BUTTON = new ItemType("minecraft:jungle_button"); - public static final ItemType JUNGLE_FENCE = new ItemType("minecraft:jungle_fence"); - public static final ItemType JUNGLE_FENCE_GATE = new ItemType("minecraft:jungle_fence_gate"); - public static final ItemType JUNGLE_LEAVES = new ItemType("minecraft:jungle_leaves"); - public static final ItemType JUNGLE_LOG = new ItemType("minecraft:jungle_log"); - public static final ItemType JUNGLE_PLANKS = new ItemType("minecraft:jungle_planks"); - public static final ItemType JUNGLE_PRESSURE_PLATE = new ItemType("minecraft:jungle_pressure_plate"); - public static final ItemType JUNGLE_SAPLING = new ItemType("minecraft:jungle_sapling"); - public static final ItemType JUNGLE_SLAB = new ItemType("minecraft:jungle_slab"); - public static final ItemType JUNGLE_STAIRS = new ItemType("minecraft:jungle_stairs"); - public static final ItemType JUNGLE_TRAPDOOR = new ItemType("minecraft:jungle_trapdoor"); - public static final ItemType KELP = new ItemType("minecraft:kelp"); - public static final ItemType KNOWLEDGE_BOOK = new ItemType("minecraft:knowledge_book"); - public static final ItemType LADDER = new ItemType("minecraft:ladder"); - public static final ItemType LAPIS_BLOCK = new ItemType("minecraft:lapis_block"); - public static final ItemType LAPIS_LAZULI = new ItemType("minecraft:lapis_lazuli"); - public static final ItemType LAPIS_ORE = new ItemType("minecraft:lapis_ore"); - public static final ItemType LAVA_BUCKET = new ItemType("minecraft:lava_bucket"); - public static final ItemType LEAD = new ItemType("minecraft:lead"); - public static final ItemType LEATHER = new ItemType("minecraft:leather"); - public static final ItemType LEATHER_BOOTS = new ItemType("minecraft:leather_boots"); - public static final ItemType LEATHER_CHESTPLATE = new ItemType("minecraft:leather_chestplate"); - public static final ItemType LEATHER_HELMET = new ItemType("minecraft:leather_helmet"); - public static final ItemType LEATHER_LEGGINGS = new ItemType("minecraft:leather_leggings"); - public static final ItemType LEVER = new ItemType("minecraft:lever"); - public static final ItemType LIGHT_BLUE_BANNER = new ItemType("minecraft:light_blue_banner"); - public static final ItemType LIGHT_BLUE_CARPET = new ItemType("minecraft:light_blue_carpet"); - public static final ItemType LIGHT_BLUE_CONCRETE = new ItemType("minecraft:light_blue_concrete"); - public static final ItemType LIGHT_BLUE_CONCRETE_POWDER = new ItemType("minecraft:light_blue_concrete_powder"); - public static final ItemType LIGHT_BLUE_DYE = new ItemType("minecraft:light_blue_dye"); - public static final ItemType LIGHT_BLUE_GLAZED_TERRACOTTA = new ItemType("minecraft:light_blue_glazed_terracotta"); - public static final ItemType LIGHT_BLUE_STAINED_GLASS = new ItemType("minecraft:light_blue_stained_glass"); - public static final ItemType LIGHT_BLUE_STAINED_GLASS_PANE = new ItemType("minecraft:light_blue_stained_glass_pane"); - public static final ItemType LIGHT_BLUE_TERRACOTTA = new ItemType("minecraft:light_blue_terracotta"); - public static final ItemType LIGHT_BLUE_WOOL = new ItemType("minecraft:light_blue_wool"); - public static final ItemType LIGHT_GRAY_BANNER = new ItemType("minecraft:light_gray_banner"); - public static final ItemType LIGHT_GRAY_CARPET = new ItemType("minecraft:light_gray_carpet"); - public static final ItemType LIGHT_GRAY_CONCRETE = new ItemType("minecraft:light_gray_concrete"); - public static final ItemType LIGHT_GRAY_CONCRETE_POWDER = new ItemType("minecraft:light_gray_concrete_powder"); - public static final ItemType LIGHT_GRAY_DYE = new ItemType("minecraft:light_gray_dye"); - public static final ItemType LIGHT_GRAY_GLAZED_TERRACOTTA = new ItemType("minecraft:light_gray_glazed_terracotta"); - public static final ItemType LIGHT_GRAY_STAINED_GLASS = new ItemType("minecraft:light_gray_stained_glass"); - public static final ItemType LIGHT_GRAY_STAINED_GLASS_PANE = new ItemType("minecraft:light_gray_stained_glass_pane"); - public static final ItemType LIGHT_GRAY_TERRACOTTA = new ItemType("minecraft:light_gray_terracotta"); - public static final ItemType LIGHT_GRAY_WOOL = new ItemType("minecraft:light_gray_wool"); - public static final ItemType LIGHT_WEIGHTED_PRESSURE_PLATE = new ItemType("minecraft:light_weighted_pressure_plate"); - public static final ItemType LIME_BANNER = new ItemType("minecraft:lime_banner"); - public static final ItemType LIME_CARPET = new ItemType("minecraft:lime_carpet"); - public static final ItemType LIME_CONCRETE = new ItemType("minecraft:lime_concrete"); - public static final ItemType LIME_CONCRETE_POWDER = new ItemType("minecraft:lime_concrete_powder"); - public static final ItemType LIME_DYE = new ItemType("minecraft:lime_dye"); - public static final ItemType LIME_GLAZED_TERRACOTTA = new ItemType("minecraft:lime_glazed_terracotta"); - public static final ItemType LIME_STAINED_GLASS = new ItemType("minecraft:lime_stained_glass"); - public static final ItemType LIME_STAINED_GLASS_PANE = new ItemType("minecraft:lime_stained_glass_pane"); - public static final ItemType LIME_TERRACOTTA = new ItemType("minecraft:lime_terracotta"); - public static final ItemType LIME_WOOL = new ItemType("minecraft:lime_wool"); - public static final ItemType LINGERING_POTION = new ItemType("minecraft:lingering_potion"); - public static final ItemType LLAMA_SPAWN_EGG = new ItemType("minecraft:llama_spawn_egg"); - public static final ItemType MAGENTA_BANNER = new ItemType("minecraft:magenta_banner"); - public static final ItemType MAGENTA_CARPET = new ItemType("minecraft:magenta_carpet"); - public static final ItemType MAGENTA_CONCRETE = new ItemType("minecraft:magenta_concrete"); - public static final ItemType MAGENTA_CONCRETE_POWDER = new ItemType("minecraft:magenta_concrete_powder"); - public static final ItemType MAGENTA_DYE = new ItemType("minecraft:magenta_dye"); - public static final ItemType MAGENTA_GLAZED_TERRACOTTA = new ItemType("minecraft:magenta_glazed_terracotta"); - public static final ItemType MAGENTA_STAINED_GLASS = new ItemType("minecraft:magenta_stained_glass"); - public static final ItemType MAGENTA_STAINED_GLASS_PANE = new ItemType("minecraft:magenta_stained_glass_pane"); - public static final ItemType MAGENTA_TERRACOTTA = new ItemType("minecraft:magenta_terracotta"); - public static final ItemType MAGENTA_WOOL = new ItemType("minecraft:magenta_wool"); - public static final ItemType MAGMA_BLOCK = new ItemType("minecraft:magma_block"); - public static final ItemType MAGMA_CREAM = new ItemType("minecraft:magma_cream"); - public static final ItemType MAGMA_CUBE_SPAWN_EGG = new ItemType("minecraft:magma_cube_spawn_egg"); - public static final ItemType MAP = new ItemType("minecraft:map"); - public static final ItemType MELON = new ItemType("minecraft:melon"); - public static final ItemType MELON_SEEDS = new ItemType("minecraft:melon_seeds"); - public static final ItemType MELON_SLICE = new ItemType("minecraft:melon_slice"); - public static final ItemType MILK_BUCKET = new ItemType("minecraft:milk_bucket"); - public static final ItemType MINECART = new ItemType("minecraft:minecart"); - public static final ItemType MOB_SPAWNER = new ItemType("minecraft:mob_spawner"); - public static final ItemType MOOSHROOM_SPAWN_EGG = new ItemType("minecraft:mooshroom_spawn_egg"); - public static final ItemType MOSSY_COBBLESTONE = new ItemType("minecraft:mossy_cobblestone"); - public static final ItemType MOSSY_COBBLESTONE_WALL = new ItemType("minecraft:mossy_cobblestone_wall"); - public static final ItemType MOSSY_STONE_BRICKS = new ItemType("minecraft:mossy_stone_bricks"); - public static final ItemType MULE_SPAWN_EGG = new ItemType("minecraft:mule_spawn_egg"); - public static final ItemType MUSHROOM_STEM = new ItemType("minecraft:mushroom_stem"); - public static final ItemType MUSHROOM_STEW = new ItemType("minecraft:mushroom_stew"); - public static final ItemType MUSIC_DISC_11 = new ItemType("minecraft:music_disc_11"); - public static final ItemType MUSIC_DISC_13 = new ItemType("minecraft:music_disc_13"); - public static final ItemType MUSIC_DISC_BLOCKS = new ItemType("minecraft:music_disc_blocks"); - public static final ItemType MUSIC_DISC_CAT = new ItemType("minecraft:music_disc_cat"); - public static final ItemType MUSIC_DISC_CHIRP = new ItemType("minecraft:music_disc_chirp"); - public static final ItemType MUSIC_DISC_FAR = new ItemType("minecraft:music_disc_far"); - public static final ItemType MUSIC_DISC_MALL = new ItemType("minecraft:music_disc_mall"); - public static final ItemType MUSIC_DISC_MELLOHI = new ItemType("minecraft:music_disc_mellohi"); - public static final ItemType MUSIC_DISC_STAL = new ItemType("minecraft:music_disc_stal"); - public static final ItemType MUSIC_DISC_STRAD = new ItemType("minecraft:music_disc_strad"); - public static final ItemType MUSIC_DISC_WAIT = new ItemType("minecraft:music_disc_wait"); - public static final ItemType MUSIC_DISC_WARD = new ItemType("minecraft:music_disc_ward"); - public static final ItemType MUTTON = new ItemType("minecraft:mutton"); - public static final ItemType MYCELIUM = new ItemType("minecraft:mycelium"); - public static final ItemType NAME_TAG = new ItemType("minecraft:name_tag"); - public static final ItemType NAUTILUS_SHELL = new ItemType("minecraft:nautilus_shell"); - public static final ItemType NETHER_BRICK = new ItemType("minecraft:nether_brick"); - public static final ItemType NETHER_BRICK_FENCE = new ItemType("minecraft:nether_brick_fence"); - public static final ItemType NETHER_BRICK_SLAB = new ItemType("minecraft:nether_brick_slab"); - public static final ItemType NETHER_BRICK_STAIRS = new ItemType("minecraft:nether_brick_stairs"); - public static final ItemType NETHER_BRICKS = new ItemType("minecraft:nether_bricks"); - public static final ItemType NETHER_QUARTZ_ORE = new ItemType("minecraft:nether_quartz_ore"); - public static final ItemType NETHER_STAR = new ItemType("minecraft:nether_star"); - public static final ItemType NETHER_WART = new ItemType("minecraft:nether_wart"); - public static final ItemType NETHER_WART_BLOCK = new ItemType("minecraft:nether_wart_block"); - public static final ItemType NETHERRACK = new ItemType("minecraft:netherrack"); - public static final ItemType NOTE_BLOCK = new ItemType("minecraft:note_block"); - public static final ItemType OAK_BARK = new ItemType("minecraft:oak_bark"); - public static final ItemType OAK_BOAT = new ItemType("minecraft:oak_boat"); - public static final ItemType OAK_BUTTON = new ItemType("minecraft:oak_button"); - public static final ItemType OAK_FENCE = new ItemType("minecraft:oak_fence"); - public static final ItemType OAK_FENCE_GATE = new ItemType("minecraft:oak_fence_gate"); - public static final ItemType OAK_LEAVES = new ItemType("minecraft:oak_leaves"); - public static final ItemType OAK_LOG = new ItemType("minecraft:oak_log"); - public static final ItemType OAK_PLANKS = new ItemType("minecraft:oak_planks"); - public static final ItemType OAK_PRESSURE_PLATE = new ItemType("minecraft:oak_pressure_plate"); - public static final ItemType OAK_SAPLING = new ItemType("minecraft:oak_sapling"); - public static final ItemType OAK_SLAB = new ItemType("minecraft:oak_slab"); - public static final ItemType OAK_STAIRS = new ItemType("minecraft:oak_stairs"); - public static final ItemType OAK_TRAPDOOR = new ItemType("minecraft:oak_trapdoor"); - public static final ItemType OBSERVER = new ItemType("minecraft:observer"); - public static final ItemType OBSIDIAN = new ItemType("minecraft:obsidian"); - public static final ItemType OCELOT_SPAWN_EGG = new ItemType("minecraft:ocelot_spawn_egg"); - public static final ItemType ORANGE_BANNER = new ItemType("minecraft:orange_banner"); - public static final ItemType ORANGE_CARPET = new ItemType("minecraft:orange_carpet"); - public static final ItemType ORANGE_CONCRETE = new ItemType("minecraft:orange_concrete"); - public static final ItemType ORANGE_CONCRETE_POWDER = new ItemType("minecraft:orange_concrete_powder"); - public static final ItemType ORANGE_DYE = new ItemType("minecraft:orange_dye"); - public static final ItemType ORANGE_GLAZED_TERRACOTTA = new ItemType("minecraft:orange_glazed_terracotta"); - public static final ItemType ORANGE_STAINED_GLASS = new ItemType("minecraft:orange_stained_glass"); - public static final ItemType ORANGE_STAINED_GLASS_PANE = new ItemType("minecraft:orange_stained_glass_pane"); - public static final ItemType ORANGE_TERRACOTTA = new ItemType("minecraft:orange_terracotta"); - public static final ItemType ORANGE_TULIP = new ItemType("minecraft:orange_tulip"); - public static final ItemType ORANGE_WOOL = new ItemType("minecraft:orange_wool"); - public static final ItemType OXEYE_DAISY = new ItemType("minecraft:oxeye_daisy"); - public static final ItemType PACKED_ICE = new ItemType("minecraft:packed_ice"); - public static final ItemType PAINTING = new ItemType("minecraft:painting"); - public static final ItemType PAPER = new ItemType("minecraft:paper"); - public static final ItemType PARROT_SPAWN_EGG = new ItemType("minecraft:parrot_spawn_egg"); - public static final ItemType PETRIFIED_OAK_SLAB = new ItemType("minecraft:petrified_oak_slab"); - public static final ItemType PHANTOM_MEMBRANE = new ItemType("minecraft:phantom_membrane"); - public static final ItemType PHANTOM_SPAWN_EGG = new ItemType("minecraft:phantom_spawn_egg"); - public static final ItemType PIG_SPAWN_EGG = new ItemType("minecraft:pig_spawn_egg"); - public static final ItemType PINK_BANNER = new ItemType("minecraft:pink_banner"); - public static final ItemType PINK_CARPET = new ItemType("minecraft:pink_carpet"); - public static final ItemType PINK_CONCRETE = new ItemType("minecraft:pink_concrete"); - public static final ItemType PINK_CONCRETE_POWDER = new ItemType("minecraft:pink_concrete_powder"); - public static final ItemType PINK_DYE = new ItemType("minecraft:pink_dye"); - public static final ItemType PINK_GLAZED_TERRACOTTA = new ItemType("minecraft:pink_glazed_terracotta"); - public static final ItemType PINK_STAINED_GLASS = new ItemType("minecraft:pink_stained_glass"); - public static final ItemType PINK_STAINED_GLASS_PANE = new ItemType("minecraft:pink_stained_glass_pane"); - public static final ItemType PINK_TERRACOTTA = new ItemType("minecraft:pink_terracotta"); - public static final ItemType PINK_TULIP = new ItemType("minecraft:pink_tulip"); - public static final ItemType PINK_WOOL = new ItemType("minecraft:pink_wool"); - public static final ItemType PISTON = new ItemType("minecraft:piston"); - public static final ItemType PODZOL = new ItemType("minecraft:podzol"); - public static final ItemType POISONOUS_POTATO = new ItemType("minecraft:poisonous_potato"); - public static final ItemType POLAR_BEAR_SPAWN_EGG = new ItemType("minecraft:polar_bear_spawn_egg"); - public static final ItemType POLISHED_ANDESITE = new ItemType("minecraft:polished_andesite"); - public static final ItemType POLISHED_DIORITE = new ItemType("minecraft:polished_diorite"); - public static final ItemType POLISHED_GRANITE = new ItemType("minecraft:polished_granite"); - public static final ItemType POPPY = new ItemType("minecraft:poppy"); - public static final ItemType PORKCHOP = new ItemType("minecraft:porkchop"); - public static final ItemType POTATO = new ItemType("minecraft:potato"); - public static final ItemType POTION = new ItemType("minecraft:potion"); - public static final ItemType POWERED_RAIL = new ItemType("minecraft:powered_rail"); - public static final ItemType PRISMARINE = new ItemType("minecraft:prismarine"); - public static final ItemType PRISMARINE_BRICK_SLAB = new ItemType("minecraft:prismarine_brick_slab"); - public static final ItemType PRISMARINE_BRICK_STAIRS = new ItemType("minecraft:prismarine_brick_stairs"); - public static final ItemType PRISMARINE_BRICKS = new ItemType("minecraft:prismarine_bricks"); - public static final ItemType PRISMARINE_CRYSTALS = new ItemType("minecraft:prismarine_crystals"); - public static final ItemType PRISMARINE_SHARD = new ItemType("minecraft:prismarine_shard"); - public static final ItemType PRISMARINE_SLAB = new ItemType("minecraft:prismarine_slab"); - public static final ItemType PRISMARINE_STAIRS = new ItemType("minecraft:prismarine_stairs"); - public static final ItemType PUFFERFISH = new ItemType("minecraft:pufferfish"); - public static final ItemType PUFFERFISH_BUCKET = new ItemType("minecraft:pufferfish_bucket"); - public static final ItemType PUFFERFISH_SPAWN_EGG = new ItemType("minecraft:pufferfish_spawn_egg"); - public static final ItemType PUMPKIN = new ItemType("minecraft:pumpkin"); - public static final ItemType PUMPKIN_PIE = new ItemType("minecraft:pumpkin_pie"); - public static final ItemType PUMPKIN_SEEDS = new ItemType("minecraft:pumpkin_seeds"); - public static final ItemType PURPLE_BANNER = new ItemType("minecraft:purple_banner"); - public static final ItemType PURPLE_CARPET = new ItemType("minecraft:purple_carpet"); - public static final ItemType PURPLE_CONCRETE = new ItemType("minecraft:purple_concrete"); - public static final ItemType PURPLE_CONCRETE_POWDER = new ItemType("minecraft:purple_concrete_powder"); - public static final ItemType PURPLE_DYE = new ItemType("minecraft:purple_dye"); - public static final ItemType PURPLE_GLAZED_TERRACOTTA = new ItemType("minecraft:purple_glazed_terracotta"); - public static final ItemType PURPLE_STAINED_GLASS = new ItemType("minecraft:purple_stained_glass"); - public static final ItemType PURPLE_STAINED_GLASS_PANE = new ItemType("minecraft:purple_stained_glass_pane"); - public static final ItemType PURPLE_TERRACOTTA = new ItemType("minecraft:purple_terracotta"); - public static final ItemType PURPLE_WOOL = new ItemType("minecraft:purple_wool"); - public static final ItemType PURPUR_BLOCK = new ItemType("minecraft:purpur_block"); - public static final ItemType PURPUR_PILLAR = new ItemType("minecraft:purpur_pillar"); - public static final ItemType PURPUR_SLAB = new ItemType("minecraft:purpur_slab"); - public static final ItemType PURPUR_STAIRS = new ItemType("minecraft:purpur_stairs"); - public static final ItemType QUARTZ = new ItemType("minecraft:quartz"); - public static final ItemType QUARTZ_BLOCK = new ItemType("minecraft:quartz_block"); - public static final ItemType QUARTZ_PILLAR = new ItemType("minecraft:quartz_pillar"); - public static final ItemType QUARTZ_SLAB = new ItemType("minecraft:quartz_slab"); - public static final ItemType QUARTZ_STAIRS = new ItemType("minecraft:quartz_stairs"); - public static final ItemType RABBIT = new ItemType("minecraft:rabbit"); - public static final ItemType RABBIT_FOOT = new ItemType("minecraft:rabbit_foot"); - public static final ItemType RABBIT_HIDE = new ItemType("minecraft:rabbit_hide"); - public static final ItemType RABBIT_SPAWN_EGG = new ItemType("minecraft:rabbit_spawn_egg"); - public static final ItemType RABBIT_STEW = new ItemType("minecraft:rabbit_stew"); - public static final ItemType RAIL = new ItemType("minecraft:rail"); - public static final ItemType RED_BANNER = new ItemType("minecraft:red_banner"); - public static final ItemType RED_CARPET = new ItemType("minecraft:red_carpet"); - public static final ItemType RED_CONCRETE = new ItemType("minecraft:red_concrete"); - public static final ItemType RED_CONCRETE_POWDER = new ItemType("minecraft:red_concrete_powder"); - public static final ItemType RED_GLAZED_TERRACOTTA = new ItemType("minecraft:red_glazed_terracotta"); - public static final ItemType RED_MUSHROOM = new ItemType("minecraft:red_mushroom"); - public static final ItemType RED_MUSHROOM_BLOCK = new ItemType("minecraft:red_mushroom_block"); - public static final ItemType RED_NETHER_BRICKS = new ItemType("minecraft:red_nether_bricks"); - public static final ItemType RED_SAND = new ItemType("minecraft:red_sand"); - public static final ItemType RED_SANDSTONE = new ItemType("minecraft:red_sandstone"); - public static final ItemType RED_SANDSTONE_SLAB = new ItemType("minecraft:red_sandstone_slab"); - public static final ItemType RED_SANDSTONE_STAIRS = new ItemType("minecraft:red_sandstone_stairs"); - public static final ItemType RED_STAINED_GLASS = new ItemType("minecraft:red_stained_glass"); - public static final ItemType RED_STAINED_GLASS_PANE = new ItemType("minecraft:red_stained_glass_pane"); - public static final ItemType RED_TERRACOTTA = new ItemType("minecraft:red_terracotta"); - public static final ItemType RED_TULIP = new ItemType("minecraft:red_tulip"); - public static final ItemType RED_WOOL = new ItemType("minecraft:red_wool"); - public static final ItemType REDSTONE = new ItemType("minecraft:redstone"); - public static final ItemType REDSTONE_BLOCK = new ItemType("minecraft:redstone_block"); - public static final ItemType REDSTONE_LAMP = new ItemType("minecraft:redstone_lamp"); - public static final ItemType REDSTONE_ORE = new ItemType("minecraft:redstone_ore"); - public static final ItemType REPEATER = new ItemType("minecraft:repeater"); - public static final ItemType ROSE_RED = new ItemType("minecraft:rose_red"); - public static final ItemType ROTTEN_FLESH = new ItemType("minecraft:rotten_flesh"); - public static final ItemType SADDLE = new ItemType("minecraft:saddle"); - public static final ItemType SALMON = new ItemType("minecraft:salmon"); - public static final ItemType SALMON_BUCKET = new ItemType("minecraft:salmon_bucket"); - public static final ItemType SALMON_SPAWN_EGG = new ItemType("minecraft:salmon_spawn_egg"); - public static final ItemType SAND = new ItemType("minecraft:sand"); - public static final ItemType SANDSTONE = new ItemType("minecraft:sandstone"); - public static final ItemType SANDSTONE_SLAB = new ItemType("minecraft:sandstone_slab"); - public static final ItemType SANDSTONE_STAIRS = new ItemType("minecraft:sandstone_stairs"); - public static final ItemType SCUTE = new ItemType("minecraft:scute"); - public static final ItemType SEA_LANTERN = new ItemType("minecraft:sea_lantern"); - public static final ItemType SEA_PICKLE = new ItemType("minecraft:sea_pickle"); - public static final ItemType SEAGRASS = new ItemType("minecraft:seagrass"); - public static final ItemType SHEARS = new ItemType("minecraft:shears"); - public static final ItemType SHEEP_SPAWN_EGG = new ItemType("minecraft:sheep_spawn_egg"); - public static final ItemType SHIELD = new ItemType("minecraft:shield"); - public static final ItemType SHULKER_SHELL = new ItemType("minecraft:shulker_shell"); - public static final ItemType SHULKER_SPAWN_EGG = new ItemType("minecraft:shulker_spawn_egg"); - public static final ItemType SIGN = new ItemType("minecraft:sign"); - public static final ItemType SILVERFISH_SPAWN_EGG = new ItemType("minecraft:silverfish_spawn_egg"); - public static final ItemType SKELETON_HORSE_SPAWN_EGG = new ItemType("minecraft:skeleton_horse_spawn_egg"); - public static final ItemType SKELETON_SPAWN_EGG = new ItemType("minecraft:skeleton_spawn_egg"); - public static final ItemType SLIME_BALL = new ItemType("minecraft:slime_ball"); - public static final ItemType SLIME_BLOCK = new ItemType("minecraft:slime_block"); - public static final ItemType SLIME_SPAWN_EGG = new ItemType("minecraft:slime_spawn_egg"); - public static final ItemType SMOOTH_QUARTZ = new ItemType("minecraft:smooth_quartz"); - public static final ItemType SMOOTH_RED_SANDSTONE = new ItemType("minecraft:smooth_red_sandstone"); - public static final ItemType SMOOTH_SANDSTONE = new ItemType("minecraft:smooth_sandstone"); - public static final ItemType SMOOTH_STONE = new ItemType("minecraft:smooth_stone"); - public static final ItemType SNOW = new ItemType("minecraft:snow"); - public static final ItemType SNOW_BLOCK = new ItemType("minecraft:snow_block"); - public static final ItemType SNOWBALL = new ItemType("minecraft:snowball"); - public static final ItemType SOUL_SAND = new ItemType("minecraft:soul_sand"); - public static final ItemType SPECTRAL_ARROW = new ItemType("minecraft:spectral_arrow"); - public static final ItemType SPIDER_EYE = new ItemType("minecraft:spider_eye"); - public static final ItemType SPIDER_SPAWN_EGG = new ItemType("minecraft:spider_spawn_egg"); - public static final ItemType SPLASH_POTION = new ItemType("minecraft:splash_potion"); - public static final ItemType SPONGE = new ItemType("minecraft:sponge"); - public static final ItemType SPRUCE_BARK = new ItemType("minecraft:spruce_bark"); - public static final ItemType SPRUCE_BOAT = new ItemType("minecraft:spruce_boat"); - public static final ItemType SPRUCE_BUTTON = new ItemType("minecraft:spruce_button"); - public static final ItemType SPRUCE_FENCE = new ItemType("minecraft:spruce_fence"); - public static final ItemType SPRUCE_FENCE_GATE = new ItemType("minecraft:spruce_fence_gate"); - public static final ItemType SPRUCE_LEAVES = new ItemType("minecraft:spruce_leaves"); - public static final ItemType SPRUCE_LOG = new ItemType("minecraft:spruce_log"); - public static final ItemType SPRUCE_PLANKS = new ItemType("minecraft:spruce_planks"); - public static final ItemType SPRUCE_PRESSURE_PLATE = new ItemType("minecraft:spruce_pressure_plate"); - public static final ItemType SPRUCE_SAPLING = new ItemType("minecraft:spruce_sapling"); - public static final ItemType SPRUCE_SLAB = new ItemType("minecraft:spruce_slab"); - public static final ItemType SPRUCE_STAIRS = new ItemType("minecraft:spruce_stairs"); - public static final ItemType SPRUCE_TRAPDOOR = new ItemType("minecraft:spruce_trapdoor"); - public static final ItemType SQUID_SPAWN_EGG = new ItemType("minecraft:squid_spawn_egg"); - public static final ItemType STICK = new ItemType("minecraft:stick"); - public static final ItemType STICKY_PISTON = new ItemType("minecraft:sticky_piston"); - public static final ItemType STONE = new ItemType("minecraft:stone"); - public static final ItemType STONE_AXE = new ItemType("minecraft:stone_axe"); - public static final ItemType STONE_BRICK_SLAB = new ItemType("minecraft:stone_brick_slab"); - public static final ItemType STONE_BRICK_STAIRS = new ItemType("minecraft:stone_brick_stairs"); - public static final ItemType STONE_BRICKS = new ItemType("minecraft:stone_bricks"); - public static final ItemType STONE_BUTTON = new ItemType("minecraft:stone_button"); - public static final ItemType STONE_HOE = new ItemType("minecraft:stone_hoe"); - public static final ItemType STONE_PICKAXE = new ItemType("minecraft:stone_pickaxe"); - public static final ItemType STONE_PRESSURE_PLATE = new ItemType("minecraft:stone_pressure_plate"); - public static final ItemType STONE_SHOVEL = new ItemType("minecraft:stone_shovel"); - public static final ItemType STONE_SLAB = new ItemType("minecraft:stone_slab"); - public static final ItemType STONE_SWORD = new ItemType("minecraft:stone_sword"); - public static final ItemType STRAY_SPAWN_EGG = new ItemType("minecraft:stray_spawn_egg"); - public static final ItemType STRING = new ItemType("minecraft:string"); - public static final ItemType STRIPPED_ACACIA_LOG = new ItemType("minecraft:stripped_acacia_log"); - public static final ItemType STRIPPED_BIRCH_LOG = new ItemType("minecraft:stripped_birch_log"); - public static final ItemType STRIPPED_DARK_OAK_LOG = new ItemType("minecraft:stripped_dark_oak_log"); - public static final ItemType STRIPPED_JUNGLE_LOG = new ItemType("minecraft:stripped_jungle_log"); - public static final ItemType STRIPPED_OAK_LOG = new ItemType("minecraft:stripped_oak_log"); - public static final ItemType STRIPPED_SPRUCE_LOG = new ItemType("minecraft:stripped_spruce_log"); - public static final ItemType STRUCTURE_VOID = new ItemType("minecraft:structure_void"); - public static final ItemType SUGAR = new ItemType("minecraft:sugar"); - public static final ItemType SUGAR_CANE = new ItemType("minecraft:sugar_cane"); - public static final ItemType TERRACOTTA = new ItemType("minecraft:terracotta"); - public static final ItemType TIPPED_ARROW = new ItemType("minecraft:tipped_arrow"); - public static final ItemType TNT = new ItemType("minecraft:tnt"); - public static final ItemType TNT_MINECART = new ItemType("minecraft:tnt_minecart"); - public static final ItemType TOTEM_OF_UNDYING = new ItemType("minecraft:totem_of_undying"); - public static final ItemType TRAPPED_CHEST = new ItemType("minecraft:trapped_chest"); - public static final ItemType TRIDENT = new ItemType("minecraft:trident"); - public static final ItemType TRIPWIRE_HOOK = new ItemType("minecraft:tripwire_hook"); - public static final ItemType TROPICAL_FISH_SPAWN_EGG = new ItemType("minecraft:tropical_fish_spawn_egg"); - public static final ItemType TUBE_CORAL = new ItemType("minecraft:tube_coral"); - public static final ItemType TUBE_CORAL_BLOCK = new ItemType("minecraft:tube_coral_block"); - public static final ItemType TUBE_CORAL_FAN = new ItemType("minecraft:tube_coral_fan"); - public static final ItemType TURTLE_EGG = new ItemType("minecraft:turtle_egg"); - public static final ItemType TURTLE_HELMET = new ItemType("minecraft:turtle_helmet"); - public static final ItemType TURTLE_SPAWN_EGG = new ItemType("minecraft:turtle_spawn_egg"); - public static final ItemType VEX_SPAWN_EGG = new ItemType("minecraft:vex_spawn_egg"); - public static final ItemType VILLAGER_SPAWN_EGG = new ItemType("minecraft:villager_spawn_egg"); - public static final ItemType VINDICATION_ILLAGER_SPAWN_EGG = new ItemType("minecraft:vindication_illager_spawn_egg"); - public static final ItemType VINE = new ItemType("minecraft:vine"); - public static final ItemType WATER_BUCKET = new ItemType("minecraft:water_bucket"); - public static final ItemType WET_SPONGE = new ItemType("minecraft:wet_sponge"); - public static final ItemType WHEAT = new ItemType("minecraft:wheat"); - public static final ItemType WHEAT_SEEDS = new ItemType("minecraft:wheat_seeds"); - public static final ItemType WHITE_BANNER = new ItemType("minecraft:white_banner"); - public static final ItemType WHITE_CARPET = new ItemType("minecraft:white_carpet"); - public static final ItemType WHITE_CONCRETE = new ItemType("minecraft:white_concrete"); - public static final ItemType WHITE_CONCRETE_POWDER = new ItemType("minecraft:white_concrete_powder"); - public static final ItemType WHITE_GLAZED_TERRACOTTA = new ItemType("minecraft:white_glazed_terracotta"); - public static final ItemType WHITE_STAINED_GLASS = new ItemType("minecraft:white_stained_glass"); - public static final ItemType WHITE_STAINED_GLASS_PANE = new ItemType("minecraft:white_stained_glass_pane"); - public static final ItemType WHITE_TERRACOTTA = new ItemType("minecraft:white_terracotta"); - public static final ItemType WHITE_TULIP = new ItemType("minecraft:white_tulip"); - public static final ItemType WHITE_WOOL = new ItemType("minecraft:white_wool"); - public static final ItemType WITCH_SPAWN_EGG = new ItemType("minecraft:witch_spawn_egg"); - public static final ItemType WITHER_SKELETON_SPAWN_EGG = new ItemType("minecraft:wither_skeleton_spawn_egg"); - public static final ItemType WOLF_SPAWN_EGG = new ItemType("minecraft:wolf_spawn_egg"); - public static final ItemType WOODEN_AXE = new ItemType("minecraft:wooden_axe"); - public static final ItemType WOODEN_HOE = new ItemType("minecraft:wooden_hoe"); - public static final ItemType WOODEN_PICKAXE = new ItemType("minecraft:wooden_pickaxe"); - public static final ItemType WOODEN_SHOVEL = new ItemType("minecraft:wooden_shovel"); - public static final ItemType WOODEN_SWORD = new ItemType("minecraft:wooden_sword"); - public static final ItemType WRITABLE_BOOK = new ItemType("minecraft:writable_book"); - public static final ItemType WRITTEN_BOOK = new ItemType("minecraft:written_book"); - public static final ItemType YELLOW_BANNER = new ItemType("minecraft:yellow_banner"); - public static final ItemType YELLOW_CARPET = new ItemType("minecraft:yellow_carpet"); - public static final ItemType YELLOW_CONCRETE = new ItemType("minecraft:yellow_concrete"); - public static final ItemType YELLOW_CONCRETE_POWDER = new ItemType("minecraft:yellow_concrete_powder"); - public static final ItemType YELLOW_GLAZED_TERRACOTTA = new ItemType("minecraft:yellow_glazed_terracotta"); - public static final ItemType YELLOW_STAINED_GLASS = new ItemType("minecraft:yellow_stained_glass"); - public static final ItemType YELLOW_STAINED_GLASS_PANE = new ItemType("minecraft:yellow_stained_glass_pane"); - public static final ItemType YELLOW_TERRACOTTA = new ItemType("minecraft:yellow_terracotta"); - public static final ItemType YELLOW_WOOL = new ItemType("minecraft:yellow_wool"); - public static final ItemType ZOMBIE_HORSE_SPAWN_EGG = new ItemType("minecraft:zombie_horse_spawn_egg"); - public static final ItemType ZOMBIE_PIGMAN_SPAWN_EGG = new ItemType("minecraft:zombie_pigman_spawn_egg"); - public static final ItemType ZOMBIE_SPAWN_EGG = new ItemType("minecraft:zombie_spawn_egg"); - public static final ItemType ZOMBIE_VILLAGER_SPAWN_EGG = new ItemType("minecraft:zombie_villager_spawn_egg"); + public static final ItemType ACACIA_BARK = register("minecraft:acacia_bark"); + public static final ItemType ACACIA_BOAT = register("minecraft:acacia_boat"); + public static final ItemType ACACIA_BUTTON = register("minecraft:acacia_button"); + public static final ItemType ACACIA_FENCE = register("minecraft:acacia_fence"); + public static final ItemType ACACIA_FENCE_GATE = register("minecraft:acacia_fence_gate"); + public static final ItemType ACACIA_LEAVES = register("minecraft:acacia_leaves"); + public static final ItemType ACACIA_LOG = register("minecraft:acacia_log"); + public static final ItemType ACACIA_PLANKS = register("minecraft:acacia_planks"); + public static final ItemType ACACIA_PRESSURE_PLATE = register("minecraft:acacia_pressure_plate"); + public static final ItemType ACACIA_SAPLING = register("minecraft:acacia_sapling"); + public static final ItemType ACACIA_SLAB = register("minecraft:acacia_slab"); + public static final ItemType ACACIA_STAIRS = register("minecraft:acacia_stairs"); + public static final ItemType ACACIA_TRAPDOOR = register("minecraft:acacia_trapdoor"); + public static final ItemType ACTIVATOR_RAIL = register("minecraft:activator_rail"); + public static final ItemType AIR = register("minecraft:air"); + public static final ItemType ALLIUM = register("minecraft:allium"); + public static final ItemType ANDESITE = register("minecraft:andesite"); + public static final ItemType ANVIL = register("minecraft:anvil"); + public static final ItemType APPLE = register("minecraft:apple"); + public static final ItemType ARMOR_STAND = register("minecraft:armor_stand"); + public static final ItemType ARROW = register("minecraft:arrow"); + public static final ItemType AZURE_BLUET = register("minecraft:azure_bluet"); + public static final ItemType BAKED_POTATO = register("minecraft:baked_potato"); + public static final ItemType BARRIER = register("minecraft:barrier"); + public static final ItemType BAT_SPAWN_EGG = register("minecraft:bat_spawn_egg"); + public static final ItemType BEDROCK = register("minecraft:bedrock"); + public static final ItemType BEEF = register("minecraft:beef"); + public static final ItemType BEETROOT = register("minecraft:beetroot"); + public static final ItemType BEETROOT_SEEDS = register("minecraft:beetroot_seeds"); + public static final ItemType BEETROOT_SOUP = register("minecraft:beetroot_soup"); + public static final ItemType BIRCH_BARK = register("minecraft:birch_bark"); + public static final ItemType BIRCH_BOAT = register("minecraft:birch_boat"); + public static final ItemType BIRCH_BUTTON = register("minecraft:birch_button"); + public static final ItemType BIRCH_FENCE = register("minecraft:birch_fence"); + public static final ItemType BIRCH_FENCE_GATE = register("minecraft:birch_fence_gate"); + public static final ItemType BIRCH_LEAVES = register("minecraft:birch_leaves"); + public static final ItemType BIRCH_LOG = register("minecraft:birch_log"); + public static final ItemType BIRCH_PLANKS = register("minecraft:birch_planks"); + public static final ItemType BIRCH_PRESSURE_PLATE = register("minecraft:birch_pressure_plate"); + public static final ItemType BIRCH_SAPLING = register("minecraft:birch_sapling"); + public static final ItemType BIRCH_SLAB = register("minecraft:birch_slab"); + public static final ItemType BIRCH_STAIRS = register("minecraft:birch_stairs"); + public static final ItemType BIRCH_TRAPDOOR = register("minecraft:birch_trapdoor"); + public static final ItemType BLACK_BANNER = register("minecraft:black_banner"); + public static final ItemType BLACK_CARPET = register("minecraft:black_carpet"); + public static final ItemType BLACK_CONCRETE = register("minecraft:black_concrete"); + public static final ItemType BLACK_CONCRETE_POWDER = register("minecraft:black_concrete_powder"); + public static final ItemType BLACK_GLAZED_TERRACOTTA = register("minecraft:black_glazed_terracotta"); + public static final ItemType BLACK_STAINED_GLASS = register("minecraft:black_stained_glass"); + public static final ItemType BLACK_STAINED_GLASS_PANE = register("minecraft:black_stained_glass_pane"); + public static final ItemType BLACK_TERRACOTTA = register("minecraft:black_terracotta"); + public static final ItemType BLACK_WOOL = register("minecraft:black_wool"); + public static final ItemType BLAZE_POWDER = register("minecraft:blaze_powder"); + public static final ItemType BLAZE_ROD = register("minecraft:blaze_rod"); + public static final ItemType BLAZE_SPAWN_EGG = register("minecraft:blaze_spawn_egg"); + public static final ItemType BLUE_BANNER = register("minecraft:blue_banner"); + public static final ItemType BLUE_CARPET = register("minecraft:blue_carpet"); + public static final ItemType BLUE_CONCRETE = register("minecraft:blue_concrete"); + public static final ItemType BLUE_CONCRETE_POWDER = register("minecraft:blue_concrete_powder"); + public static final ItemType BLUE_GLAZED_TERRACOTTA = register("minecraft:blue_glazed_terracotta"); + public static final ItemType BLUE_ICE = register("minecraft:blue_ice"); + public static final ItemType BLUE_ORCHID = register("minecraft:blue_orchid"); + public static final ItemType BLUE_STAINED_GLASS = register("minecraft:blue_stained_glass"); + public static final ItemType BLUE_STAINED_GLASS_PANE = register("minecraft:blue_stained_glass_pane"); + public static final ItemType BLUE_TERRACOTTA = register("minecraft:blue_terracotta"); + public static final ItemType BLUE_WOOL = register("minecraft:blue_wool"); + public static final ItemType BONE = register("minecraft:bone"); + public static final ItemType BONE_BLOCK = register("minecraft:bone_block"); + public static final ItemType BONE_MEAL = register("minecraft:bone_meal"); + public static final ItemType BOOK = register("minecraft:book"); + public static final ItemType BOOKSHELF = register("minecraft:bookshelf"); + public static final ItemType BOW = register("minecraft:bow"); + public static final ItemType BOWL = register("minecraft:bowl"); + public static final ItemType BRAIN_CORAL = register("minecraft:brain_coral"); + public static final ItemType BRAIN_CORAL_BLOCK = register("minecraft:brain_coral_block"); + public static final ItemType BRAIN_CORAL_FAN = register("minecraft:brain_coral_fan"); + public static final ItemType BREAD = register("minecraft:bread"); + public static final ItemType BREWING_STAND = register("minecraft:brewing_stand"); + public static final ItemType BRICK = register("minecraft:brick"); + public static final ItemType BRICK_SLAB = register("minecraft:brick_slab"); + public static final ItemType BRICK_STAIRS = register("minecraft:brick_stairs"); + public static final ItemType BRICKS = register("minecraft:bricks"); + public static final ItemType BROWN_BANNER = register("minecraft:brown_banner"); + public static final ItemType BROWN_CARPET = register("minecraft:brown_carpet"); + public static final ItemType BROWN_CONCRETE = register("minecraft:brown_concrete"); + public static final ItemType BROWN_CONCRETE_POWDER = register("minecraft:brown_concrete_powder"); + public static final ItemType BROWN_GLAZED_TERRACOTTA = register("minecraft:brown_glazed_terracotta"); + public static final ItemType BROWN_MUSHROOM = register("minecraft:brown_mushroom"); + public static final ItemType BROWN_MUSHROOM_BLOCK = register("minecraft:brown_mushroom_block"); + public static final ItemType BROWN_STAINED_GLASS = register("minecraft:brown_stained_glass"); + public static final ItemType BROWN_STAINED_GLASS_PANE = register("minecraft:brown_stained_glass_pane"); + public static final ItemType BROWN_TERRACOTTA = register("minecraft:brown_terracotta"); + public static final ItemType BROWN_WOOL = register("minecraft:brown_wool"); + public static final ItemType BUBBLE_CORAL = register("minecraft:bubble_coral"); + public static final ItemType BUBBLE_CORAL_BLOCK = register("minecraft:bubble_coral_block"); + public static final ItemType BUBBLE_CORAL_FAN = register("minecraft:bubble_coral_fan"); + public static final ItemType BUCKET = register("minecraft:bucket"); + public static final ItemType CACTUS = register("minecraft:cactus"); + public static final ItemType CACTUS_GREEN = register("minecraft:cactus_green"); + public static final ItemType CARROT = register("minecraft:carrot"); + public static final ItemType CARROT_ON_A_STICK = register("minecraft:carrot_on_a_stick"); + public static final ItemType CARVED_PUMPKIN = register("minecraft:carved_pumpkin"); + public static final ItemType CAULDRON = register("minecraft:cauldron"); + public static final ItemType CAVE_SPIDER_SPAWN_EGG = register("minecraft:cave_spider_spawn_egg"); + public static final ItemType CHAINMAIL_BOOTS = register("minecraft:chainmail_boots"); + public static final ItemType CHAINMAIL_CHESTPLATE = register("minecraft:chainmail_chestplate"); + public static final ItemType CHAINMAIL_HELMET = register("minecraft:chainmail_helmet"); + public static final ItemType CHAINMAIL_LEGGINGS = register("minecraft:chainmail_leggings"); + public static final ItemType CHARCOAL = register("minecraft:charcoal"); + public static final ItemType CHEST = register("minecraft:chest"); + public static final ItemType CHEST_MINECART = register("minecraft:chest_minecart"); + public static final ItemType CHICKEN = register("minecraft:chicken"); + public static final ItemType CHICKEN_SPAWN_EGG = register("minecraft:chicken_spawn_egg"); + public static final ItemType CHIPPED_ANVIL = register("minecraft:chipped_anvil"); + public static final ItemType CHISELED_QUARTZ_BLOCK = register("minecraft:chiseled_quartz_block"); + public static final ItemType CHISELED_RED_SANDSTONE = register("minecraft:chiseled_red_sandstone"); + public static final ItemType CHISELED_SANDSTONE = register("minecraft:chiseled_sandstone"); + public static final ItemType CHISELED_STONE_BRICKS = register("minecraft:chiseled_stone_bricks"); + public static final ItemType CHORUS_FLOWER = register("minecraft:chorus_flower"); + public static final ItemType CHORUS_FRUIT = register("minecraft:chorus_fruit"); + public static final ItemType CHORUS_FRUIT_POPPED = register("minecraft:chorus_fruit_popped"); + public static final ItemType CHORUS_PLANT = register("minecraft:chorus_plant"); + public static final ItemType CLAY = register("minecraft:clay"); + public static final ItemType CLAY_BALL = register("minecraft:clay_ball"); + public static final ItemType CLOCK = register("minecraft:clock"); + public static final ItemType CLOWNFISH = register("minecraft:clownfish"); + public static final ItemType CLOWNFISH_BUCKET = register("minecraft:clownfish_bucket"); + public static final ItemType COAL = register("minecraft:coal"); + public static final ItemType COAL_BLOCK = register("minecraft:coal_block"); + public static final ItemType COAL_ORE = register("minecraft:coal_ore"); + public static final ItemType COARSE_DIRT = register("minecraft:coarse_dirt"); + public static final ItemType COBBLESTONE = register("minecraft:cobblestone"); + public static final ItemType COBBLESTONE_SLAB = register("minecraft:cobblestone_slab"); + public static final ItemType COBBLESTONE_STAIRS = register("minecraft:cobblestone_stairs"); + public static final ItemType COBBLESTONE_WALL = register("minecraft:cobblestone_wall"); + public static final ItemType COBWEB = register("minecraft:cobweb"); + public static final ItemType COCOA_BEANS = register("minecraft:cocoa_beans"); + public static final ItemType COD = register("minecraft:cod"); + public static final ItemType COD_BUCKET = register("minecraft:cod_bucket"); + public static final ItemType COD_SPAWN_EGG = register("minecraft:cod_spawn_egg"); + public static final ItemType COMMAND_BLOCK_MINECART = register("minecraft:command_block_minecart"); + public static final ItemType COMPARATOR = register("minecraft:comparator"); + public static final ItemType COMPASS = register("minecraft:compass"); + public static final ItemType COOKED_BEEF = register("minecraft:cooked_beef"); + public static final ItemType COOKED_CHICKEN = register("minecraft:cooked_chicken"); + public static final ItemType COOKED_COD = register("minecraft:cooked_cod"); + public static final ItemType COOKED_MUTTON = register("minecraft:cooked_mutton"); + public static final ItemType COOKED_PORKCHOP = register("minecraft:cooked_porkchop"); + public static final ItemType COOKED_RABBIT = register("minecraft:cooked_rabbit"); + public static final ItemType COOKED_SALMON = register("minecraft:cooked_salmon"); + public static final ItemType COOKIE = register("minecraft:cookie"); + public static final ItemType COW_SPAWN_EGG = register("minecraft:cow_spawn_egg"); + public static final ItemType CRACKED_STONE_BRICKS = register("minecraft:cracked_stone_bricks"); + public static final ItemType CRAFTING_TABLE = register("minecraft:crafting_table"); + public static final ItemType CREEPER_SPAWN_EGG = register("minecraft:creeper_spawn_egg"); + public static final ItemType CUT_RED_SANDSTONE = register("minecraft:cut_red_sandstone"); + public static final ItemType CUT_SANDSTONE = register("minecraft:cut_sandstone"); + public static final ItemType CYAN_BANNER = register("minecraft:cyan_banner"); + public static final ItemType CYAN_CARPET = register("minecraft:cyan_carpet"); + public static final ItemType CYAN_CONCRETE = register("minecraft:cyan_concrete"); + public static final ItemType CYAN_CONCRETE_POWDER = register("minecraft:cyan_concrete_powder"); + public static final ItemType CYAN_DYE = register("minecraft:cyan_dye"); + public static final ItemType CYAN_GLAZED_TERRACOTTA = register("minecraft:cyan_glazed_terracotta"); + public static final ItemType CYAN_STAINED_GLASS = register("minecraft:cyan_stained_glass"); + public static final ItemType CYAN_STAINED_GLASS_PANE = register("minecraft:cyan_stained_glass_pane"); + public static final ItemType CYAN_TERRACOTTA = register("minecraft:cyan_terracotta"); + public static final ItemType CYAN_WOOL = register("minecraft:cyan_wool"); + public static final ItemType DAMAGED_ANVIL = register("minecraft:damaged_anvil"); + public static final ItemType DANDELION = register("minecraft:dandelion"); + public static final ItemType DANDELION_YELLOW = register("minecraft:dandelion_yellow"); + public static final ItemType DARK_OAK_BARK = register("minecraft:dark_oak_bark"); + public static final ItemType DARK_OAK_BOAT = register("minecraft:dark_oak_boat"); + public static final ItemType DARK_OAK_BUTTON = register("minecraft:dark_oak_button"); + public static final ItemType DARK_OAK_FENCE = register("minecraft:dark_oak_fence"); + public static final ItemType DARK_OAK_FENCE_GATE = register("minecraft:dark_oak_fence_gate"); + public static final ItemType DARK_OAK_LEAVES = register("minecraft:dark_oak_leaves"); + public static final ItemType DARK_OAK_LOG = register("minecraft:dark_oak_log"); + public static final ItemType DARK_OAK_PLANKS = register("minecraft:dark_oak_planks"); + public static final ItemType DARK_OAK_PRESSURE_PLATE = register("minecraft:dark_oak_pressure_plate"); + public static final ItemType DARK_OAK_SAPLING = register("minecraft:dark_oak_sapling"); + public static final ItemType DARK_OAK_SLAB = register("minecraft:dark_oak_slab"); + public static final ItemType DARK_OAK_STAIRS = register("minecraft:dark_oak_stairs"); + public static final ItemType DARK_OAK_TRAPDOOR = register("minecraft:dark_oak_trapdoor"); + public static final ItemType DARK_PRISMARINE = register("minecraft:dark_prismarine"); + public static final ItemType DARK_PRISMARINE_SLAB = register("minecraft:dark_prismarine_slab"); + public static final ItemType DARK_PRISMARINE_STAIRS = register("minecraft:dark_prismarine_stairs"); + public static final ItemType DAYLIGHT_DETECTOR = register("minecraft:daylight_detector"); + public static final ItemType DEAD_BRAIN_CORAL_BLOCK = register("minecraft:dead_brain_coral_block"); + public static final ItemType DEAD_BUBBLE_CORAL_BLOCK = register("minecraft:dead_bubble_coral_block"); + public static final ItemType DEAD_BUSH = register("minecraft:dead_bush"); + public static final ItemType DEAD_FIRE_CORAL_BLOCK = register("minecraft:dead_fire_coral_block"); + public static final ItemType DEAD_HORN_CORAL_BLOCK = register("minecraft:dead_horn_coral_block"); + public static final ItemType DEAD_TUBE_CORAL_BLOCK = register("minecraft:dead_tube_coral_block"); + public static final ItemType DEBUG_STICK = register("minecraft:debug_stick"); + public static final ItemType DETECTOR_RAIL = register("minecraft:detector_rail"); + public static final ItemType DIAMOND = register("minecraft:diamond"); + public static final ItemType DIAMOND_AXE = register("minecraft:diamond_axe"); + public static final ItemType DIAMOND_BLOCK = register("minecraft:diamond_block"); + public static final ItemType DIAMOND_BOOTS = register("minecraft:diamond_boots"); + public static final ItemType DIAMOND_CHESTPLATE = register("minecraft:diamond_chestplate"); + public static final ItemType DIAMOND_HELMET = register("minecraft:diamond_helmet"); + public static final ItemType DIAMOND_HOE = register("minecraft:diamond_hoe"); + public static final ItemType DIAMOND_HORSE_ARMOR = register("minecraft:diamond_horse_armor"); + public static final ItemType DIAMOND_LEGGINGS = register("minecraft:diamond_leggings"); + public static final ItemType DIAMOND_ORE = register("minecraft:diamond_ore"); + public static final ItemType DIAMOND_PICKAXE = register("minecraft:diamond_pickaxe"); + public static final ItemType DIAMOND_SHOVEL = register("minecraft:diamond_shovel"); + public static final ItemType DIAMOND_SWORD = register("minecraft:diamond_sword"); + public static final ItemType DIORITE = register("minecraft:diorite"); + public static final ItemType DIRT = register("minecraft:dirt"); + public static final ItemType DISPENSER = register("minecraft:dispenser"); + public static final ItemType DOLPHIN_SPAWN_EGG = register("minecraft:dolphin_spawn_egg"); + public static final ItemType DONKEY_SPAWN_EGG = register("minecraft:donkey_spawn_egg"); + public static final ItemType DRAGON_BREATH = register("minecraft:dragon_breath"); + public static final ItemType DRIED_KELP = register("minecraft:dried_kelp"); + public static final ItemType DRIED_KELP_BLOCK = register("minecraft:dried_kelp_block"); + public static final ItemType DROPPER = register("minecraft:dropper"); + public static final ItemType DROWNED_SPAWN_EGG = register("minecraft:drowned_spawn_egg"); + public static final ItemType EGG = register("minecraft:egg"); + public static final ItemType ELDER_GUARDIAN_SPAWN_EGG = register("minecraft:elder_guardian_spawn_egg"); + public static final ItemType ELYTRA = register("minecraft:elytra"); + public static final ItemType EMERALD = register("minecraft:emerald"); + public static final ItemType EMERALD_BLOCK = register("minecraft:emerald_block"); + public static final ItemType EMERALD_ORE = register("minecraft:emerald_ore"); + public static final ItemType ENCHANTED_BOOK = register("minecraft:enchanted_book"); + public static final ItemType ENCHANTED_GOLDEN_APPLE = register("minecraft:enchanted_golden_apple"); + public static final ItemType ENCHANTING_TABLE = register("minecraft:enchanting_table"); + public static final ItemType END_CRYSTAL = register("minecraft:end_crystal"); + public static final ItemType END_PORTAL_FRAME = register("minecraft:end_portal_frame"); + public static final ItemType END_ROD = register("minecraft:end_rod"); + public static final ItemType END_STONE = register("minecraft:end_stone"); + public static final ItemType END_STONE_BRICKS = register("minecraft:end_stone_bricks"); + public static final ItemType ENDER_CHEST = register("minecraft:ender_chest"); + public static final ItemType ENDER_EYE = register("minecraft:ender_eye"); + public static final ItemType ENDER_PEARL = register("minecraft:ender_pearl"); + public static final ItemType ENDERMAN_SPAWN_EGG = register("minecraft:enderman_spawn_egg"); + public static final ItemType ENDERMITE_SPAWN_EGG = register("minecraft:endermite_spawn_egg"); + public static final ItemType EVOCATION_ILLAGER_SPAWN_EGG = register("minecraft:evocation_illager_spawn_egg"); + public static final ItemType EXPERIENCE_BOTTLE = register("minecraft:experience_bottle"); + public static final ItemType FARMLAND = register("minecraft:farmland"); + public static final ItemType FEATHER = register("minecraft:feather"); + public static final ItemType FERMENTED_SPIDER_EYE = register("minecraft:fermented_spider_eye"); + public static final ItemType FERN = register("minecraft:fern"); + public static final ItemType FILLED_MAP = register("minecraft:filled_map"); + public static final ItemType FIRE_CHARGE = register("minecraft:fire_charge"); + public static final ItemType FIRE_CORAL = register("minecraft:fire_coral"); + public static final ItemType FIRE_CORAL_BLOCK = register("minecraft:fire_coral_block"); + public static final ItemType FIRE_CORAL_FAN = register("minecraft:fire_coral_fan"); + public static final ItemType FIREWORK_ROCKET = register("minecraft:firework_rocket"); + public static final ItemType FIREWORK_STAR = register("minecraft:firework_star"); + public static final ItemType FISHING_ROD = register("minecraft:fishing_rod"); + public static final ItemType FLINT = register("minecraft:flint"); + public static final ItemType FLINT_AND_STEEL = register("minecraft:flint_and_steel"); + public static final ItemType FLOWER_POT = register("minecraft:flower_pot"); + public static final ItemType FURNACE = register("minecraft:furnace"); + public static final ItemType FURNACE_MINECART = register("minecraft:furnace_minecart"); + public static final ItemType GHAST_SPAWN_EGG = register("minecraft:ghast_spawn_egg"); + public static final ItemType GHAST_TEAR = register("minecraft:ghast_tear"); + public static final ItemType GLASS = register("minecraft:glass"); + public static final ItemType GLASS_BOTTLE = register("minecraft:glass_bottle"); + public static final ItemType GLASS_PANE = register("minecraft:glass_pane"); + public static final ItemType GLISTERING_MELON_SLICE = register("minecraft:glistering_melon_slice"); + public static final ItemType GLOWSTONE = register("minecraft:glowstone"); + public static final ItemType GLOWSTONE_DUST = register("minecraft:glowstone_dust"); + public static final ItemType GOLD_BLOCK = register("minecraft:gold_block"); + public static final ItemType GOLD_INGOT = register("minecraft:gold_ingot"); + public static final ItemType GOLD_NUGGET = register("minecraft:gold_nugget"); + public static final ItemType GOLD_ORE = register("minecraft:gold_ore"); + public static final ItemType GOLDEN_APPLE = register("minecraft:golden_apple"); + public static final ItemType GOLDEN_AXE = register("minecraft:golden_axe"); + public static final ItemType GOLDEN_BOOTS = register("minecraft:golden_boots"); + public static final ItemType GOLDEN_CARROT = register("minecraft:golden_carrot"); + public static final ItemType GOLDEN_CHESTPLATE = register("minecraft:golden_chestplate"); + public static final ItemType GOLDEN_HELMET = register("minecraft:golden_helmet"); + public static final ItemType GOLDEN_HOE = register("minecraft:golden_hoe"); + public static final ItemType GOLDEN_HORSE_ARMOR = register("minecraft:golden_horse_armor"); + public static final ItemType GOLDEN_LEGGINGS = register("minecraft:golden_leggings"); + public static final ItemType GOLDEN_PICKAXE = register("minecraft:golden_pickaxe"); + public static final ItemType GOLDEN_SHOVEL = register("minecraft:golden_shovel"); + public static final ItemType GOLDEN_SWORD = register("minecraft:golden_sword"); + public static final ItemType GRANITE = register("minecraft:granite"); + public static final ItemType GRASS = register("minecraft:grass"); + public static final ItemType GRASS_BLOCK = register("minecraft:grass_block"); + public static final ItemType GRASS_PATH = register("minecraft:grass_path"); + public static final ItemType GRAVEL = register("minecraft:gravel"); + public static final ItemType GRAY_BANNER = register("minecraft:gray_banner"); + public static final ItemType GRAY_CARPET = register("minecraft:gray_carpet"); + public static final ItemType GRAY_CONCRETE = register("minecraft:gray_concrete"); + public static final ItemType GRAY_CONCRETE_POWDER = register("minecraft:gray_concrete_powder"); + public static final ItemType GRAY_DYE = register("minecraft:gray_dye"); + public static final ItemType GRAY_GLAZED_TERRACOTTA = register("minecraft:gray_glazed_terracotta"); + public static final ItemType GRAY_STAINED_GLASS = register("minecraft:gray_stained_glass"); + public static final ItemType GRAY_STAINED_GLASS_PANE = register("minecraft:gray_stained_glass_pane"); + public static final ItemType GRAY_TERRACOTTA = register("minecraft:gray_terracotta"); + public static final ItemType GRAY_WOOL = register("minecraft:gray_wool"); + public static final ItemType GREEN_BANNER = register("minecraft:green_banner"); + public static final ItemType GREEN_CARPET = register("minecraft:green_carpet"); + public static final ItemType GREEN_CONCRETE = register("minecraft:green_concrete"); + public static final ItemType GREEN_CONCRETE_POWDER = register("minecraft:green_concrete_powder"); + public static final ItemType GREEN_GLAZED_TERRACOTTA = register("minecraft:green_glazed_terracotta"); + public static final ItemType GREEN_STAINED_GLASS = register("minecraft:green_stained_glass"); + public static final ItemType GREEN_STAINED_GLASS_PANE = register("minecraft:green_stained_glass_pane"); + public static final ItemType GREEN_TERRACOTTA = register("minecraft:green_terracotta"); + public static final ItemType GREEN_WOOL = register("minecraft:green_wool"); + public static final ItemType GUARDIAN_SPAWN_EGG = register("minecraft:guardian_spawn_egg"); + public static final ItemType GUNPOWDER = register("minecraft:gunpowder"); + public static final ItemType HAY_BLOCK = register("minecraft:hay_block"); + public static final ItemType HEART_OF_THE_SEA = register("minecraft:heart_of_the_sea"); + public static final ItemType HEAVY_WEIGHTED_PRESSURE_PLATE = register("minecraft:heavy_weighted_pressure_plate"); + public static final ItemType HOPPER = register("minecraft:hopper"); + public static final ItemType HOPPER_MINECART = register("minecraft:hopper_minecart"); + public static final ItemType HORN_CORAL = register("minecraft:horn_coral"); + public static final ItemType HORN_CORAL_BLOCK = register("minecraft:horn_coral_block"); + public static final ItemType HORN_CORAL_FAN = register("minecraft:horn_coral_fan"); + public static final ItemType HORSE_SPAWN_EGG = register("minecraft:horse_spawn_egg"); + public static final ItemType HUSK_SPAWN_EGG = register("minecraft:husk_spawn_egg"); + public static final ItemType ICE = register("minecraft:ice"); + public static final ItemType INFESTED_CHISELED_STONE_BRICKS = register("minecraft:infested_chiseled_stone_bricks"); + public static final ItemType INFESTED_COBBLESTONE = register("minecraft:infested_cobblestone"); + public static final ItemType INFESTED_CRACKED_STONE_BRICKS = register("minecraft:infested_cracked_stone_bricks"); + public static final ItemType INFESTED_MOSSY_STONE_BRICKS = register("minecraft:infested_mossy_stone_bricks"); + public static final ItemType INFESTED_STONE = register("minecraft:infested_stone"); + public static final ItemType INFESTED_STONE_BRICKS = register("minecraft:infested_stone_bricks"); + public static final ItemType INK_SAC = register("minecraft:ink_sac"); + public static final ItemType IRON_AXE = register("minecraft:iron_axe"); + public static final ItemType IRON_BARS = register("minecraft:iron_bars"); + public static final ItemType IRON_BLOCK = register("minecraft:iron_block"); + public static final ItemType IRON_BOOTS = register("minecraft:iron_boots"); + public static final ItemType IRON_CHESTPLATE = register("minecraft:iron_chestplate"); + public static final ItemType IRON_HELMET = register("minecraft:iron_helmet"); + public static final ItemType IRON_HOE = register("minecraft:iron_hoe"); + public static final ItemType IRON_HORSE_ARMOR = register("minecraft:iron_horse_armor"); + public static final ItemType IRON_INGOT = register("minecraft:iron_ingot"); + public static final ItemType IRON_LEGGINGS = register("minecraft:iron_leggings"); + public static final ItemType IRON_NUGGET = register("minecraft:iron_nugget"); + public static final ItemType IRON_ORE = register("minecraft:iron_ore"); + public static final ItemType IRON_PICKAXE = register("minecraft:iron_pickaxe"); + public static final ItemType IRON_SHOVEL = register("minecraft:iron_shovel"); + public static final ItemType IRON_SWORD = register("minecraft:iron_sword"); + public static final ItemType IRON_TRAPDOOR = register("minecraft:iron_trapdoor"); + public static final ItemType ITEM_FRAME = register("minecraft:item_frame"); + public static final ItemType JACK_O_LANTERN = register("minecraft:jack_o_lantern"); + public static final ItemType JUKEBOX = register("minecraft:jukebox"); + public static final ItemType JUNGLE_BARK = register("minecraft:jungle_bark"); + public static final ItemType JUNGLE_BOAT = register("minecraft:jungle_boat"); + public static final ItemType JUNGLE_BUTTON = register("minecraft:jungle_button"); + public static final ItemType JUNGLE_FENCE = register("minecraft:jungle_fence"); + public static final ItemType JUNGLE_FENCE_GATE = register("minecraft:jungle_fence_gate"); + public static final ItemType JUNGLE_LEAVES = register("minecraft:jungle_leaves"); + public static final ItemType JUNGLE_LOG = register("minecraft:jungle_log"); + public static final ItemType JUNGLE_PLANKS = register("minecraft:jungle_planks"); + public static final ItemType JUNGLE_PRESSURE_PLATE = register("minecraft:jungle_pressure_plate"); + public static final ItemType JUNGLE_SAPLING = register("minecraft:jungle_sapling"); + public static final ItemType JUNGLE_SLAB = register("minecraft:jungle_slab"); + public static final ItemType JUNGLE_STAIRS = register("minecraft:jungle_stairs"); + public static final ItemType JUNGLE_TRAPDOOR = register("minecraft:jungle_trapdoor"); + public static final ItemType KELP = register("minecraft:kelp"); + public static final ItemType KNOWLEDGE_BOOK = register("minecraft:knowledge_book"); + public static final ItemType LADDER = register("minecraft:ladder"); + public static final ItemType LAPIS_BLOCK = register("minecraft:lapis_block"); + public static final ItemType LAPIS_LAZULI = register("minecraft:lapis_lazuli"); + public static final ItemType LAPIS_ORE = register("minecraft:lapis_ore"); + public static final ItemType LAVA_BUCKET = register("minecraft:lava_bucket"); + public static final ItemType LEAD = register("minecraft:lead"); + public static final ItemType LEATHER = register("minecraft:leather"); + public static final ItemType LEATHER_BOOTS = register("minecraft:leather_boots"); + public static final ItemType LEATHER_CHESTPLATE = register("minecraft:leather_chestplate"); + public static final ItemType LEATHER_HELMET = register("minecraft:leather_helmet"); + public static final ItemType LEATHER_LEGGINGS = register("minecraft:leather_leggings"); + public static final ItemType LEVER = register("minecraft:lever"); + public static final ItemType LIGHT_BLUE_BANNER = register("minecraft:light_blue_banner"); + public static final ItemType LIGHT_BLUE_CARPET = register("minecraft:light_blue_carpet"); + public static final ItemType LIGHT_BLUE_CONCRETE = register("minecraft:light_blue_concrete"); + public static final ItemType LIGHT_BLUE_CONCRETE_POWDER = register("minecraft:light_blue_concrete_powder"); + public static final ItemType LIGHT_BLUE_DYE = register("minecraft:light_blue_dye"); + public static final ItemType LIGHT_BLUE_GLAZED_TERRACOTTA = register("minecraft:light_blue_glazed_terracotta"); + public static final ItemType LIGHT_BLUE_STAINED_GLASS = register("minecraft:light_blue_stained_glass"); + public static final ItemType LIGHT_BLUE_STAINED_GLASS_PANE = register("minecraft:light_blue_stained_glass_pane"); + public static final ItemType LIGHT_BLUE_TERRACOTTA = register("minecraft:light_blue_terracotta"); + public static final ItemType LIGHT_BLUE_WOOL = register("minecraft:light_blue_wool"); + public static final ItemType LIGHT_GRAY_BANNER = register("minecraft:light_gray_banner"); + public static final ItemType LIGHT_GRAY_CARPET = register("minecraft:light_gray_carpet"); + public static final ItemType LIGHT_GRAY_CONCRETE = register("minecraft:light_gray_concrete"); + public static final ItemType LIGHT_GRAY_CONCRETE_POWDER = register("minecraft:light_gray_concrete_powder"); + public static final ItemType LIGHT_GRAY_DYE = register("minecraft:light_gray_dye"); + public static final ItemType LIGHT_GRAY_GLAZED_TERRACOTTA = register("minecraft:light_gray_glazed_terracotta"); + public static final ItemType LIGHT_GRAY_STAINED_GLASS = register("minecraft:light_gray_stained_glass"); + public static final ItemType LIGHT_GRAY_STAINED_GLASS_PANE = register("minecraft:light_gray_stained_glass_pane"); + public static final ItemType LIGHT_GRAY_TERRACOTTA = register("minecraft:light_gray_terracotta"); + public static final ItemType LIGHT_GRAY_WOOL = register("minecraft:light_gray_wool"); + public static final ItemType LIGHT_WEIGHTED_PRESSURE_PLATE = register("minecraft:light_weighted_pressure_plate"); + public static final ItemType LIME_BANNER = register("minecraft:lime_banner"); + public static final ItemType LIME_CARPET = register("minecraft:lime_carpet"); + public static final ItemType LIME_CONCRETE = register("minecraft:lime_concrete"); + public static final ItemType LIME_CONCRETE_POWDER = register("minecraft:lime_concrete_powder"); + public static final ItemType LIME_DYE = register("minecraft:lime_dye"); + public static final ItemType LIME_GLAZED_TERRACOTTA = register("minecraft:lime_glazed_terracotta"); + public static final ItemType LIME_STAINED_GLASS = register("minecraft:lime_stained_glass"); + public static final ItemType LIME_STAINED_GLASS_PANE = register("minecraft:lime_stained_glass_pane"); + public static final ItemType LIME_TERRACOTTA = register("minecraft:lime_terracotta"); + public static final ItemType LIME_WOOL = register("minecraft:lime_wool"); + public static final ItemType LINGERING_POTION = register("minecraft:lingering_potion"); + public static final ItemType LLAMA_SPAWN_EGG = register("minecraft:llama_spawn_egg"); + public static final ItemType MAGENTA_BANNER = register("minecraft:magenta_banner"); + public static final ItemType MAGENTA_CARPET = register("minecraft:magenta_carpet"); + public static final ItemType MAGENTA_CONCRETE = register("minecraft:magenta_concrete"); + public static final ItemType MAGENTA_CONCRETE_POWDER = register("minecraft:magenta_concrete_powder"); + public static final ItemType MAGENTA_DYE = register("minecraft:magenta_dye"); + public static final ItemType MAGENTA_GLAZED_TERRACOTTA = register("minecraft:magenta_glazed_terracotta"); + public static final ItemType MAGENTA_STAINED_GLASS = register("minecraft:magenta_stained_glass"); + public static final ItemType MAGENTA_STAINED_GLASS_PANE = register("minecraft:magenta_stained_glass_pane"); + public static final ItemType MAGENTA_TERRACOTTA = register("minecraft:magenta_terracotta"); + public static final ItemType MAGENTA_WOOL = register("minecraft:magenta_wool"); + public static final ItemType MAGMA_BLOCK = register("minecraft:magma_block"); + public static final ItemType MAGMA_CREAM = register("minecraft:magma_cream"); + public static final ItemType MAGMA_CUBE_SPAWN_EGG = register("minecraft:magma_cube_spawn_egg"); + public static final ItemType MAP = register("minecraft:map"); + public static final ItemType MELON = register("minecraft:melon"); + public static final ItemType MELON_SEEDS = register("minecraft:melon_seeds"); + public static final ItemType MELON_SLICE = register("minecraft:melon_slice"); + public static final ItemType MILK_BUCKET = register("minecraft:milk_bucket"); + public static final ItemType MINECART = register("minecraft:minecart"); + public static final ItemType MOB_SPAWNER = register("minecraft:mob_spawner"); + public static final ItemType MOOSHROOM_SPAWN_EGG = register("minecraft:mooshroom_spawn_egg"); + public static final ItemType MOSSY_COBBLESTONE = register("minecraft:mossy_cobblestone"); + public static final ItemType MOSSY_COBBLESTONE_WALL = register("minecraft:mossy_cobblestone_wall"); + public static final ItemType MOSSY_STONE_BRICKS = register("minecraft:mossy_stone_bricks"); + public static final ItemType MULE_SPAWN_EGG = register("minecraft:mule_spawn_egg"); + public static final ItemType MUSHROOM_STEM = register("minecraft:mushroom_stem"); + public static final ItemType MUSHROOM_STEW = register("minecraft:mushroom_stew"); + public static final ItemType MUSIC_DISC_11 = register("minecraft:music_disc_11"); + public static final ItemType MUSIC_DISC_13 = register("minecraft:music_disc_13"); + public static final ItemType MUSIC_DISC_BLOCKS = register("minecraft:music_disc_blocks"); + public static final ItemType MUSIC_DISC_CAT = register("minecraft:music_disc_cat"); + public static final ItemType MUSIC_DISC_CHIRP = register("minecraft:music_disc_chirp"); + public static final ItemType MUSIC_DISC_FAR = register("minecraft:music_disc_far"); + public static final ItemType MUSIC_DISC_MALL = register("minecraft:music_disc_mall"); + public static final ItemType MUSIC_DISC_MELLOHI = register("minecraft:music_disc_mellohi"); + public static final ItemType MUSIC_DISC_STAL = register("minecraft:music_disc_stal"); + public static final ItemType MUSIC_DISC_STRAD = register("minecraft:music_disc_strad"); + public static final ItemType MUSIC_DISC_WAIT = register("minecraft:music_disc_wait"); + public static final ItemType MUSIC_DISC_WARD = register("minecraft:music_disc_ward"); + public static final ItemType MUTTON = register("minecraft:mutton"); + public static final ItemType MYCELIUM = register("minecraft:mycelium"); + public static final ItemType NAME_TAG = register("minecraft:name_tag"); + public static final ItemType NAUTILUS_SHELL = register("minecraft:nautilus_shell"); + public static final ItemType NETHER_BRICK = register("minecraft:nether_brick"); + public static final ItemType NETHER_BRICK_FENCE = register("minecraft:nether_brick_fence"); + public static final ItemType NETHER_BRICK_SLAB = register("minecraft:nether_brick_slab"); + public static final ItemType NETHER_BRICK_STAIRS = register("minecraft:nether_brick_stairs"); + public static final ItemType NETHER_BRICKS = register("minecraft:nether_bricks"); + public static final ItemType NETHER_QUARTZ_ORE = register("minecraft:nether_quartz_ore"); + public static final ItemType NETHER_STAR = register("minecraft:nether_star"); + public static final ItemType NETHER_WART = register("minecraft:nether_wart"); + public static final ItemType NETHER_WART_BLOCK = register("minecraft:nether_wart_block"); + public static final ItemType NETHERRACK = register("minecraft:netherrack"); + public static final ItemType NOTE_BLOCK = register("minecraft:note_block"); + public static final ItemType OAK_BARK = register("minecraft:oak_bark"); + public static final ItemType OAK_BOAT = register("minecraft:oak_boat"); + public static final ItemType OAK_BUTTON = register("minecraft:oak_button"); + public static final ItemType OAK_FENCE = register("minecraft:oak_fence"); + public static final ItemType OAK_FENCE_GATE = register("minecraft:oak_fence_gate"); + public static final ItemType OAK_LEAVES = register("minecraft:oak_leaves"); + public static final ItemType OAK_LOG = register("minecraft:oak_log"); + public static final ItemType OAK_PLANKS = register("minecraft:oak_planks"); + public static final ItemType OAK_PRESSURE_PLATE = register("minecraft:oak_pressure_plate"); + public static final ItemType OAK_SAPLING = register("minecraft:oak_sapling"); + public static final ItemType OAK_SLAB = register("minecraft:oak_slab"); + public static final ItemType OAK_STAIRS = register("minecraft:oak_stairs"); + public static final ItemType OAK_TRAPDOOR = register("minecraft:oak_trapdoor"); + public static final ItemType OBSERVER = register("minecraft:observer"); + public static final ItemType OBSIDIAN = register("minecraft:obsidian"); + public static final ItemType OCELOT_SPAWN_EGG = register("minecraft:ocelot_spawn_egg"); + public static final ItemType ORANGE_BANNER = register("minecraft:orange_banner"); + public static final ItemType ORANGE_CARPET = register("minecraft:orange_carpet"); + public static final ItemType ORANGE_CONCRETE = register("minecraft:orange_concrete"); + public static final ItemType ORANGE_CONCRETE_POWDER = register("minecraft:orange_concrete_powder"); + public static final ItemType ORANGE_DYE = register("minecraft:orange_dye"); + public static final ItemType ORANGE_GLAZED_TERRACOTTA = register("minecraft:orange_glazed_terracotta"); + public static final ItemType ORANGE_STAINED_GLASS = register("minecraft:orange_stained_glass"); + public static final ItemType ORANGE_STAINED_GLASS_PANE = register("minecraft:orange_stained_glass_pane"); + public static final ItemType ORANGE_TERRACOTTA = register("minecraft:orange_terracotta"); + public static final ItemType ORANGE_TULIP = register("minecraft:orange_tulip"); + public static final ItemType ORANGE_WOOL = register("minecraft:orange_wool"); + public static final ItemType OXEYE_DAISY = register("minecraft:oxeye_daisy"); + public static final ItemType PACKED_ICE = register("minecraft:packed_ice"); + public static final ItemType PAINTING = register("minecraft:painting"); + public static final ItemType PAPER = register("minecraft:paper"); + public static final ItemType PARROT_SPAWN_EGG = register("minecraft:parrot_spawn_egg"); + public static final ItemType PETRIFIED_OAK_SLAB = register("minecraft:petrified_oak_slab"); + public static final ItemType PHANTOM_MEMBRANE = register("minecraft:phantom_membrane"); + public static final ItemType PHANTOM_SPAWN_EGG = register("minecraft:phantom_spawn_egg"); + public static final ItemType PIG_SPAWN_EGG = register("minecraft:pig_spawn_egg"); + public static final ItemType PINK_BANNER = register("minecraft:pink_banner"); + public static final ItemType PINK_CARPET = register("minecraft:pink_carpet"); + public static final ItemType PINK_CONCRETE = register("minecraft:pink_concrete"); + public static final ItemType PINK_CONCRETE_POWDER = register("minecraft:pink_concrete_powder"); + public static final ItemType PINK_DYE = register("minecraft:pink_dye"); + public static final ItemType PINK_GLAZED_TERRACOTTA = register("minecraft:pink_glazed_terracotta"); + public static final ItemType PINK_STAINED_GLASS = register("minecraft:pink_stained_glass"); + public static final ItemType PINK_STAINED_GLASS_PANE = register("minecraft:pink_stained_glass_pane"); + public static final ItemType PINK_TERRACOTTA = register("minecraft:pink_terracotta"); + public static final ItemType PINK_TULIP = register("minecraft:pink_tulip"); + public static final ItemType PINK_WOOL = register("minecraft:pink_wool"); + public static final ItemType PISTON = register("minecraft:piston"); + public static final ItemType PODZOL = register("minecraft:podzol"); + public static final ItemType POISONOUS_POTATO = register("minecraft:poisonous_potato"); + public static final ItemType POLAR_BEAR_SPAWN_EGG = register("minecraft:polar_bear_spawn_egg"); + public static final ItemType POLISHED_ANDESITE = register("minecraft:polished_andesite"); + public static final ItemType POLISHED_DIORITE = register("minecraft:polished_diorite"); + public static final ItemType POLISHED_GRANITE = register("minecraft:polished_granite"); + public static final ItemType POPPY = register("minecraft:poppy"); + public static final ItemType PORKCHOP = register("minecraft:porkchop"); + public static final ItemType POTATO = register("minecraft:potato"); + public static final ItemType POTION = register("minecraft:potion"); + public static final ItemType POWERED_RAIL = register("minecraft:powered_rail"); + public static final ItemType PRISMARINE = register("minecraft:prismarine"); + public static final ItemType PRISMARINE_BRICK_SLAB = register("minecraft:prismarine_brick_slab"); + public static final ItemType PRISMARINE_BRICK_STAIRS = register("minecraft:prismarine_brick_stairs"); + public static final ItemType PRISMARINE_BRICKS = register("minecraft:prismarine_bricks"); + public static final ItemType PRISMARINE_CRYSTALS = register("minecraft:prismarine_crystals"); + public static final ItemType PRISMARINE_SHARD = register("minecraft:prismarine_shard"); + public static final ItemType PRISMARINE_SLAB = register("minecraft:prismarine_slab"); + public static final ItemType PRISMARINE_STAIRS = register("minecraft:prismarine_stairs"); + public static final ItemType PUFFERFISH = register("minecraft:pufferfish"); + public static final ItemType PUFFERFISH_BUCKET = register("minecraft:pufferfish_bucket"); + public static final ItemType PUFFERFISH_SPAWN_EGG = register("minecraft:pufferfish_spawn_egg"); + public static final ItemType PUMPKIN = register("minecraft:pumpkin"); + public static final ItemType PUMPKIN_PIE = register("minecraft:pumpkin_pie"); + public static final ItemType PUMPKIN_SEEDS = register("minecraft:pumpkin_seeds"); + public static final ItemType PURPLE_BANNER = register("minecraft:purple_banner"); + public static final ItemType PURPLE_CARPET = register("minecraft:purple_carpet"); + public static final ItemType PURPLE_CONCRETE = register("minecraft:purple_concrete"); + public static final ItemType PURPLE_CONCRETE_POWDER = register("minecraft:purple_concrete_powder"); + public static final ItemType PURPLE_DYE = register("minecraft:purple_dye"); + public static final ItemType PURPLE_GLAZED_TERRACOTTA = register("minecraft:purple_glazed_terracotta"); + public static final ItemType PURPLE_STAINED_GLASS = register("minecraft:purple_stained_glass"); + public static final ItemType PURPLE_STAINED_GLASS_PANE = register("minecraft:purple_stained_glass_pane"); + public static final ItemType PURPLE_TERRACOTTA = register("minecraft:purple_terracotta"); + public static final ItemType PURPLE_WOOL = register("minecraft:purple_wool"); + public static final ItemType PURPUR_BLOCK = register("minecraft:purpur_block"); + public static final ItemType PURPUR_PILLAR = register("minecraft:purpur_pillar"); + public static final ItemType PURPUR_SLAB = register("minecraft:purpur_slab"); + public static final ItemType PURPUR_STAIRS = register("minecraft:purpur_stairs"); + public static final ItemType QUARTZ = register("minecraft:quartz"); + public static final ItemType QUARTZ_BLOCK = register("minecraft:quartz_block"); + public static final ItemType QUARTZ_PILLAR = register("minecraft:quartz_pillar"); + public static final ItemType QUARTZ_SLAB = register("minecraft:quartz_slab"); + public static final ItemType QUARTZ_STAIRS = register("minecraft:quartz_stairs"); + public static final ItemType RABBIT = register("minecraft:rabbit"); + public static final ItemType RABBIT_FOOT = register("minecraft:rabbit_foot"); + public static final ItemType RABBIT_HIDE = register("minecraft:rabbit_hide"); + public static final ItemType RABBIT_SPAWN_EGG = register("minecraft:rabbit_spawn_egg"); + public static final ItemType RABBIT_STEW = register("minecraft:rabbit_stew"); + public static final ItemType RAIL = register("minecraft:rail"); + public static final ItemType RED_BANNER = register("minecraft:red_banner"); + public static final ItemType RED_CARPET = register("minecraft:red_carpet"); + public static final ItemType RED_CONCRETE = register("minecraft:red_concrete"); + public static final ItemType RED_CONCRETE_POWDER = register("minecraft:red_concrete_powder"); + public static final ItemType RED_GLAZED_TERRACOTTA = register("minecraft:red_glazed_terracotta"); + public static final ItemType RED_MUSHROOM = register("minecraft:red_mushroom"); + public static final ItemType RED_MUSHROOM_BLOCK = register("minecraft:red_mushroom_block"); + public static final ItemType RED_NETHER_BRICKS = register("minecraft:red_nether_bricks"); + public static final ItemType RED_SAND = register("minecraft:red_sand"); + public static final ItemType RED_SANDSTONE = register("minecraft:red_sandstone"); + public static final ItemType RED_SANDSTONE_SLAB = register("minecraft:red_sandstone_slab"); + public static final ItemType RED_SANDSTONE_STAIRS = register("minecraft:red_sandstone_stairs"); + public static final ItemType RED_STAINED_GLASS = register("minecraft:red_stained_glass"); + public static final ItemType RED_STAINED_GLASS_PANE = register("minecraft:red_stained_glass_pane"); + public static final ItemType RED_TERRACOTTA = register("minecraft:red_terracotta"); + public static final ItemType RED_TULIP = register("minecraft:red_tulip"); + public static final ItemType RED_WOOL = register("minecraft:red_wool"); + public static final ItemType REDSTONE = register("minecraft:redstone"); + public static final ItemType REDSTONE_BLOCK = register("minecraft:redstone_block"); + public static final ItemType REDSTONE_LAMP = register("minecraft:redstone_lamp"); + public static final ItemType REDSTONE_ORE = register("minecraft:redstone_ore"); + public static final ItemType REPEATER = register("minecraft:repeater"); + public static final ItemType ROSE_RED = register("minecraft:rose_red"); + public static final ItemType ROTTEN_FLESH = register("minecraft:rotten_flesh"); + public static final ItemType SADDLE = register("minecraft:saddle"); + public static final ItemType SALMON = register("minecraft:salmon"); + public static final ItemType SALMON_BUCKET = register("minecraft:salmon_bucket"); + public static final ItemType SALMON_SPAWN_EGG = register("minecraft:salmon_spawn_egg"); + public static final ItemType SAND = register("minecraft:sand"); + public static final ItemType SANDSTONE = register("minecraft:sandstone"); + public static final ItemType SANDSTONE_SLAB = register("minecraft:sandstone_slab"); + public static final ItemType SANDSTONE_STAIRS = register("minecraft:sandstone_stairs"); + public static final ItemType SCUTE = register("minecraft:scute"); + public static final ItemType SEA_LANTERN = register("minecraft:sea_lantern"); + public static final ItemType SEA_PICKLE = register("minecraft:sea_pickle"); + public static final ItemType SEAGRASS = register("minecraft:seagrass"); + public static final ItemType SHEARS = register("minecraft:shears"); + public static final ItemType SHEEP_SPAWN_EGG = register("minecraft:sheep_spawn_egg"); + public static final ItemType SHIELD = register("minecraft:shield"); + public static final ItemType SHULKER_SHELL = register("minecraft:shulker_shell"); + public static final ItemType SHULKER_SPAWN_EGG = register("minecraft:shulker_spawn_egg"); + public static final ItemType SIGN = register("minecraft:sign"); + public static final ItemType SILVERFISH_SPAWN_EGG = register("minecraft:silverfish_spawn_egg"); + public static final ItemType SKELETON_HORSE_SPAWN_EGG = register("minecraft:skeleton_horse_spawn_egg"); + public static final ItemType SKELETON_SPAWN_EGG = register("minecraft:skeleton_spawn_egg"); + public static final ItemType SLIME_BALL = register("minecraft:slime_ball"); + public static final ItemType SLIME_BLOCK = register("minecraft:slime_block"); + public static final ItemType SLIME_SPAWN_EGG = register("minecraft:slime_spawn_egg"); + public static final ItemType SMOOTH_QUARTZ = register("minecraft:smooth_quartz"); + public static final ItemType SMOOTH_RED_SANDSTONE = register("minecraft:smooth_red_sandstone"); + public static final ItemType SMOOTH_SANDSTONE = register("minecraft:smooth_sandstone"); + public static final ItemType SMOOTH_STONE = register("minecraft:smooth_stone"); + public static final ItemType SNOW = register("minecraft:snow"); + public static final ItemType SNOW_BLOCK = register("minecraft:snow_block"); + public static final ItemType SNOWBALL = register("minecraft:snowball"); + public static final ItemType SOUL_SAND = register("minecraft:soul_sand"); + public static final ItemType SPECTRAL_ARROW = register("minecraft:spectral_arrow"); + public static final ItemType SPIDER_EYE = register("minecraft:spider_eye"); + public static final ItemType SPIDER_SPAWN_EGG = register("minecraft:spider_spawn_egg"); + public static final ItemType SPLASH_POTION = register("minecraft:splash_potion"); + public static final ItemType SPONGE = register("minecraft:sponge"); + public static final ItemType SPRUCE_BARK = register("minecraft:spruce_bark"); + public static final ItemType SPRUCE_BOAT = register("minecraft:spruce_boat"); + public static final ItemType SPRUCE_BUTTON = register("minecraft:spruce_button"); + public static final ItemType SPRUCE_FENCE = register("minecraft:spruce_fence"); + public static final ItemType SPRUCE_FENCE_GATE = register("minecraft:spruce_fence_gate"); + public static final ItemType SPRUCE_LEAVES = register("minecraft:spruce_leaves"); + public static final ItemType SPRUCE_LOG = register("minecraft:spruce_log"); + public static final ItemType SPRUCE_PLANKS = register("minecraft:spruce_planks"); + public static final ItemType SPRUCE_PRESSURE_PLATE = register("minecraft:spruce_pressure_plate"); + public static final ItemType SPRUCE_SAPLING = register("minecraft:spruce_sapling"); + public static final ItemType SPRUCE_SLAB = register("minecraft:spruce_slab"); + public static final ItemType SPRUCE_STAIRS = register("minecraft:spruce_stairs"); + public static final ItemType SPRUCE_TRAPDOOR = register("minecraft:spruce_trapdoor"); + public static final ItemType SQUID_SPAWN_EGG = register("minecraft:squid_spawn_egg"); + public static final ItemType STICK = register("minecraft:stick"); + public static final ItemType STICKY_PISTON = register("minecraft:sticky_piston"); + public static final ItemType STONE = register("minecraft:stone"); + public static final ItemType STONE_AXE = register("minecraft:stone_axe"); + public static final ItemType STONE_BRICK_SLAB = register("minecraft:stone_brick_slab"); + public static final ItemType STONE_BRICK_STAIRS = register("minecraft:stone_brick_stairs"); + public static final ItemType STONE_BRICKS = register("minecraft:stone_bricks"); + public static final ItemType STONE_BUTTON = register("minecraft:stone_button"); + public static final ItemType STONE_HOE = register("minecraft:stone_hoe"); + public static final ItemType STONE_PICKAXE = register("minecraft:stone_pickaxe"); + public static final ItemType STONE_PRESSURE_PLATE = register("minecraft:stone_pressure_plate"); + public static final ItemType STONE_SHOVEL = register("minecraft:stone_shovel"); + public static final ItemType STONE_SLAB = register("minecraft:stone_slab"); + public static final ItemType STONE_SWORD = register("minecraft:stone_sword"); + public static final ItemType STRAY_SPAWN_EGG = register("minecraft:stray_spawn_egg"); + public static final ItemType STRING = register("minecraft:string"); + public static final ItemType STRIPPED_ACACIA_LOG = register("minecraft:stripped_acacia_log"); + public static final ItemType STRIPPED_BIRCH_LOG = register("minecraft:stripped_birch_log"); + public static final ItemType STRIPPED_DARK_OAK_LOG = register("minecraft:stripped_dark_oak_log"); + public static final ItemType STRIPPED_JUNGLE_LOG = register("minecraft:stripped_jungle_log"); + public static final ItemType STRIPPED_OAK_LOG = register("minecraft:stripped_oak_log"); + public static final ItemType STRIPPED_SPRUCE_LOG = register("minecraft:stripped_spruce_log"); + public static final ItemType STRUCTURE_VOID = register("minecraft:structure_void"); + public static final ItemType SUGAR = register("minecraft:sugar"); + public static final ItemType SUGAR_CANE = register("minecraft:sugar_cane"); + public static final ItemType TERRACOTTA = register("minecraft:terracotta"); + public static final ItemType TIPPED_ARROW = register("minecraft:tipped_arrow"); + public static final ItemType TNT = register("minecraft:tnt"); + public static final ItemType TNT_MINECART = register("minecraft:tnt_minecart"); + public static final ItemType TOTEM_OF_UNDYING = register("minecraft:totem_of_undying"); + public static final ItemType TRAPPED_CHEST = register("minecraft:trapped_chest"); + public static final ItemType TRIDENT = register("minecraft:trident"); + public static final ItemType TRIPWIRE_HOOK = register("minecraft:tripwire_hook"); + public static final ItemType TROPICAL_FISH_SPAWN_EGG = register("minecraft:tropical_fish_spawn_egg"); + public static final ItemType TUBE_CORAL = register("minecraft:tube_coral"); + public static final ItemType TUBE_CORAL_BLOCK = register("minecraft:tube_coral_block"); + public static final ItemType TUBE_CORAL_FAN = register("minecraft:tube_coral_fan"); + public static final ItemType TURTLE_EGG = register("minecraft:turtle_egg"); + public static final ItemType TURTLE_HELMET = register("minecraft:turtle_helmet"); + public static final ItemType TURTLE_SPAWN_EGG = register("minecraft:turtle_spawn_egg"); + public static final ItemType VEX_SPAWN_EGG = register("minecraft:vex_spawn_egg"); + public static final ItemType VILLAGER_SPAWN_EGG = register("minecraft:villager_spawn_egg"); + public static final ItemType VINDICATION_ILLAGER_SPAWN_EGG = register("minecraft:vindication_illager_spawn_egg"); + public static final ItemType VINE = register("minecraft:vine"); + public static final ItemType WATER_BUCKET = register("minecraft:water_bucket"); + public static final ItemType WET_SPONGE = register("minecraft:wet_sponge"); + public static final ItemType WHEAT = register("minecraft:wheat"); + public static final ItemType WHEAT_SEEDS = register("minecraft:wheat_seeds"); + public static final ItemType WHITE_BANNER = register("minecraft:white_banner"); + public static final ItemType WHITE_CARPET = register("minecraft:white_carpet"); + public static final ItemType WHITE_CONCRETE = register("minecraft:white_concrete"); + public static final ItemType WHITE_CONCRETE_POWDER = register("minecraft:white_concrete_powder"); + public static final ItemType WHITE_GLAZED_TERRACOTTA = register("minecraft:white_glazed_terracotta"); + public static final ItemType WHITE_STAINED_GLASS = register("minecraft:white_stained_glass"); + public static final ItemType WHITE_STAINED_GLASS_PANE = register("minecraft:white_stained_glass_pane"); + public static final ItemType WHITE_TERRACOTTA = register("minecraft:white_terracotta"); + public static final ItemType WHITE_TULIP = register("minecraft:white_tulip"); + public static final ItemType WHITE_WOOL = register("minecraft:white_wool"); + public static final ItemType WITCH_SPAWN_EGG = register("minecraft:witch_spawn_egg"); + public static final ItemType WITHER_SKELETON_SPAWN_EGG = register("minecraft:wither_skeleton_spawn_egg"); + public static final ItemType WOLF_SPAWN_EGG = register("minecraft:wolf_spawn_egg"); + public static final ItemType WOODEN_AXE = register("minecraft:wooden_axe"); + public static final ItemType WOODEN_HOE = register("minecraft:wooden_hoe"); + public static final ItemType WOODEN_PICKAXE = register("minecraft:wooden_pickaxe"); + public static final ItemType WOODEN_SHOVEL = register("minecraft:wooden_shovel"); + public static final ItemType WOODEN_SWORD = register("minecraft:wooden_sword"); + public static final ItemType WRITABLE_BOOK = register("minecraft:writable_book"); + public static final ItemType WRITTEN_BOOK = register("minecraft:written_book"); + public static final ItemType YELLOW_BANNER = register("minecraft:yellow_banner"); + public static final ItemType YELLOW_CARPET = register("minecraft:yellow_carpet"); + public static final ItemType YELLOW_CONCRETE = register("minecraft:yellow_concrete"); + public static final ItemType YELLOW_CONCRETE_POWDER = register("minecraft:yellow_concrete_powder"); + public static final ItemType YELLOW_GLAZED_TERRACOTTA = register("minecraft:yellow_glazed_terracotta"); + public static final ItemType YELLOW_STAINED_GLASS = register("minecraft:yellow_stained_glass"); + public static final ItemType YELLOW_STAINED_GLASS_PANE = register("minecraft:yellow_stained_glass_pane"); + public static final ItemType YELLOW_TERRACOTTA = register("minecraft:yellow_terracotta"); + public static final ItemType YELLOW_WOOL = register("minecraft:yellow_wool"); + public static final ItemType ZOMBIE_HORSE_SPAWN_EGG = register("minecraft:zombie_horse_spawn_egg"); + public static final ItemType ZOMBIE_PIGMAN_SPAWN_EGG = register("minecraft:zombie_pigman_spawn_egg"); + public static final ItemType ZOMBIE_SPAWN_EGG = register("minecraft:zombie_spawn_egg"); + public static final ItemType ZOMBIE_VILLAGER_SPAWN_EGG = register("minecraft:zombie_villager_spawn_egg"); - private static final Map itemMapping = new HashMap<>(); - - static { - for (Field field : ItemTypes.class.getFields()) { - if (field.getType() == ItemType.class) { - try { - registerItem((ItemType) field.get(null)); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } - } - } + private static ItemType register(final String id) { + return register(new ItemType(id)); } - public static void registerItem(ItemType itemType) { - if (itemMapping.containsKey(itemType.getId()) && !itemType.getId().startsWith("minecraft:")) { - throw new IllegalArgumentException("Existing item with this ID already registered"); - } - - itemMapping.put(itemType.getId(), itemType); + public static ItemType register(final ItemType item) { + return ItemType.REGISTRY.register(item.getId(), item); } @Nullable - public static ItemType getItemType(String id) { - // If it has no namespace, assume minecraft. - if (id != null && !id.contains(":")) { - id = "minecraft:" + id; - } - return itemMapping.get(id); + public static ItemType get(final String id) { + return ItemType.REGISTRY.get(id); } public static Collection values() { - return itemMapping.values(); + return ItemType.REGISTRY.values(); } } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/BundledBlockRegistry.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/BundledBlockRegistry.java index 0f82ab2e1..707cfc554 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/BundledBlockRegistry.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/BundledBlockRegistry.java @@ -38,7 +38,7 @@ public class BundledBlockRegistry implements BlockRegistry { @Nullable @Override public BlockState createFromId(String id) { - return BlockTypes.getBlockType(id).getDefaultState(); + return BlockTypes.get(id).getDefaultState(); } @Nullable diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/BundledItemRegistry.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/BundledItemRegistry.java index 67f9e4015..c40ce80ec 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/BundledItemRegistry.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/BundledItemRegistry.java @@ -33,6 +33,6 @@ public class BundledItemRegistry implements ItemRegistry { @Nullable @Override public BaseItem createFromId(String id) { - return new BaseItem(ItemTypes.getItemType(id)); + return new BaseItem(ItemTypes.get(id)); } } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/LegacyMapper.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/LegacyMapper.java index d85309bf3..d827ceca3 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/LegacyMapper.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/LegacyMapper.java @@ -93,7 +93,7 @@ public class LegacyMapper { for (Map.Entry itemEntry : dataFile.items.entrySet()) { try { - itemMap.put(itemEntry.getKey(), ItemTypes.getItemType(itemEntry.getValue())); + itemMap.put(itemEntry.getKey(), ItemTypes.get(itemEntry.getValue())); } catch (Exception e) { log.warning("Unknown item: " + itemEntry.getValue()); } diff --git a/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeItemRegistry.java b/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeItemRegistry.java index c7f93231f..216657581 100644 --- a/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeItemRegistry.java +++ b/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeItemRegistry.java @@ -32,7 +32,7 @@ public class ForgeItemRegistry implements ItemRegistry { public BaseItem createFromId(String id) { Item match = Item.REGISTRY.getObject(new ResourceLocation(id)); if (match != null) { - return new BaseItem(ItemTypes.getItemType(id)); + return new BaseItem(ItemTypes.get(id)); } else { return null; } diff --git a/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgePlayer.java b/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgePlayer.java index 67f414137..8de41de5d 100644 --- a/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgePlayer.java +++ b/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgePlayer.java @@ -62,7 +62,7 @@ public class ForgePlayer extends AbstractPlayerActor { @Override public BaseItemStack getItemInHand(HandSide handSide) { ItemStack is = this.player.getHeldItem(handSide == HandSide.MAIN_HAND ? EnumHand.MAIN_HAND : EnumHand.OFF_HAND); - return new BaseItemStack(ItemTypes.getItemType(ForgeRegistries.ITEMS.getKey(is.getItem()).toString())); + return new BaseItemStack(ItemTypes.get(ForgeRegistries.ITEMS.getKey(is.getItem()).toString())); } @Override diff --git a/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeWorldEdit.java b/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeWorldEdit.java index e5aded401..ea0ded3ff 100644 --- a/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeWorldEdit.java +++ b/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeWorldEdit.java @@ -125,7 +125,7 @@ public class ForgeWorldEdit { } for (Block block : REGISTRY) { - BlockTypes.registerBlock(new BlockType(REGISTRY.getNameForObject(block).toString())); + BlockTypes.register(new BlockType(REGISTRY.getNameForObject(block).toString())); } } diff --git a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongePlayer.java b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongePlayer.java index 5e180016d..0bfaa3b6f 100644 --- a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongePlayer.java +++ b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongePlayer.java @@ -66,7 +66,7 @@ public class SpongePlayer extends AbstractPlayerActor { public BaseItemStack getItemInHand(HandSide handSide) { Optional is = this.player.getItemInHand(handSide == HandSide.MAIN_HAND ? HandTypes.MAIN_HAND : HandTypes.OFF_HAND); - return is.map(itemStack -> new BaseItemStack(ItemTypes.getItemType(itemStack.getType().getId()))).orElse(null); + return is.map(itemStack -> new BaseItemStack(ItemTypes.get(itemStack.getType().getId()))).orElse(null); } @Override diff --git a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java index e09336309..f2ba77982 100644 --- a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java +++ b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java @@ -135,11 +135,11 @@ public class SpongeWorldEdit { for (BlockType blockType : Sponge.getRegistry().getAllOf(BlockType.class)) { // TODO Handle blockstate stuff - com.sk89q.worldedit.world.block.BlockTypes.registerBlock(new com.sk89q.worldedit.world.block.BlockType(blockType.getId())); + com.sk89q.worldedit.world.block.BlockTypes.register(new com.sk89q.worldedit.world.block.BlockType(blockType.getId())); } for (ItemType itemType : Sponge.getRegistry().getAllOf(ItemType.class)) { - ItemTypes.registerItem(new com.sk89q.worldedit.world.item.ItemType(itemType.getId())); + ItemTypes.register(new com.sk89q.worldedit.world.item.ItemType(itemType.getId())); } WorldEdit.getInstance().getPlatformManager().register(platform);