mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-05 00:43:56 +01:00
85f704e537
Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
3728 lines
119 KiB
Java
3728 lines
119 KiB
Java
package org.bukkit;
|
|
|
|
import com.google.common.base.Preconditions;
|
|
import com.google.common.base.Suppliers;
|
|
import com.google.common.collect.Maps;
|
|
import com.google.common.collect.Multimap;
|
|
import java.lang.reflect.Constructor;
|
|
import java.util.Locale;
|
|
import java.util.Map;
|
|
import java.util.function.Consumer;
|
|
import java.util.function.Supplier;
|
|
import org.bukkit.attribute.Attribute;
|
|
import org.bukkit.attribute.AttributeModifier;
|
|
import org.bukkit.block.Block;
|
|
import org.bukkit.block.BlockType;
|
|
import org.bukkit.block.data.Ageable;
|
|
import org.bukkit.block.data.AnaloguePowerable;
|
|
import org.bukkit.block.data.Bisected;
|
|
import org.bukkit.block.data.BlockData;
|
|
import org.bukkit.block.data.Brushable;
|
|
import org.bukkit.block.data.Directional;
|
|
import org.bukkit.block.data.Hatchable;
|
|
import org.bukkit.block.data.Levelled;
|
|
import org.bukkit.block.data.Lightable;
|
|
import org.bukkit.block.data.MultipleFacing;
|
|
import org.bukkit.block.data.Orientable;
|
|
import org.bukkit.block.data.Powerable;
|
|
import org.bukkit.block.data.Rail;
|
|
import org.bukkit.block.data.Rotatable;
|
|
import org.bukkit.block.data.Snowable;
|
|
import org.bukkit.block.data.Waterlogged;
|
|
import org.bukkit.block.data.type.AmethystCluster;
|
|
import org.bukkit.block.data.type.Bamboo;
|
|
import org.bukkit.block.data.type.Barrel;
|
|
import org.bukkit.block.data.type.Bed;
|
|
import org.bukkit.block.data.type.Beehive;
|
|
import org.bukkit.block.data.type.Bell;
|
|
import org.bukkit.block.data.type.BigDripleaf;
|
|
import org.bukkit.block.data.type.BrewingStand;
|
|
import org.bukkit.block.data.type.BubbleColumn;
|
|
import org.bukkit.block.data.type.Cake;
|
|
import org.bukkit.block.data.type.CalibratedSculkSensor;
|
|
import org.bukkit.block.data.type.Campfire;
|
|
import org.bukkit.block.data.type.Candle;
|
|
import org.bukkit.block.data.type.CaveVines;
|
|
import org.bukkit.block.data.type.CaveVinesPlant;
|
|
import org.bukkit.block.data.type.Chain;
|
|
import org.bukkit.block.data.type.Chest;
|
|
import org.bukkit.block.data.type.ChiseledBookshelf;
|
|
import org.bukkit.block.data.type.Cocoa;
|
|
import org.bukkit.block.data.type.CommandBlock;
|
|
import org.bukkit.block.data.type.Comparator;
|
|
import org.bukkit.block.data.type.CopperBulb;
|
|
import org.bukkit.block.data.type.CoralWallFan;
|
|
import org.bukkit.block.data.type.Crafter;
|
|
import org.bukkit.block.data.type.CreakingHeart;
|
|
import org.bukkit.block.data.type.DaylightDetector;
|
|
import org.bukkit.block.data.type.DecoratedPot;
|
|
import org.bukkit.block.data.type.Dispenser;
|
|
import org.bukkit.block.data.type.Door;
|
|
import org.bukkit.block.data.type.Dripleaf;
|
|
import org.bukkit.block.data.type.EndPortalFrame;
|
|
import org.bukkit.block.data.type.EnderChest;
|
|
import org.bukkit.block.data.type.Farmland;
|
|
import org.bukkit.block.data.type.Fence;
|
|
import org.bukkit.block.data.type.Fire;
|
|
import org.bukkit.block.data.type.Furnace;
|
|
import org.bukkit.block.data.type.Gate;
|
|
import org.bukkit.block.data.type.GlassPane;
|
|
import org.bukkit.block.data.type.GlowLichen;
|
|
import org.bukkit.block.data.type.Grindstone;
|
|
import org.bukkit.block.data.type.HangingMoss;
|
|
import org.bukkit.block.data.type.HangingSign;
|
|
import org.bukkit.block.data.type.Hopper;
|
|
import org.bukkit.block.data.type.Jigsaw;
|
|
import org.bukkit.block.data.type.Jukebox;
|
|
import org.bukkit.block.data.type.Ladder;
|
|
import org.bukkit.block.data.type.Lantern;
|
|
import org.bukkit.block.data.type.Leaves;
|
|
import org.bukkit.block.data.type.Lectern;
|
|
import org.bukkit.block.data.type.Light;
|
|
import org.bukkit.block.data.type.LightningRod;
|
|
import org.bukkit.block.data.type.MangrovePropagule;
|
|
import org.bukkit.block.data.type.MossyCarpet;
|
|
import org.bukkit.block.data.type.NoteBlock;
|
|
import org.bukkit.block.data.type.Observer;
|
|
import org.bukkit.block.data.type.PinkPetals;
|
|
import org.bukkit.block.data.type.Piston;
|
|
import org.bukkit.block.data.type.PistonHead;
|
|
import org.bukkit.block.data.type.PitcherCrop;
|
|
import org.bukkit.block.data.type.PointedDripstone;
|
|
import org.bukkit.block.data.type.RedstoneRail;
|
|
import org.bukkit.block.data.type.RedstoneWallTorch;
|
|
import org.bukkit.block.data.type.RedstoneWire;
|
|
import org.bukkit.block.data.type.Repeater;
|
|
import org.bukkit.block.data.type.RespawnAnchor;
|
|
import org.bukkit.block.data.type.Sapling;
|
|
import org.bukkit.block.data.type.Scaffolding;
|
|
import org.bukkit.block.data.type.SculkCatalyst;
|
|
import org.bukkit.block.data.type.SculkSensor;
|
|
import org.bukkit.block.data.type.SculkShrieker;
|
|
import org.bukkit.block.data.type.SculkVein;
|
|
import org.bukkit.block.data.type.SeaPickle;
|
|
import org.bukkit.block.data.type.Sign;
|
|
import org.bukkit.block.data.type.Skull;
|
|
import org.bukkit.block.data.type.Slab;
|
|
import org.bukkit.block.data.type.SmallDripleaf;
|
|
import org.bukkit.block.data.type.Snow;
|
|
import org.bukkit.block.data.type.Stairs;
|
|
import org.bukkit.block.data.type.StructureBlock;
|
|
import org.bukkit.block.data.type.Switch;
|
|
import org.bukkit.block.data.type.TNT;
|
|
import org.bukkit.block.data.type.TechnicalPiston;
|
|
import org.bukkit.block.data.type.TrapDoor;
|
|
import org.bukkit.block.data.type.TrialSpawner;
|
|
import org.bukkit.block.data.type.Tripwire;
|
|
import org.bukkit.block.data.type.TripwireHook;
|
|
import org.bukkit.block.data.type.TurtleEgg;
|
|
import org.bukkit.block.data.type.Vault;
|
|
import org.bukkit.block.data.type.Wall;
|
|
import org.bukkit.block.data.type.WallHangingSign;
|
|
import org.bukkit.block.data.type.WallSign;
|
|
import org.bukkit.block.data.type.WallSkull;
|
|
import org.bukkit.inventory.CreativeCategory;
|
|
import org.bukkit.inventory.EquipmentSlot;
|
|
import org.bukkit.inventory.ItemStack;
|
|
import org.bukkit.inventory.ItemType;
|
|
import org.bukkit.inventory.meta.ItemMeta;
|
|
import org.bukkit.material.MaterialData;
|
|
import org.jetbrains.annotations.ApiStatus;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/**
|
|
* An enum of all material IDs accepted by the official server and client
|
|
*/
|
|
@SuppressWarnings({"DeprecatedIsStillUsed", "deprecation"}) // Paper
|
|
public enum Material implements Keyed, Translatable, net.kyori.adventure.translation.Translatable { // Paper
|
|
//<editor-fold desc="Materials" defaultstate="collapsed">
|
|
// Paper start - Generated/Items
|
|
// @GeneratedFrom 1.21.3
|
|
ACACIA_BOAT(-1, 1),
|
|
ACACIA_CHEST_BOAT(-1, 1),
|
|
AIR(-1),
|
|
ALLAY_SPAWN_EGG(-1),
|
|
AMETHYST_SHARD(-1),
|
|
ANGLER_POTTERY_SHERD(-1),
|
|
APPLE(-1),
|
|
ARCHER_POTTERY_SHERD(-1),
|
|
ARMADILLO_SCUTE(-1),
|
|
ARMADILLO_SPAWN_EGG(-1),
|
|
ARMOR_STAND(-1, 16),
|
|
ARMS_UP_POTTERY_SHERD(-1),
|
|
ARROW(-1),
|
|
AXOLOTL_BUCKET(-1, 1),
|
|
AXOLOTL_SPAWN_EGG(-1),
|
|
BAKED_POTATO(-1),
|
|
BAMBOO_CHEST_RAFT(-1, 1),
|
|
BAMBOO_RAFT(-1, 1),
|
|
BAT_SPAWN_EGG(-1),
|
|
BEE_SPAWN_EGG(-1),
|
|
BEEF(-1),
|
|
BEETROOT(-1),
|
|
BEETROOT_SEEDS(-1),
|
|
BEETROOT_SOUP(-1, 1),
|
|
BIRCH_BOAT(-1, 1),
|
|
BIRCH_CHEST_BOAT(-1, 1),
|
|
BLACK_BUNDLE(-1, 1),
|
|
BLACK_DYE(-1),
|
|
BLADE_POTTERY_SHERD(-1),
|
|
BLAZE_POWDER(-1),
|
|
BLAZE_ROD(-1),
|
|
BLAZE_SPAWN_EGG(-1),
|
|
BLUE_BUNDLE(-1, 1),
|
|
BLUE_DYE(-1),
|
|
BOGGED_SPAWN_EGG(-1),
|
|
BOLT_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
BONE(-1),
|
|
BONE_MEAL(-1),
|
|
BOOK(-1),
|
|
BORDURE_INDENTED_BANNER_PATTERN(-1, 1),
|
|
BOW(-1, 1, 384),
|
|
BOWL(-1),
|
|
BREAD(-1),
|
|
BREEZE_ROD(-1),
|
|
BREEZE_SPAWN_EGG(-1),
|
|
BREWER_POTTERY_SHERD(-1),
|
|
BRICK(-1),
|
|
BROWN_BUNDLE(-1, 1),
|
|
BROWN_DYE(-1),
|
|
BRUSH(-1, 1, 64),
|
|
BUCKET(-1, 16),
|
|
BUNDLE(-1, 1),
|
|
BURN_POTTERY_SHERD(-1),
|
|
CAMEL_SPAWN_EGG(-1),
|
|
CARROT(-1),
|
|
CARROT_ON_A_STICK(-1, 1, 25),
|
|
CAT_SPAWN_EGG(-1),
|
|
CAVE_SPIDER_SPAWN_EGG(-1),
|
|
CHAINMAIL_BOOTS(-1, 1, 195),
|
|
CHAINMAIL_CHESTPLATE(-1, 1, 240),
|
|
CHAINMAIL_HELMET(-1, 1, 165),
|
|
CHAINMAIL_LEGGINGS(-1, 1, 225),
|
|
CHARCOAL(-1),
|
|
CHERRY_BOAT(-1, 1),
|
|
CHERRY_CHEST_BOAT(-1, 1),
|
|
CHEST_MINECART(-1, 1),
|
|
CHICKEN(-1),
|
|
CHICKEN_SPAWN_EGG(-1),
|
|
CHORUS_FRUIT(-1),
|
|
CLAY_BALL(-1),
|
|
CLOCK(-1),
|
|
COAL(-1),
|
|
COAST_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
COCOA_BEANS(-1),
|
|
COD(-1),
|
|
COD_BUCKET(-1, 1),
|
|
COD_SPAWN_EGG(-1),
|
|
COMMAND_BLOCK_MINECART(-1, 1),
|
|
COMPASS(-1),
|
|
COOKED_BEEF(-1),
|
|
COOKED_CHICKEN(-1),
|
|
COOKED_COD(-1),
|
|
COOKED_MUTTON(-1),
|
|
COOKED_PORKCHOP(-1),
|
|
COOKED_RABBIT(-1),
|
|
COOKED_SALMON(-1),
|
|
COOKIE(-1),
|
|
COPPER_INGOT(-1),
|
|
COW_SPAWN_EGG(-1),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
CREAKING_SPAWN_EGG(-1),
|
|
CREEPER_BANNER_PATTERN(-1, 1),
|
|
CREEPER_SPAWN_EGG(-1),
|
|
CROSSBOW(-1, 1, 465),
|
|
CYAN_BUNDLE(-1, 1),
|
|
CYAN_DYE(-1),
|
|
DANGER_POTTERY_SHERD(-1),
|
|
DARK_OAK_BOAT(-1, 1),
|
|
DARK_OAK_CHEST_BOAT(-1, 1),
|
|
DEBUG_STICK(-1, 1),
|
|
DIAMOND(-1),
|
|
DIAMOND_AXE(-1, 1, 1561),
|
|
DIAMOND_BOOTS(-1, 1, 429),
|
|
DIAMOND_CHESTPLATE(-1, 1, 528),
|
|
DIAMOND_HELMET(-1, 1, 363),
|
|
DIAMOND_HOE(-1, 1, 1561),
|
|
DIAMOND_HORSE_ARMOR(-1, 1),
|
|
DIAMOND_LEGGINGS(-1, 1, 495),
|
|
DIAMOND_PICKAXE(-1, 1, 1561),
|
|
DIAMOND_SHOVEL(-1, 1, 1561),
|
|
DIAMOND_SWORD(-1, 1, 1561),
|
|
DRAGON_BREATH(-1),
|
|
END_CRYSTAL(-1),
|
|
FIELD_MASONED_BANNER_PATTERN(-1, 1),
|
|
FLOW_BANNER_PATTERN(-1, 1),
|
|
GLOBE_BANNER_PATTERN(-1, 1),
|
|
GOAT_HORN(-1, 1),
|
|
IRON_NUGGET(-1),
|
|
KNOWLEDGE_BOOK(-1, 1),
|
|
LINGERING_POTION(-1, 1),
|
|
MUSIC_DISC_5(-1, 1),
|
|
DISC_FRAGMENT_5(-1),
|
|
DOLPHIN_SPAWN_EGG(-1),
|
|
DONKEY_SPAWN_EGG(-1),
|
|
DRIED_KELP(-1),
|
|
DROWNED_SPAWN_EGG(-1),
|
|
DUNE_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
ECHO_SHARD(-1),
|
|
EGG(-1, 16),
|
|
ELDER_GUARDIAN_SPAWN_EGG(-1),
|
|
ELYTRA(-1, 1, 432),
|
|
EMERALD(-1),
|
|
ENCHANTED_BOOK(-1, 1),
|
|
ENCHANTED_GOLDEN_APPLE(-1),
|
|
ENDER_DRAGON_SPAWN_EGG(-1),
|
|
ENDER_EYE(-1),
|
|
ENDER_PEARL(-1, 16),
|
|
ENDERMAN_SPAWN_EGG(-1),
|
|
ENDERMITE_SPAWN_EGG(-1),
|
|
EVOKER_SPAWN_EGG(-1),
|
|
EXPERIENCE_BOTTLE(-1),
|
|
EXPLORER_POTTERY_SHERD(-1),
|
|
EYE_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
FEATHER(-1),
|
|
FERMENTED_SPIDER_EYE(-1),
|
|
FILLED_MAP(-1),
|
|
FIRE_CHARGE(-1),
|
|
FIREWORK_ROCKET(-1),
|
|
FIREWORK_STAR(-1),
|
|
FISHING_ROD(-1, 1, 64),
|
|
FLINT(-1),
|
|
FLINT_AND_STEEL(-1, 1, 64),
|
|
FLOW_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
FLOW_POTTERY_SHERD(-1),
|
|
FLOWER_BANNER_PATTERN(-1, 1),
|
|
FOX_SPAWN_EGG(-1),
|
|
FRIEND_POTTERY_SHERD(-1),
|
|
FROG_SPAWN_EGG(-1),
|
|
FURNACE_MINECART(-1, 1),
|
|
GHAST_SPAWN_EGG(-1),
|
|
GHAST_TEAR(-1),
|
|
GLASS_BOTTLE(-1),
|
|
GLISTERING_MELON_SLICE(-1),
|
|
GLOW_BERRIES(-1),
|
|
GLOW_INK_SAC(-1),
|
|
GLOW_ITEM_FRAME(-1),
|
|
GLOW_SQUID_SPAWN_EGG(-1),
|
|
GLOWSTONE_DUST(-1),
|
|
GOAT_SPAWN_EGG(-1),
|
|
GOLD_INGOT(-1),
|
|
GOLD_NUGGET(-1),
|
|
GOLDEN_APPLE(-1),
|
|
GOLDEN_AXE(-1, 1, 32),
|
|
GOLDEN_BOOTS(-1, 1, 91),
|
|
GOLDEN_CARROT(-1),
|
|
GOLDEN_CHESTPLATE(-1, 1, 112),
|
|
GOLDEN_HELMET(-1, 1, 77),
|
|
GOLDEN_HOE(-1, 1, 32),
|
|
GOLDEN_HORSE_ARMOR(-1, 1),
|
|
GOLDEN_LEGGINGS(-1, 1, 105),
|
|
GOLDEN_PICKAXE(-1, 1, 32),
|
|
GOLDEN_SHOVEL(-1, 1, 32),
|
|
GOLDEN_SWORD(-1, 1, 32),
|
|
GRAY_BUNDLE(-1, 1),
|
|
GRAY_DYE(-1),
|
|
GREEN_BUNDLE(-1, 1),
|
|
GREEN_DYE(-1),
|
|
GUARDIAN_SPAWN_EGG(-1),
|
|
GUNPOWDER(-1),
|
|
GUSTER_BANNER_PATTERN(-1, 1),
|
|
GUSTER_POTTERY_SHERD(-1),
|
|
HEART_OF_THE_SEA(-1),
|
|
HEART_POTTERY_SHERD(-1),
|
|
HEARTBREAK_POTTERY_SHERD(-1),
|
|
HOGLIN_SPAWN_EGG(-1),
|
|
HONEY_BOTTLE(-1, 16),
|
|
HONEYCOMB(-1),
|
|
HOPPER_MINECART(-1, 1),
|
|
HORSE_SPAWN_EGG(-1),
|
|
HOST_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
HOWL_POTTERY_SHERD(-1),
|
|
HUSK_SPAWN_EGG(-1),
|
|
INK_SAC(-1),
|
|
IRON_AXE(-1, 1, 250),
|
|
IRON_BOOTS(-1, 1, 195),
|
|
IRON_CHESTPLATE(-1, 1, 240),
|
|
IRON_GOLEM_SPAWN_EGG(-1),
|
|
IRON_HELMET(-1, 1, 165),
|
|
IRON_HOE(-1, 1, 250),
|
|
IRON_HORSE_ARMOR(-1, 1),
|
|
IRON_INGOT(-1),
|
|
IRON_LEGGINGS(-1, 1, 225),
|
|
IRON_PICKAXE(-1, 1, 250),
|
|
IRON_SHOVEL(-1, 1, 250),
|
|
IRON_SWORD(-1, 1, 250),
|
|
ITEM_FRAME(-1),
|
|
JUNGLE_BOAT(-1, 1),
|
|
JUNGLE_CHEST_BOAT(-1, 1),
|
|
LAPIS_LAZULI(-1),
|
|
LAVA_BUCKET(-1, 1),
|
|
LEAD(-1),
|
|
LEATHER(-1),
|
|
LEATHER_BOOTS(-1, 1, 65),
|
|
LEATHER_CHESTPLATE(-1, 1, 80),
|
|
LEATHER_HELMET(-1, 1, 55),
|
|
LEATHER_HORSE_ARMOR(-1, 1),
|
|
LEATHER_LEGGINGS(-1, 1, 75),
|
|
LIGHT_BLUE_BUNDLE(-1, 1),
|
|
LIGHT_BLUE_DYE(-1),
|
|
LIGHT_GRAY_BUNDLE(-1, 1),
|
|
LIGHT_GRAY_DYE(-1),
|
|
LIME_BUNDLE(-1, 1),
|
|
LIME_DYE(-1),
|
|
LLAMA_SPAWN_EGG(-1),
|
|
MACE(-1, 1, 500),
|
|
MAGENTA_BUNDLE(-1, 1),
|
|
MAGENTA_DYE(-1),
|
|
MAGMA_CREAM(-1),
|
|
MAGMA_CUBE_SPAWN_EGG(-1),
|
|
MANGROVE_BOAT(-1, 1),
|
|
MANGROVE_CHEST_BOAT(-1, 1),
|
|
MAP(-1),
|
|
MELON_SEEDS(-1),
|
|
MELON_SLICE(-1),
|
|
MILK_BUCKET(-1, 1),
|
|
MINECART(-1, 1),
|
|
MINER_POTTERY_SHERD(-1),
|
|
MOJANG_BANNER_PATTERN(-1, 1),
|
|
MOOSHROOM_SPAWN_EGG(-1),
|
|
MOURNER_POTTERY_SHERD(-1),
|
|
MULE_SPAWN_EGG(-1),
|
|
MUSHROOM_STEW(-1, 1),
|
|
MUSIC_DISC_11(-1, 1),
|
|
MUSIC_DISC_13(-1, 1),
|
|
MUSIC_DISC_BLOCKS(-1, 1),
|
|
MUSIC_DISC_CAT(-1, 1),
|
|
MUSIC_DISC_CHIRP(-1, 1),
|
|
MUSIC_DISC_CREATOR(-1, 1),
|
|
MUSIC_DISC_CREATOR_MUSIC_BOX(-1, 1),
|
|
MUSIC_DISC_FAR(-1, 1),
|
|
MUSIC_DISC_MALL(-1, 1),
|
|
MUSIC_DISC_MELLOHI(-1, 1),
|
|
MUSIC_DISC_OTHERSIDE(-1, 1),
|
|
MUSIC_DISC_PIGSTEP(-1, 1),
|
|
MUSIC_DISC_PRECIPICE(-1, 1),
|
|
MUSIC_DISC_RELIC(-1, 1),
|
|
MUSIC_DISC_STAL(-1, 1),
|
|
MUSIC_DISC_STRAD(-1, 1),
|
|
MUSIC_DISC_WAIT(-1, 1),
|
|
MUSIC_DISC_WARD(-1, 1),
|
|
MUTTON(-1),
|
|
NAME_TAG(-1),
|
|
NAUTILUS_SHELL(-1),
|
|
NETHER_BRICK(-1),
|
|
NETHER_STAR(-1),
|
|
NETHERITE_AXE(-1, 1, 2031),
|
|
NETHERITE_BOOTS(-1, 1, 481),
|
|
NETHERITE_CHESTPLATE(-1, 1, 592),
|
|
NETHERITE_HELMET(-1, 1, 407),
|
|
NETHERITE_HOE(-1, 1, 2031),
|
|
NETHERITE_INGOT(-1),
|
|
NETHERITE_LEGGINGS(-1, 1, 555),
|
|
NETHERITE_PICKAXE(-1, 1, 2031),
|
|
NETHERITE_SCRAP(-1),
|
|
NETHERITE_SHOVEL(-1, 1, 2031),
|
|
NETHERITE_SWORD(-1, 1, 2031),
|
|
NETHERITE_UPGRADE_SMITHING_TEMPLATE(-1),
|
|
OAK_BOAT(-1, 1),
|
|
OAK_CHEST_BOAT(-1, 1),
|
|
OCELOT_SPAWN_EGG(-1),
|
|
OMINOUS_BOTTLE(-1),
|
|
OMINOUS_TRIAL_KEY(-1),
|
|
ORANGE_BUNDLE(-1, 1),
|
|
ORANGE_DYE(-1),
|
|
PAINTING(-1),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_BOAT(-1, 1),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_CHEST_BOAT(-1, 1),
|
|
PANDA_SPAWN_EGG(-1),
|
|
PAPER(-1),
|
|
PARROT_SPAWN_EGG(-1),
|
|
PHANTOM_MEMBRANE(-1),
|
|
PHANTOM_SPAWN_EGG(-1),
|
|
PIG_SPAWN_EGG(-1),
|
|
PIGLIN_BANNER_PATTERN(-1, 1),
|
|
PIGLIN_BRUTE_SPAWN_EGG(-1),
|
|
PIGLIN_SPAWN_EGG(-1),
|
|
PILLAGER_SPAWN_EGG(-1),
|
|
PINK_BUNDLE(-1, 1),
|
|
PINK_DYE(-1),
|
|
PITCHER_POD(-1),
|
|
PLENTY_POTTERY_SHERD(-1),
|
|
POISONOUS_POTATO(-1),
|
|
POLAR_BEAR_SPAWN_EGG(-1),
|
|
POPPED_CHORUS_FRUIT(-1),
|
|
PORKCHOP(-1),
|
|
POTATO(-1),
|
|
POTION(-1, 1),
|
|
POWDER_SNOW_BUCKET(-1, 1),
|
|
PRISMARINE_CRYSTALS(-1),
|
|
PRISMARINE_SHARD(-1),
|
|
PRIZE_POTTERY_SHERD(-1),
|
|
PUFFERFISH(-1),
|
|
PUFFERFISH_BUCKET(-1, 1),
|
|
PUFFERFISH_SPAWN_EGG(-1),
|
|
PUMPKIN_PIE(-1),
|
|
PUMPKIN_SEEDS(-1),
|
|
PURPLE_BUNDLE(-1, 1),
|
|
PURPLE_DYE(-1),
|
|
QUARTZ(-1),
|
|
RABBIT(-1),
|
|
RABBIT_FOOT(-1),
|
|
RABBIT_HIDE(-1),
|
|
RABBIT_SPAWN_EGG(-1),
|
|
RABBIT_STEW(-1, 1),
|
|
RAISER_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
RAVAGER_SPAWN_EGG(-1),
|
|
RAW_COPPER(-1),
|
|
RAW_GOLD(-1),
|
|
RAW_IRON(-1),
|
|
RECOVERY_COMPASS(-1),
|
|
RED_BUNDLE(-1, 1),
|
|
RED_DYE(-1),
|
|
REDSTONE(-1),
|
|
RIB_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
ROTTEN_FLESH(-1),
|
|
SADDLE(-1, 1),
|
|
SALMON(-1),
|
|
SALMON_BUCKET(-1, 1),
|
|
SALMON_SPAWN_EGG(-1),
|
|
SCRAPE_POTTERY_SHERD(-1),
|
|
SENTRY_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
SHAPER_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
SHEAF_POTTERY_SHERD(-1),
|
|
SHEARS(-1, 1, 238),
|
|
SHEEP_SPAWN_EGG(-1),
|
|
SHELTER_POTTERY_SHERD(-1),
|
|
SHIELD(-1, 1, 336),
|
|
SHULKER_SHELL(-1),
|
|
SHULKER_SPAWN_EGG(-1),
|
|
SILENCE_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
SILVERFISH_SPAWN_EGG(-1),
|
|
SKELETON_HORSE_SPAWN_EGG(-1),
|
|
SKELETON_SPAWN_EGG(-1),
|
|
SKULL_BANNER_PATTERN(-1, 1),
|
|
SKULL_POTTERY_SHERD(-1),
|
|
SLIME_BALL(-1),
|
|
SLIME_SPAWN_EGG(-1),
|
|
SNIFFER_SPAWN_EGG(-1),
|
|
SNORT_POTTERY_SHERD(-1),
|
|
SNOUT_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
SNOW_GOLEM_SPAWN_EGG(-1),
|
|
SNOWBALL(-1, 16),
|
|
SPECTRAL_ARROW(-1),
|
|
SPIDER_EYE(-1),
|
|
SPIDER_SPAWN_EGG(-1),
|
|
SPIRE_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
SPLASH_POTION(-1, 1),
|
|
SPRUCE_BOAT(-1, 1),
|
|
SPRUCE_CHEST_BOAT(-1, 1),
|
|
SPYGLASS(-1, 1),
|
|
SQUID_SPAWN_EGG(-1),
|
|
STICK(-1),
|
|
STONE_AXE(-1, 1, 131),
|
|
STONE_HOE(-1, 1, 131),
|
|
STONE_PICKAXE(-1, 1, 131),
|
|
STONE_SHOVEL(-1, 1, 131),
|
|
STONE_SWORD(-1, 1, 131),
|
|
STRAY_SPAWN_EGG(-1),
|
|
STRIDER_SPAWN_EGG(-1),
|
|
STRING(-1),
|
|
SUGAR(-1),
|
|
SUSPICIOUS_STEW(-1, 1),
|
|
SWEET_BERRIES(-1),
|
|
TADPOLE_BUCKET(-1, 1),
|
|
TADPOLE_SPAWN_EGG(-1),
|
|
TIDE_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
TIPPED_ARROW(-1),
|
|
TNT_MINECART(-1, 1),
|
|
TORCHFLOWER_SEEDS(-1),
|
|
TOTEM_OF_UNDYING(-1, 1),
|
|
TRADER_LLAMA_SPAWN_EGG(-1),
|
|
TRIAL_KEY(-1),
|
|
TRIDENT(-1, 1, 250),
|
|
TROPICAL_FISH(-1),
|
|
TROPICAL_FISH_BUCKET(-1, 1),
|
|
TROPICAL_FISH_SPAWN_EGG(-1),
|
|
TURTLE_HELMET(-1, 1, 275),
|
|
TURTLE_SCUTE(-1),
|
|
TURTLE_SPAWN_EGG(-1),
|
|
VEX_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
VEX_SPAWN_EGG(-1),
|
|
VILLAGER_SPAWN_EGG(-1),
|
|
VINDICATOR_SPAWN_EGG(-1),
|
|
WANDERING_TRADER_SPAWN_EGG(-1),
|
|
WARD_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
WARDEN_SPAWN_EGG(-1),
|
|
WARPED_FUNGUS_ON_A_STICK(-1, 1, 100),
|
|
WATER_BUCKET(-1, 1),
|
|
WAYFINDER_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
WHEAT_SEEDS(-1),
|
|
WHITE_BUNDLE(-1, 1),
|
|
WHITE_DYE(-1),
|
|
WILD_ARMOR_TRIM_SMITHING_TEMPLATE(-1),
|
|
WIND_CHARGE(-1),
|
|
WITCH_SPAWN_EGG(-1),
|
|
WITHER_SKELETON_SPAWN_EGG(-1),
|
|
WITHER_SPAWN_EGG(-1),
|
|
WOLF_ARMOR(-1, 1, 64),
|
|
WOLF_SPAWN_EGG(-1),
|
|
WOODEN_AXE(-1, 1, 59),
|
|
WOODEN_HOE(-1, 1, 59),
|
|
WOODEN_PICKAXE(-1, 1, 59),
|
|
WOODEN_SHOVEL(-1, 1, 59),
|
|
WOODEN_SWORD(-1, 1, 59),
|
|
WRITABLE_BOOK(-1, 1),
|
|
WRITTEN_BOOK(-1, 16),
|
|
YELLOW_BUNDLE(-1, 1),
|
|
YELLOW_DYE(-1),
|
|
ZOGLIN_SPAWN_EGG(-1),
|
|
ZOMBIE_HORSE_SPAWN_EGG(-1),
|
|
ZOMBIE_SPAWN_EGG(-1),
|
|
ZOMBIE_VILLAGER_SPAWN_EGG(-1),
|
|
ZOMBIFIED_PIGLIN_SPAWN_EGG(-1),
|
|
// Paper end - Generated/Items
|
|
// Paper start - Generated/Blocks
|
|
// @GeneratedFrom 1.21.3
|
|
ACACIA_BUTTON(-1, Switch.class),
|
|
ACACIA_DOOR(-1, Door.class),
|
|
ACACIA_FENCE(-1, Fence.class),
|
|
ACACIA_FENCE_GATE(-1, Gate.class),
|
|
ACACIA_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
ACACIA_LEAVES(-1, Leaves.class),
|
|
ACACIA_LOG(-1, Orientable.class),
|
|
ACACIA_PLANKS(-1),
|
|
ACACIA_PRESSURE_PLATE(-1, Powerable.class),
|
|
ACACIA_SAPLING(-1, Sapling.class),
|
|
ACACIA_SIGN(-1, 16, Sign.class),
|
|
ACACIA_SLAB(-1, Slab.class),
|
|
ACACIA_STAIRS(-1, Stairs.class),
|
|
ACACIA_TRAPDOOR(-1, TrapDoor.class),
|
|
ACACIA_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
ACACIA_WALL_SIGN(-1, 16, WallSign.class),
|
|
ACACIA_WOOD(-1, Orientable.class),
|
|
ACTIVATOR_RAIL(-1, RedstoneRail.class),
|
|
ALLIUM(-1),
|
|
AMETHYST_BLOCK(-1),
|
|
AMETHYST_CLUSTER(-1, AmethystCluster.class),
|
|
ANCIENT_DEBRIS(-1),
|
|
ANDESITE(-1),
|
|
ANDESITE_SLAB(-1, Slab.class),
|
|
ANDESITE_STAIRS(-1, Stairs.class),
|
|
ANDESITE_WALL(-1, Wall.class),
|
|
ANVIL(-1, Directional.class),
|
|
ATTACHED_MELON_STEM(-1, Directional.class),
|
|
ATTACHED_PUMPKIN_STEM(-1, Directional.class),
|
|
AZALEA(-1),
|
|
AZALEA_LEAVES(-1, Leaves.class),
|
|
AZURE_BLUET(-1),
|
|
BAMBOO(-1, Bamboo.class),
|
|
BAMBOO_BLOCK(-1, Orientable.class),
|
|
BAMBOO_BUTTON(-1, Switch.class),
|
|
BAMBOO_DOOR(-1, Door.class),
|
|
BAMBOO_FENCE(-1, Fence.class),
|
|
BAMBOO_FENCE_GATE(-1, Gate.class),
|
|
BAMBOO_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
BAMBOO_MOSAIC(-1),
|
|
BAMBOO_MOSAIC_SLAB(-1, Slab.class),
|
|
BAMBOO_MOSAIC_STAIRS(-1, Stairs.class),
|
|
BAMBOO_PLANKS(-1),
|
|
BAMBOO_PRESSURE_PLATE(-1, Powerable.class),
|
|
BAMBOO_SAPLING(-1),
|
|
BAMBOO_SIGN(-1, 16, Sign.class),
|
|
BAMBOO_SLAB(-1, Slab.class),
|
|
BAMBOO_STAIRS(-1, Stairs.class),
|
|
BAMBOO_TRAPDOOR(-1, TrapDoor.class),
|
|
BAMBOO_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
BAMBOO_WALL_SIGN(-1, 16, WallSign.class),
|
|
BARREL(-1, Barrel.class),
|
|
BARRIER(-1, Waterlogged.class),
|
|
BASALT(-1, Orientable.class),
|
|
BEACON(-1),
|
|
BEDROCK(-1),
|
|
BEE_NEST(-1, Beehive.class),
|
|
BEEHIVE(-1, Beehive.class),
|
|
BEETROOTS(-1, Ageable.class),
|
|
BELL(-1, Bell.class),
|
|
BIG_DRIPLEAF(-1, BigDripleaf.class),
|
|
BIG_DRIPLEAF_STEM(-1, Dripleaf.class),
|
|
BIRCH_BUTTON(-1, Switch.class),
|
|
BIRCH_DOOR(-1, Door.class),
|
|
BIRCH_FENCE(-1, Fence.class),
|
|
BIRCH_FENCE_GATE(-1, Gate.class),
|
|
BIRCH_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
BIRCH_LEAVES(-1, Leaves.class),
|
|
BIRCH_LOG(-1, Orientable.class),
|
|
BIRCH_PLANKS(-1),
|
|
BIRCH_PRESSURE_PLATE(-1, Powerable.class),
|
|
BIRCH_SAPLING(-1, Sapling.class),
|
|
BIRCH_SIGN(-1, 16, Sign.class),
|
|
BIRCH_SLAB(-1, Slab.class),
|
|
BIRCH_STAIRS(-1, Stairs.class),
|
|
BIRCH_TRAPDOOR(-1, TrapDoor.class),
|
|
BIRCH_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
BIRCH_WALL_SIGN(-1, 16, WallSign.class),
|
|
BIRCH_WOOD(-1, Orientable.class),
|
|
BLACK_BANNER(-1, 16, Rotatable.class),
|
|
BLACK_BED(-1, 1, Bed.class),
|
|
BLACK_CANDLE(-1, Candle.class),
|
|
BLACK_CANDLE_CAKE(-1, Lightable.class),
|
|
BLACK_CARPET(-1),
|
|
BLACK_CONCRETE(-1),
|
|
BLACK_CONCRETE_POWDER(-1),
|
|
BLACK_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
BLACK_SHULKER_BOX(-1, 1, Directional.class),
|
|
BLACK_STAINED_GLASS(-1),
|
|
BLACK_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
BLACK_TERRACOTTA(-1),
|
|
BLACK_WALL_BANNER(-1, Directional.class),
|
|
BLACK_WOOL(-1),
|
|
BLACKSTONE(-1),
|
|
BLACKSTONE_SLAB(-1, Slab.class),
|
|
BLACKSTONE_STAIRS(-1, Stairs.class),
|
|
BLACKSTONE_WALL(-1, Wall.class),
|
|
BLAST_FURNACE(-1, Furnace.class),
|
|
BLUE_BANNER(-1, 16, Rotatable.class),
|
|
BLUE_BED(-1, 1, Bed.class),
|
|
BLUE_CANDLE(-1, Candle.class),
|
|
BLUE_CANDLE_CAKE(-1, Lightable.class),
|
|
BLUE_CARPET(-1),
|
|
BLUE_CONCRETE(-1),
|
|
BLUE_CONCRETE_POWDER(-1),
|
|
BLUE_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
BLUE_ICE(-1),
|
|
BLUE_ORCHID(-1),
|
|
BLUE_SHULKER_BOX(-1, 1, Directional.class),
|
|
BLUE_STAINED_GLASS(-1),
|
|
BLUE_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
BLUE_TERRACOTTA(-1),
|
|
BLUE_WALL_BANNER(-1, Directional.class),
|
|
BLUE_WOOL(-1),
|
|
BONE_BLOCK(-1, Orientable.class),
|
|
BOOKSHELF(-1),
|
|
BRAIN_CORAL(-1, Waterlogged.class),
|
|
BRAIN_CORAL_BLOCK(-1),
|
|
BRAIN_CORAL_FAN(-1, Waterlogged.class),
|
|
BRAIN_CORAL_WALL_FAN(-1, CoralWallFan.class),
|
|
BREWING_STAND(-1, BrewingStand.class),
|
|
BRICK_SLAB(-1, Slab.class),
|
|
BRICK_STAIRS(-1, Stairs.class),
|
|
BRICK_WALL(-1, Wall.class),
|
|
BRICKS(-1),
|
|
BROWN_BANNER(-1, 16, Rotatable.class),
|
|
BROWN_BED(-1, 1, Bed.class),
|
|
BROWN_CANDLE(-1, Candle.class),
|
|
BROWN_CANDLE_CAKE(-1, Lightable.class),
|
|
BROWN_CARPET(-1),
|
|
BROWN_CONCRETE(-1),
|
|
BROWN_CONCRETE_POWDER(-1),
|
|
BROWN_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
BROWN_MUSHROOM(-1),
|
|
BROWN_MUSHROOM_BLOCK(-1, MultipleFacing.class),
|
|
BROWN_SHULKER_BOX(-1, 1, Directional.class),
|
|
BROWN_STAINED_GLASS(-1),
|
|
BROWN_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
BROWN_TERRACOTTA(-1),
|
|
BROWN_WALL_BANNER(-1, Directional.class),
|
|
BROWN_WOOL(-1),
|
|
BUBBLE_COLUMN(-1, BubbleColumn.class),
|
|
BUBBLE_CORAL(-1, Waterlogged.class),
|
|
BUBBLE_CORAL_BLOCK(-1),
|
|
BUBBLE_CORAL_FAN(-1, Waterlogged.class),
|
|
BUBBLE_CORAL_WALL_FAN(-1, CoralWallFan.class),
|
|
BUDDING_AMETHYST(-1),
|
|
CACTUS(-1, Ageable.class),
|
|
CAKE(-1, 1, Cake.class),
|
|
CALCITE(-1),
|
|
CALIBRATED_SCULK_SENSOR(-1, CalibratedSculkSensor.class),
|
|
CAMPFIRE(-1, Campfire.class),
|
|
CANDLE(-1, Candle.class),
|
|
CANDLE_CAKE(-1, Lightable.class),
|
|
CARROTS(-1, Ageable.class),
|
|
CARTOGRAPHY_TABLE(-1),
|
|
CARVED_PUMPKIN(-1, Directional.class),
|
|
CAULDRON(-1),
|
|
CAVE_AIR(-1),
|
|
CAVE_VINES(-1, CaveVines.class),
|
|
CAVE_VINES_PLANT(-1, CaveVinesPlant.class),
|
|
CHAIN(-1, Chain.class),
|
|
CHAIN_COMMAND_BLOCK(-1, CommandBlock.class),
|
|
CHERRY_BUTTON(-1, Switch.class),
|
|
CHERRY_DOOR(-1, Door.class),
|
|
CHERRY_FENCE(-1, Fence.class),
|
|
CHERRY_FENCE_GATE(-1, Gate.class),
|
|
CHERRY_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
CHERRY_LEAVES(-1, Leaves.class),
|
|
CHERRY_LOG(-1, Orientable.class),
|
|
CHERRY_PLANKS(-1),
|
|
CHERRY_PRESSURE_PLATE(-1, Powerable.class),
|
|
CHERRY_SAPLING(-1, Sapling.class),
|
|
CHERRY_SIGN(-1, 16, Sign.class),
|
|
CHERRY_SLAB(-1, Slab.class),
|
|
CHERRY_STAIRS(-1, Stairs.class),
|
|
CHERRY_TRAPDOOR(-1, TrapDoor.class),
|
|
CHERRY_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
CHERRY_WALL_SIGN(-1, 16, WallSign.class),
|
|
CHERRY_WOOD(-1, Orientable.class),
|
|
CHEST(-1, Chest.class),
|
|
CHIPPED_ANVIL(-1, Directional.class),
|
|
CHISELED_BOOKSHELF(-1, ChiseledBookshelf.class),
|
|
CHISELED_COPPER(-1),
|
|
CHISELED_DEEPSLATE(-1),
|
|
CHISELED_NETHER_BRICKS(-1),
|
|
CHISELED_POLISHED_BLACKSTONE(-1),
|
|
CHISELED_QUARTZ_BLOCK(-1),
|
|
CHISELED_RED_SANDSTONE(-1),
|
|
CHISELED_SANDSTONE(-1),
|
|
CHISELED_STONE_BRICKS(-1),
|
|
CHISELED_TUFF(-1),
|
|
CHISELED_TUFF_BRICKS(-1),
|
|
CHORUS_FLOWER(-1, Ageable.class),
|
|
CHORUS_PLANT(-1, MultipleFacing.class),
|
|
CLAY(-1),
|
|
COAL_BLOCK(-1),
|
|
COAL_ORE(-1),
|
|
COARSE_DIRT(-1),
|
|
COBBLED_DEEPSLATE(-1),
|
|
COBBLED_DEEPSLATE_SLAB(-1, Slab.class),
|
|
COBBLED_DEEPSLATE_STAIRS(-1, Stairs.class),
|
|
COBBLED_DEEPSLATE_WALL(-1, Wall.class),
|
|
COBBLESTONE(-1),
|
|
COBBLESTONE_SLAB(-1, Slab.class),
|
|
COBBLESTONE_STAIRS(-1, Stairs.class),
|
|
COBBLESTONE_WALL(-1, Wall.class),
|
|
COBWEB(-1),
|
|
COCOA(-1, Cocoa.class),
|
|
COMMAND_BLOCK(-1, CommandBlock.class),
|
|
COMPARATOR(-1, Comparator.class),
|
|
COMPOSTER(-1, Levelled.class),
|
|
CONDUIT(-1, Waterlogged.class),
|
|
COPPER_BLOCK(-1),
|
|
COPPER_BULB(-1, CopperBulb.class),
|
|
COPPER_DOOR(-1, Door.class),
|
|
COPPER_GRATE(-1, Waterlogged.class),
|
|
COPPER_ORE(-1),
|
|
COPPER_TRAPDOOR(-1, TrapDoor.class),
|
|
CORNFLOWER(-1),
|
|
CRACKED_DEEPSLATE_BRICKS(-1),
|
|
CRACKED_DEEPSLATE_TILES(-1),
|
|
CRACKED_NETHER_BRICKS(-1),
|
|
CRACKED_POLISHED_BLACKSTONE_BRICKS(-1),
|
|
CRACKED_STONE_BRICKS(-1),
|
|
CRAFTER(-1, Crafter.class),
|
|
CRAFTING_TABLE(-1),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
CREAKING_HEART(-1, CreakingHeart.class),
|
|
CREEPER_HEAD(-1, Skull.class),
|
|
CREEPER_WALL_HEAD(-1, WallSkull.class),
|
|
CRIMSON_BUTTON(-1, Switch.class),
|
|
CRIMSON_DOOR(-1, Door.class),
|
|
CRIMSON_FENCE(-1, Fence.class),
|
|
CRIMSON_FENCE_GATE(-1, Gate.class),
|
|
CRIMSON_FUNGUS(-1),
|
|
CRIMSON_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
CRIMSON_HYPHAE(-1, Orientable.class),
|
|
CRIMSON_NYLIUM(-1),
|
|
CRIMSON_PLANKS(-1),
|
|
CRIMSON_PRESSURE_PLATE(-1, Powerable.class),
|
|
CRIMSON_ROOTS(-1),
|
|
CRIMSON_SIGN(-1, 16, Sign.class),
|
|
CRIMSON_SLAB(-1, Slab.class),
|
|
CRIMSON_STAIRS(-1, Stairs.class),
|
|
CRIMSON_STEM(-1, Orientable.class),
|
|
CRIMSON_TRAPDOOR(-1, TrapDoor.class),
|
|
CRIMSON_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
CRIMSON_WALL_SIGN(-1, 16, WallSign.class),
|
|
CRYING_OBSIDIAN(-1),
|
|
CUT_COPPER(-1),
|
|
CUT_COPPER_SLAB(-1, Slab.class),
|
|
CUT_COPPER_STAIRS(-1, Stairs.class),
|
|
CUT_RED_SANDSTONE(-1),
|
|
CUT_RED_SANDSTONE_SLAB(-1, Slab.class),
|
|
CUT_SANDSTONE(-1),
|
|
CUT_SANDSTONE_SLAB(-1, Slab.class),
|
|
CYAN_BANNER(-1, 16, Rotatable.class),
|
|
CYAN_BED(-1, 1, Bed.class),
|
|
CYAN_CANDLE(-1, Candle.class),
|
|
CYAN_CANDLE_CAKE(-1, Lightable.class),
|
|
CYAN_CARPET(-1),
|
|
CYAN_CONCRETE(-1),
|
|
CYAN_CONCRETE_POWDER(-1),
|
|
CYAN_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
CYAN_SHULKER_BOX(-1, 1, Directional.class),
|
|
CYAN_STAINED_GLASS(-1),
|
|
CYAN_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
CYAN_TERRACOTTA(-1),
|
|
CYAN_WALL_BANNER(-1, Directional.class),
|
|
CYAN_WOOL(-1),
|
|
DAMAGED_ANVIL(-1, Directional.class),
|
|
DANDELION(-1),
|
|
DARK_OAK_BUTTON(-1, Switch.class),
|
|
DARK_OAK_DOOR(-1, Door.class),
|
|
DARK_OAK_FENCE(-1, Fence.class),
|
|
DARK_OAK_FENCE_GATE(-1, Gate.class),
|
|
DARK_OAK_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
DARK_OAK_LEAVES(-1, Leaves.class),
|
|
DARK_OAK_LOG(-1, Orientable.class),
|
|
DARK_OAK_PLANKS(-1),
|
|
DARK_OAK_PRESSURE_PLATE(-1, Powerable.class),
|
|
DARK_OAK_SAPLING(-1, Sapling.class),
|
|
DARK_OAK_SIGN(-1, 16, Sign.class),
|
|
DARK_OAK_SLAB(-1, Slab.class),
|
|
DARK_OAK_STAIRS(-1, Stairs.class),
|
|
DARK_OAK_TRAPDOOR(-1, TrapDoor.class),
|
|
DARK_OAK_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
DARK_OAK_WALL_SIGN(-1, 16, WallSign.class),
|
|
DARK_OAK_WOOD(-1, Orientable.class),
|
|
DARK_PRISMARINE(-1),
|
|
DARK_PRISMARINE_SLAB(-1, Slab.class),
|
|
DARK_PRISMARINE_STAIRS(-1, Stairs.class),
|
|
DAYLIGHT_DETECTOR(-1, DaylightDetector.class),
|
|
DEAD_BRAIN_CORAL(-1, Waterlogged.class),
|
|
DEAD_BRAIN_CORAL_BLOCK(-1),
|
|
DEAD_BRAIN_CORAL_FAN(-1, Waterlogged.class),
|
|
DEAD_BRAIN_CORAL_WALL_FAN(-1, CoralWallFan.class),
|
|
DEAD_BUBBLE_CORAL(-1, Waterlogged.class),
|
|
DEAD_BUBBLE_CORAL_BLOCK(-1),
|
|
DEAD_BUBBLE_CORAL_FAN(-1, Waterlogged.class),
|
|
DEAD_BUBBLE_CORAL_WALL_FAN(-1, CoralWallFan.class),
|
|
DEAD_BUSH(-1),
|
|
DEAD_FIRE_CORAL(-1, Waterlogged.class),
|
|
DEAD_FIRE_CORAL_BLOCK(-1),
|
|
DEAD_FIRE_CORAL_FAN(-1, Waterlogged.class),
|
|
DEAD_FIRE_CORAL_WALL_FAN(-1, CoralWallFan.class),
|
|
DEAD_HORN_CORAL(-1, Waterlogged.class),
|
|
DEAD_HORN_CORAL_BLOCK(-1),
|
|
DEAD_HORN_CORAL_FAN(-1, Waterlogged.class),
|
|
DEAD_HORN_CORAL_WALL_FAN(-1, CoralWallFan.class),
|
|
DEAD_TUBE_CORAL(-1, Waterlogged.class),
|
|
DEAD_TUBE_CORAL_BLOCK(-1),
|
|
DEAD_TUBE_CORAL_FAN(-1, Waterlogged.class),
|
|
DEAD_TUBE_CORAL_WALL_FAN(-1, CoralWallFan.class),
|
|
DECORATED_POT(-1, DecoratedPot.class),
|
|
DEEPSLATE(-1, Orientable.class),
|
|
DEEPSLATE_BRICK_SLAB(-1, Slab.class),
|
|
DEEPSLATE_BRICK_STAIRS(-1, Stairs.class),
|
|
DEEPSLATE_BRICK_WALL(-1, Wall.class),
|
|
DEEPSLATE_BRICKS(-1),
|
|
DEEPSLATE_COAL_ORE(-1),
|
|
DEEPSLATE_COPPER_ORE(-1),
|
|
DEEPSLATE_DIAMOND_ORE(-1),
|
|
DEEPSLATE_EMERALD_ORE(-1),
|
|
DEEPSLATE_GOLD_ORE(-1),
|
|
DEEPSLATE_IRON_ORE(-1),
|
|
DEEPSLATE_LAPIS_ORE(-1),
|
|
DEEPSLATE_REDSTONE_ORE(-1, Lightable.class),
|
|
DEEPSLATE_TILE_SLAB(-1, Slab.class),
|
|
DEEPSLATE_TILE_STAIRS(-1, Stairs.class),
|
|
DEEPSLATE_TILE_WALL(-1, Wall.class),
|
|
DEEPSLATE_TILES(-1),
|
|
DETECTOR_RAIL(-1, RedstoneRail.class),
|
|
DIAMOND_BLOCK(-1),
|
|
DIAMOND_ORE(-1),
|
|
DIORITE(-1),
|
|
DIORITE_SLAB(-1, Slab.class),
|
|
DIORITE_STAIRS(-1, Stairs.class),
|
|
DIORITE_WALL(-1, Wall.class),
|
|
DIRT(-1),
|
|
DIRT_PATH(-1),
|
|
DISPENSER(-1, Dispenser.class),
|
|
DRAGON_EGG(-1),
|
|
DRAGON_HEAD(-1, Skull.class),
|
|
DRAGON_WALL_HEAD(-1, WallSkull.class),
|
|
DRIED_KELP_BLOCK(-1),
|
|
DRIPSTONE_BLOCK(-1),
|
|
DROPPER(-1, Dispenser.class),
|
|
EMERALD_BLOCK(-1),
|
|
EMERALD_ORE(-1),
|
|
ENCHANTING_TABLE(-1),
|
|
END_GATEWAY(-1),
|
|
END_PORTAL(-1),
|
|
END_PORTAL_FRAME(-1, EndPortalFrame.class),
|
|
END_ROD(-1, Directional.class),
|
|
END_STONE(-1),
|
|
END_STONE_BRICK_SLAB(-1, Slab.class),
|
|
END_STONE_BRICK_STAIRS(-1, Stairs.class),
|
|
END_STONE_BRICK_WALL(-1, Wall.class),
|
|
END_STONE_BRICKS(-1),
|
|
ENDER_CHEST(-1, EnderChest.class),
|
|
EXPOSED_CHISELED_COPPER(-1),
|
|
EXPOSED_COPPER(-1),
|
|
EXPOSED_COPPER_BULB(-1, CopperBulb.class),
|
|
EXPOSED_COPPER_DOOR(-1, Door.class),
|
|
EXPOSED_COPPER_GRATE(-1, Waterlogged.class),
|
|
EXPOSED_COPPER_TRAPDOOR(-1, TrapDoor.class),
|
|
EXPOSED_CUT_COPPER(-1),
|
|
EXPOSED_CUT_COPPER_SLAB(-1, Slab.class),
|
|
EXPOSED_CUT_COPPER_STAIRS(-1, Stairs.class),
|
|
FARMLAND(-1, Farmland.class),
|
|
FERN(-1),
|
|
FIRE(-1, Fire.class),
|
|
FIRE_CORAL(-1, Waterlogged.class),
|
|
FIRE_CORAL_BLOCK(-1),
|
|
FIRE_CORAL_FAN(-1, Waterlogged.class),
|
|
FIRE_CORAL_WALL_FAN(-1, CoralWallFan.class),
|
|
FLETCHING_TABLE(-1),
|
|
FLOWER_POT(-1),
|
|
FLOWERING_AZALEA(-1),
|
|
FLOWERING_AZALEA_LEAVES(-1, Leaves.class),
|
|
FROGSPAWN(-1),
|
|
FROSTED_ICE(-1, Ageable.class),
|
|
FURNACE(-1, Furnace.class),
|
|
GILDED_BLACKSTONE(-1),
|
|
GLASS(-1),
|
|
GLASS_PANE(-1, Fence.class),
|
|
GLOW_LICHEN(-1, GlowLichen.class),
|
|
GLOWSTONE(-1),
|
|
GOLD_BLOCK(-1),
|
|
GOLD_ORE(-1),
|
|
GRANITE(-1),
|
|
GRANITE_SLAB(-1, Slab.class),
|
|
GRANITE_STAIRS(-1, Stairs.class),
|
|
GRANITE_WALL(-1, Wall.class),
|
|
GRASS_BLOCK(-1, Snowable.class),
|
|
GRAVEL(-1),
|
|
GRAY_BANNER(-1, 16, Rotatable.class),
|
|
GRAY_BED(-1, 1, Bed.class),
|
|
GRAY_CANDLE(-1, Candle.class),
|
|
GRAY_CANDLE_CAKE(-1, Lightable.class),
|
|
GRAY_CARPET(-1),
|
|
GRAY_CONCRETE(-1),
|
|
GRAY_CONCRETE_POWDER(-1),
|
|
GRAY_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
GRAY_SHULKER_BOX(-1, 1, Directional.class),
|
|
GRAY_STAINED_GLASS(-1),
|
|
GRAY_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
GRAY_TERRACOTTA(-1),
|
|
GRAY_WALL_BANNER(-1, Directional.class),
|
|
GRAY_WOOL(-1),
|
|
GREEN_BANNER(-1, 16, Rotatable.class),
|
|
GREEN_BED(-1, 1, Bed.class),
|
|
GREEN_CANDLE(-1, Candle.class),
|
|
GREEN_CANDLE_CAKE(-1, Lightable.class),
|
|
GREEN_CARPET(-1),
|
|
GREEN_CONCRETE(-1),
|
|
GREEN_CONCRETE_POWDER(-1),
|
|
GREEN_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
GREEN_SHULKER_BOX(-1, 1, Directional.class),
|
|
GREEN_STAINED_GLASS(-1),
|
|
GREEN_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
GREEN_TERRACOTTA(-1),
|
|
GREEN_WALL_BANNER(-1, Directional.class),
|
|
GREEN_WOOL(-1),
|
|
GRINDSTONE(-1, Grindstone.class),
|
|
HANGING_ROOTS(-1, Waterlogged.class),
|
|
HAY_BLOCK(-1, Orientable.class),
|
|
HEAVY_CORE(-1, Waterlogged.class),
|
|
HEAVY_WEIGHTED_PRESSURE_PLATE(-1, AnaloguePowerable.class),
|
|
HONEY_BLOCK(-1),
|
|
HONEYCOMB_BLOCK(-1),
|
|
HOPPER(-1, Hopper.class),
|
|
HORN_CORAL(-1, Waterlogged.class),
|
|
HORN_CORAL_BLOCK(-1),
|
|
HORN_CORAL_FAN(-1, Waterlogged.class),
|
|
HORN_CORAL_WALL_FAN(-1, CoralWallFan.class),
|
|
ICE(-1),
|
|
INFESTED_CHISELED_STONE_BRICKS(-1),
|
|
INFESTED_COBBLESTONE(-1),
|
|
INFESTED_CRACKED_STONE_BRICKS(-1),
|
|
INFESTED_DEEPSLATE(-1, Orientable.class),
|
|
INFESTED_MOSSY_STONE_BRICKS(-1),
|
|
INFESTED_STONE(-1),
|
|
INFESTED_STONE_BRICKS(-1),
|
|
IRON_BARS(-1, Fence.class),
|
|
IRON_BLOCK(-1),
|
|
IRON_DOOR(-1, Door.class),
|
|
IRON_ORE(-1),
|
|
IRON_TRAPDOOR(-1, TrapDoor.class),
|
|
JACK_O_LANTERN(-1, Directional.class),
|
|
JIGSAW(-1, Jigsaw.class),
|
|
JUKEBOX(-1, Jukebox.class),
|
|
JUNGLE_BUTTON(-1, Switch.class),
|
|
JUNGLE_DOOR(-1, Door.class),
|
|
JUNGLE_FENCE(-1, Fence.class),
|
|
JUNGLE_FENCE_GATE(-1, Gate.class),
|
|
JUNGLE_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
JUNGLE_LEAVES(-1, Leaves.class),
|
|
JUNGLE_LOG(-1, Orientable.class),
|
|
JUNGLE_PLANKS(-1),
|
|
JUNGLE_PRESSURE_PLATE(-1, Powerable.class),
|
|
JUNGLE_SAPLING(-1, Sapling.class),
|
|
JUNGLE_SIGN(-1, 16, Sign.class),
|
|
JUNGLE_SLAB(-1, Slab.class),
|
|
JUNGLE_STAIRS(-1, Stairs.class),
|
|
JUNGLE_TRAPDOOR(-1, TrapDoor.class),
|
|
JUNGLE_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
JUNGLE_WALL_SIGN(-1, 16, WallSign.class),
|
|
JUNGLE_WOOD(-1, Orientable.class),
|
|
KELP(-1, Ageable.class),
|
|
KELP_PLANT(-1),
|
|
LADDER(-1, Ladder.class),
|
|
LANTERN(-1, Lantern.class),
|
|
LAPIS_BLOCK(-1),
|
|
LAPIS_ORE(-1),
|
|
LARGE_AMETHYST_BUD(-1, AmethystCluster.class),
|
|
LARGE_FERN(-1, Bisected.class),
|
|
LAVA(-1, Levelled.class),
|
|
LAVA_CAULDRON(-1),
|
|
LECTERN(-1, Lectern.class),
|
|
LEVER(-1, Switch.class),
|
|
LIGHT(-1, Light.class),
|
|
LIGHT_BLUE_BANNER(-1, 16, Rotatable.class),
|
|
LIGHT_BLUE_BED(-1, 1, Bed.class),
|
|
LIGHT_BLUE_CANDLE(-1, Candle.class),
|
|
LIGHT_BLUE_CANDLE_CAKE(-1, Lightable.class),
|
|
LIGHT_BLUE_CARPET(-1),
|
|
LIGHT_BLUE_CONCRETE(-1),
|
|
LIGHT_BLUE_CONCRETE_POWDER(-1),
|
|
LIGHT_BLUE_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
LIGHT_BLUE_SHULKER_BOX(-1, 1, Directional.class),
|
|
LIGHT_BLUE_STAINED_GLASS(-1),
|
|
LIGHT_BLUE_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
LIGHT_BLUE_TERRACOTTA(-1),
|
|
LIGHT_BLUE_WALL_BANNER(-1, Directional.class),
|
|
LIGHT_BLUE_WOOL(-1),
|
|
LIGHT_GRAY_BANNER(-1, 16, Rotatable.class),
|
|
LIGHT_GRAY_BED(-1, 1, Bed.class),
|
|
LIGHT_GRAY_CANDLE(-1, Candle.class),
|
|
LIGHT_GRAY_CANDLE_CAKE(-1, Lightable.class),
|
|
LIGHT_GRAY_CARPET(-1),
|
|
LIGHT_GRAY_CONCRETE(-1),
|
|
LIGHT_GRAY_CONCRETE_POWDER(-1),
|
|
LIGHT_GRAY_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
LIGHT_GRAY_SHULKER_BOX(-1, 1, Directional.class),
|
|
LIGHT_GRAY_STAINED_GLASS(-1),
|
|
LIGHT_GRAY_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
LIGHT_GRAY_TERRACOTTA(-1),
|
|
LIGHT_GRAY_WALL_BANNER(-1, Directional.class),
|
|
LIGHT_GRAY_WOOL(-1),
|
|
LIGHT_WEIGHTED_PRESSURE_PLATE(-1, AnaloguePowerable.class),
|
|
LIGHTNING_ROD(-1, LightningRod.class),
|
|
LILAC(-1, Bisected.class),
|
|
LILY_OF_THE_VALLEY(-1),
|
|
LILY_PAD(-1),
|
|
LIME_BANNER(-1, 16, Rotatable.class),
|
|
LIME_BED(-1, 1, Bed.class),
|
|
LIME_CANDLE(-1, Candle.class),
|
|
LIME_CANDLE_CAKE(-1, Lightable.class),
|
|
LIME_CARPET(-1),
|
|
LIME_CONCRETE(-1),
|
|
LIME_CONCRETE_POWDER(-1),
|
|
LIME_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
LIME_SHULKER_BOX(-1, 1, Directional.class),
|
|
LIME_STAINED_GLASS(-1),
|
|
LIME_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
LIME_TERRACOTTA(-1),
|
|
LIME_WALL_BANNER(-1, Directional.class),
|
|
LIME_WOOL(-1),
|
|
LODESTONE(-1),
|
|
LOOM(-1, Directional.class),
|
|
MAGENTA_BANNER(-1, 16, Rotatable.class),
|
|
MAGENTA_BED(-1, 1, Bed.class),
|
|
MAGENTA_CANDLE(-1, Candle.class),
|
|
MAGENTA_CANDLE_CAKE(-1, Lightable.class),
|
|
MAGENTA_CARPET(-1),
|
|
MAGENTA_CONCRETE(-1),
|
|
MAGENTA_CONCRETE_POWDER(-1),
|
|
MAGENTA_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
MAGENTA_SHULKER_BOX(-1, 1, Directional.class),
|
|
MAGENTA_STAINED_GLASS(-1),
|
|
MAGENTA_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
MAGENTA_TERRACOTTA(-1),
|
|
MAGENTA_WALL_BANNER(-1, Directional.class),
|
|
MAGENTA_WOOL(-1),
|
|
MAGMA_BLOCK(-1),
|
|
MANGROVE_BUTTON(-1, Switch.class),
|
|
MANGROVE_DOOR(-1, Door.class),
|
|
MANGROVE_FENCE(-1, Fence.class),
|
|
MANGROVE_FENCE_GATE(-1, Gate.class),
|
|
MANGROVE_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
MANGROVE_LEAVES(-1, Leaves.class),
|
|
MANGROVE_LOG(-1, Orientable.class),
|
|
MANGROVE_PLANKS(-1),
|
|
MANGROVE_PRESSURE_PLATE(-1, Powerable.class),
|
|
MANGROVE_PROPAGULE(-1, MangrovePropagule.class),
|
|
MANGROVE_ROOTS(-1, Waterlogged.class),
|
|
MANGROVE_SIGN(-1, 16, Sign.class),
|
|
MANGROVE_SLAB(-1, Slab.class),
|
|
MANGROVE_STAIRS(-1, Stairs.class),
|
|
MANGROVE_TRAPDOOR(-1, TrapDoor.class),
|
|
MANGROVE_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
MANGROVE_WALL_SIGN(-1, 16, WallSign.class),
|
|
MANGROVE_WOOD(-1, Orientable.class),
|
|
MEDIUM_AMETHYST_BUD(-1, AmethystCluster.class),
|
|
MELON(-1),
|
|
MELON_STEM(-1, Ageable.class),
|
|
MOSS_BLOCK(-1),
|
|
MOSS_CARPET(-1),
|
|
MOSSY_COBBLESTONE(-1),
|
|
MOSSY_COBBLESTONE_SLAB(-1, Slab.class),
|
|
MOSSY_COBBLESTONE_STAIRS(-1, Stairs.class),
|
|
MOSSY_COBBLESTONE_WALL(-1, Wall.class),
|
|
MOSSY_STONE_BRICK_SLAB(-1, Slab.class),
|
|
MOSSY_STONE_BRICK_STAIRS(-1, Stairs.class),
|
|
MOSSY_STONE_BRICK_WALL(-1, Wall.class),
|
|
MOSSY_STONE_BRICKS(-1),
|
|
MOVING_PISTON(-1, TechnicalPiston.class),
|
|
MUD(-1),
|
|
MUD_BRICK_SLAB(-1, Slab.class),
|
|
MUD_BRICK_STAIRS(-1, Stairs.class),
|
|
MUD_BRICK_WALL(-1, Wall.class),
|
|
MUD_BRICKS(-1),
|
|
MUDDY_MANGROVE_ROOTS(-1, Orientable.class),
|
|
MUSHROOM_STEM(-1, MultipleFacing.class),
|
|
MYCELIUM(-1, Snowable.class),
|
|
NETHER_BRICK_FENCE(-1, Fence.class),
|
|
NETHER_BRICK_SLAB(-1, Slab.class),
|
|
NETHER_BRICK_STAIRS(-1, Stairs.class),
|
|
NETHER_BRICK_WALL(-1, Wall.class),
|
|
NETHER_BRICKS(-1),
|
|
NETHER_GOLD_ORE(-1),
|
|
NETHER_PORTAL(-1, Orientable.class),
|
|
NETHER_QUARTZ_ORE(-1),
|
|
NETHER_SPROUTS(-1),
|
|
NETHER_WART(-1, Ageable.class),
|
|
NETHER_WART_BLOCK(-1),
|
|
NETHERITE_BLOCK(-1),
|
|
NETHERRACK(-1),
|
|
NOTE_BLOCK(-1, NoteBlock.class),
|
|
OAK_BUTTON(-1, Switch.class),
|
|
OAK_DOOR(-1, Door.class),
|
|
OAK_FENCE(-1, Fence.class),
|
|
OAK_FENCE_GATE(-1, Gate.class),
|
|
OAK_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
OAK_LEAVES(-1, Leaves.class),
|
|
OAK_LOG(-1, Orientable.class),
|
|
OAK_PLANKS(-1),
|
|
OAK_PRESSURE_PLATE(-1, Powerable.class),
|
|
OAK_SAPLING(-1, Sapling.class),
|
|
OAK_SIGN(-1, 16, Sign.class),
|
|
OAK_SLAB(-1, Slab.class),
|
|
OAK_STAIRS(-1, Stairs.class),
|
|
OAK_TRAPDOOR(-1, TrapDoor.class),
|
|
OAK_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
OAK_WALL_SIGN(-1, 16, WallSign.class),
|
|
OAK_WOOD(-1, Orientable.class),
|
|
OBSERVER(-1, Observer.class),
|
|
OBSIDIAN(-1),
|
|
OCHRE_FROGLIGHT(-1, Orientable.class),
|
|
ORANGE_BANNER(-1, 16, Rotatable.class),
|
|
ORANGE_BED(-1, 1, Bed.class),
|
|
ORANGE_CANDLE(-1, Candle.class),
|
|
ORANGE_CANDLE_CAKE(-1, Lightable.class),
|
|
ORANGE_CARPET(-1),
|
|
ORANGE_CONCRETE(-1),
|
|
ORANGE_CONCRETE_POWDER(-1),
|
|
ORANGE_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
ORANGE_SHULKER_BOX(-1, 1, Directional.class),
|
|
ORANGE_STAINED_GLASS(-1),
|
|
ORANGE_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
ORANGE_TERRACOTTA(-1),
|
|
ORANGE_TULIP(-1),
|
|
ORANGE_WALL_BANNER(-1, Directional.class),
|
|
ORANGE_WOOL(-1),
|
|
OXEYE_DAISY(-1),
|
|
OXIDIZED_CHISELED_COPPER(-1),
|
|
OXIDIZED_COPPER(-1),
|
|
OXIDIZED_COPPER_BULB(-1, CopperBulb.class),
|
|
OXIDIZED_COPPER_DOOR(-1, Door.class),
|
|
OXIDIZED_COPPER_GRATE(-1, Waterlogged.class),
|
|
OXIDIZED_COPPER_TRAPDOOR(-1, TrapDoor.class),
|
|
OXIDIZED_CUT_COPPER(-1),
|
|
OXIDIZED_CUT_COPPER_SLAB(-1, Slab.class),
|
|
OXIDIZED_CUT_COPPER_STAIRS(-1, Stairs.class),
|
|
PACKED_ICE(-1),
|
|
PACKED_MUD(-1),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_HANGING_MOSS(-1, HangingMoss.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_MOSS_BLOCK(-1),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_MOSS_CARPET(-1, MossyCarpet.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_BUTTON(-1, Switch.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_DOOR(-1, Door.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_FENCE(-1, Fence.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_FENCE_GATE(-1, Gate.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_LEAVES(-1, Leaves.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_LOG(-1, Orientable.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_PLANKS(-1),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_PRESSURE_PLATE(-1, Powerable.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_SAPLING(-1, Sapling.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_SIGN(-1, 16, Sign.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_SLAB(-1, Slab.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_STAIRS(-1, Stairs.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_TRAPDOOR(-1, TrapDoor.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_WALL_SIGN(-1, 16, WallSign.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
PALE_OAK_WOOD(-1, Orientable.class),
|
|
PEARLESCENT_FROGLIGHT(-1, Orientable.class),
|
|
PEONY(-1, Bisected.class),
|
|
PETRIFIED_OAK_SLAB(-1, Slab.class),
|
|
PIGLIN_HEAD(-1, Skull.class),
|
|
PIGLIN_WALL_HEAD(-1, WallSkull.class),
|
|
PINK_BANNER(-1, 16, Rotatable.class),
|
|
PINK_BED(-1, 1, Bed.class),
|
|
PINK_CANDLE(-1, Candle.class),
|
|
PINK_CANDLE_CAKE(-1, Lightable.class),
|
|
PINK_CARPET(-1),
|
|
PINK_CONCRETE(-1),
|
|
PINK_CONCRETE_POWDER(-1),
|
|
PINK_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
PINK_PETALS(-1, PinkPetals.class),
|
|
PINK_SHULKER_BOX(-1, 1, Directional.class),
|
|
PINK_STAINED_GLASS(-1),
|
|
PINK_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
PINK_TERRACOTTA(-1),
|
|
PINK_TULIP(-1),
|
|
PINK_WALL_BANNER(-1, Directional.class),
|
|
PINK_WOOL(-1),
|
|
PISTON(-1, Piston.class),
|
|
PISTON_HEAD(-1, PistonHead.class),
|
|
PITCHER_CROP(-1, PitcherCrop.class),
|
|
PITCHER_PLANT(-1, Bisected.class),
|
|
PLAYER_HEAD(-1, Skull.class),
|
|
PLAYER_WALL_HEAD(-1, WallSkull.class),
|
|
PODZOL(-1, Snowable.class),
|
|
POINTED_DRIPSTONE(-1, PointedDripstone.class),
|
|
POLISHED_ANDESITE(-1),
|
|
POLISHED_ANDESITE_SLAB(-1, Slab.class),
|
|
POLISHED_ANDESITE_STAIRS(-1, Stairs.class),
|
|
POLISHED_BASALT(-1, Orientable.class),
|
|
POLISHED_BLACKSTONE(-1),
|
|
POLISHED_BLACKSTONE_BRICK_SLAB(-1, Slab.class),
|
|
POLISHED_BLACKSTONE_BRICK_STAIRS(-1, Stairs.class),
|
|
POLISHED_BLACKSTONE_BRICK_WALL(-1, Wall.class),
|
|
POLISHED_BLACKSTONE_BRICKS(-1),
|
|
POLISHED_BLACKSTONE_BUTTON(-1, Switch.class),
|
|
POLISHED_BLACKSTONE_PRESSURE_PLATE(-1, Powerable.class),
|
|
POLISHED_BLACKSTONE_SLAB(-1, Slab.class),
|
|
POLISHED_BLACKSTONE_STAIRS(-1, Stairs.class),
|
|
POLISHED_BLACKSTONE_WALL(-1, Wall.class),
|
|
POLISHED_DEEPSLATE(-1),
|
|
POLISHED_DEEPSLATE_SLAB(-1, Slab.class),
|
|
POLISHED_DEEPSLATE_STAIRS(-1, Stairs.class),
|
|
POLISHED_DEEPSLATE_WALL(-1, Wall.class),
|
|
POLISHED_DIORITE(-1),
|
|
POLISHED_DIORITE_SLAB(-1, Slab.class),
|
|
POLISHED_DIORITE_STAIRS(-1, Stairs.class),
|
|
POLISHED_GRANITE(-1),
|
|
POLISHED_GRANITE_SLAB(-1, Slab.class),
|
|
POLISHED_GRANITE_STAIRS(-1, Stairs.class),
|
|
POLISHED_TUFF(-1),
|
|
POLISHED_TUFF_SLAB(-1, Slab.class),
|
|
POLISHED_TUFF_STAIRS(-1, Stairs.class),
|
|
POLISHED_TUFF_WALL(-1, Wall.class),
|
|
POPPY(-1),
|
|
POTATOES(-1, Ageable.class),
|
|
POTTED_ACACIA_SAPLING(-1),
|
|
POTTED_ALLIUM(-1),
|
|
POTTED_AZALEA_BUSH(-1),
|
|
POTTED_AZURE_BLUET(-1),
|
|
POTTED_BAMBOO(-1),
|
|
POTTED_BIRCH_SAPLING(-1),
|
|
POTTED_BLUE_ORCHID(-1),
|
|
POTTED_BROWN_MUSHROOM(-1),
|
|
POTTED_CACTUS(-1),
|
|
POTTED_CHERRY_SAPLING(-1),
|
|
POTTED_CORNFLOWER(-1),
|
|
POTTED_CRIMSON_FUNGUS(-1),
|
|
POTTED_CRIMSON_ROOTS(-1),
|
|
POTTED_DANDELION(-1),
|
|
POTTED_DARK_OAK_SAPLING(-1),
|
|
POTTED_DEAD_BUSH(-1),
|
|
POTTED_FERN(-1),
|
|
POTTED_FLOWERING_AZALEA_BUSH(-1),
|
|
POTTED_JUNGLE_SAPLING(-1),
|
|
POTTED_LILY_OF_THE_VALLEY(-1),
|
|
POTTED_MANGROVE_PROPAGULE(-1),
|
|
POTTED_OAK_SAPLING(-1),
|
|
POTTED_ORANGE_TULIP(-1),
|
|
POTTED_OXEYE_DAISY(-1),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
POTTED_PALE_OAK_SAPLING(-1),
|
|
POTTED_PINK_TULIP(-1),
|
|
POTTED_POPPY(-1),
|
|
POTTED_RED_MUSHROOM(-1),
|
|
POTTED_RED_TULIP(-1),
|
|
POTTED_SPRUCE_SAPLING(-1),
|
|
POTTED_TORCHFLOWER(-1),
|
|
POTTED_WARPED_FUNGUS(-1),
|
|
POTTED_WARPED_ROOTS(-1),
|
|
POTTED_WHITE_TULIP(-1),
|
|
POTTED_WITHER_ROSE(-1),
|
|
POWDER_SNOW(-1),
|
|
POWDER_SNOW_CAULDRON(-1, Levelled.class),
|
|
POWERED_RAIL(-1, RedstoneRail.class),
|
|
PRISMARINE(-1),
|
|
PRISMARINE_BRICK_SLAB(-1, Slab.class),
|
|
PRISMARINE_BRICK_STAIRS(-1, Stairs.class),
|
|
PRISMARINE_BRICKS(-1),
|
|
PRISMARINE_SLAB(-1, Slab.class),
|
|
PRISMARINE_STAIRS(-1, Stairs.class),
|
|
PRISMARINE_WALL(-1, Wall.class),
|
|
PUMPKIN(-1),
|
|
PUMPKIN_STEM(-1, Ageable.class),
|
|
PURPLE_BANNER(-1, 16, Rotatable.class),
|
|
PURPLE_BED(-1, 1, Bed.class),
|
|
PURPLE_CANDLE(-1, Candle.class),
|
|
PURPLE_CANDLE_CAKE(-1, Lightable.class),
|
|
PURPLE_CARPET(-1),
|
|
PURPLE_CONCRETE(-1),
|
|
PURPLE_CONCRETE_POWDER(-1),
|
|
PURPLE_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
PURPLE_SHULKER_BOX(-1, 1, Directional.class),
|
|
PURPLE_STAINED_GLASS(-1),
|
|
PURPLE_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
PURPLE_TERRACOTTA(-1),
|
|
PURPLE_WALL_BANNER(-1, Directional.class),
|
|
PURPLE_WOOL(-1),
|
|
PURPUR_BLOCK(-1),
|
|
PURPUR_PILLAR(-1, Orientable.class),
|
|
PURPUR_SLAB(-1, Slab.class),
|
|
PURPUR_STAIRS(-1, Stairs.class),
|
|
QUARTZ_BLOCK(-1),
|
|
QUARTZ_BRICKS(-1),
|
|
QUARTZ_PILLAR(-1, Orientable.class),
|
|
QUARTZ_SLAB(-1, Slab.class),
|
|
QUARTZ_STAIRS(-1, Stairs.class),
|
|
RAIL(-1, Rail.class),
|
|
RAW_COPPER_BLOCK(-1),
|
|
RAW_GOLD_BLOCK(-1),
|
|
RAW_IRON_BLOCK(-1),
|
|
RED_BANNER(-1, 16, Rotatable.class),
|
|
RED_BED(-1, 1, Bed.class),
|
|
RED_CANDLE(-1, Candle.class),
|
|
RED_CANDLE_CAKE(-1, Lightable.class),
|
|
RED_CARPET(-1),
|
|
RED_CONCRETE(-1),
|
|
RED_CONCRETE_POWDER(-1),
|
|
RED_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
RED_MUSHROOM(-1),
|
|
RED_MUSHROOM_BLOCK(-1, MultipleFacing.class),
|
|
RED_NETHER_BRICK_SLAB(-1, Slab.class),
|
|
RED_NETHER_BRICK_STAIRS(-1, Stairs.class),
|
|
RED_NETHER_BRICK_WALL(-1, Wall.class),
|
|
RED_NETHER_BRICKS(-1),
|
|
RED_SAND(-1),
|
|
RED_SANDSTONE(-1),
|
|
RED_SANDSTONE_SLAB(-1, Slab.class),
|
|
RED_SANDSTONE_STAIRS(-1, Stairs.class),
|
|
RED_SANDSTONE_WALL(-1, Wall.class),
|
|
RED_SHULKER_BOX(-1, 1, Directional.class),
|
|
RED_STAINED_GLASS(-1),
|
|
RED_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
RED_TERRACOTTA(-1),
|
|
RED_TULIP(-1),
|
|
RED_WALL_BANNER(-1, Directional.class),
|
|
RED_WOOL(-1),
|
|
REDSTONE_BLOCK(-1),
|
|
REDSTONE_LAMP(-1, Lightable.class),
|
|
REDSTONE_ORE(-1, Lightable.class),
|
|
REDSTONE_TORCH(-1, Lightable.class),
|
|
REDSTONE_WALL_TORCH(-1, RedstoneWallTorch.class),
|
|
REDSTONE_WIRE(-1, RedstoneWire.class),
|
|
REINFORCED_DEEPSLATE(-1),
|
|
REPEATER(-1, Repeater.class),
|
|
REPEATING_COMMAND_BLOCK(-1, CommandBlock.class),
|
|
RESPAWN_ANCHOR(-1, RespawnAnchor.class),
|
|
ROOTED_DIRT(-1),
|
|
ROSE_BUSH(-1, Bisected.class),
|
|
SAND(-1),
|
|
SANDSTONE(-1),
|
|
SANDSTONE_SLAB(-1, Slab.class),
|
|
SANDSTONE_STAIRS(-1, Stairs.class),
|
|
SANDSTONE_WALL(-1, Wall.class),
|
|
SCAFFOLDING(-1, Scaffolding.class),
|
|
SCULK(-1),
|
|
SCULK_CATALYST(-1, SculkCatalyst.class),
|
|
SCULK_SENSOR(-1, SculkSensor.class),
|
|
SCULK_SHRIEKER(-1, SculkShrieker.class),
|
|
SCULK_VEIN(-1, SculkVein.class),
|
|
SEA_LANTERN(-1),
|
|
SEA_PICKLE(-1, SeaPickle.class),
|
|
SEAGRASS(-1),
|
|
SHORT_GRASS(-1),
|
|
SHROOMLIGHT(-1),
|
|
SHULKER_BOX(-1, 1, Directional.class),
|
|
SKELETON_SKULL(-1, Skull.class),
|
|
SKELETON_WALL_SKULL(-1, WallSkull.class),
|
|
SLIME_BLOCK(-1),
|
|
SMALL_AMETHYST_BUD(-1, AmethystCluster.class),
|
|
SMALL_DRIPLEAF(-1, SmallDripleaf.class),
|
|
SMITHING_TABLE(-1),
|
|
SMOKER(-1, Furnace.class),
|
|
SMOOTH_BASALT(-1),
|
|
SMOOTH_QUARTZ(-1),
|
|
SMOOTH_QUARTZ_SLAB(-1, Slab.class),
|
|
SMOOTH_QUARTZ_STAIRS(-1, Stairs.class),
|
|
SMOOTH_RED_SANDSTONE(-1),
|
|
SMOOTH_RED_SANDSTONE_SLAB(-1, Slab.class),
|
|
SMOOTH_RED_SANDSTONE_STAIRS(-1, Stairs.class),
|
|
SMOOTH_SANDSTONE(-1),
|
|
SMOOTH_SANDSTONE_SLAB(-1, Slab.class),
|
|
SMOOTH_SANDSTONE_STAIRS(-1, Stairs.class),
|
|
SMOOTH_STONE(-1),
|
|
SMOOTH_STONE_SLAB(-1, Slab.class),
|
|
SNIFFER_EGG(-1, Hatchable.class),
|
|
SNOW(-1, Snow.class),
|
|
SNOW_BLOCK(-1),
|
|
SOUL_CAMPFIRE(-1, Campfire.class),
|
|
SOUL_FIRE(-1),
|
|
SOUL_LANTERN(-1, Lantern.class),
|
|
SOUL_SAND(-1),
|
|
SOUL_SOIL(-1),
|
|
SOUL_TORCH(-1),
|
|
SOUL_WALL_TORCH(-1, Directional.class),
|
|
SPAWNER(-1),
|
|
SPONGE(-1),
|
|
SPORE_BLOSSOM(-1),
|
|
SPRUCE_BUTTON(-1, Switch.class),
|
|
SPRUCE_DOOR(-1, Door.class),
|
|
SPRUCE_FENCE(-1, Fence.class),
|
|
SPRUCE_FENCE_GATE(-1, Gate.class),
|
|
SPRUCE_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
SPRUCE_LEAVES(-1, Leaves.class),
|
|
SPRUCE_LOG(-1, Orientable.class),
|
|
SPRUCE_PLANKS(-1),
|
|
SPRUCE_PRESSURE_PLATE(-1, Powerable.class),
|
|
SPRUCE_SAPLING(-1, Sapling.class),
|
|
SPRUCE_SIGN(-1, 16, Sign.class),
|
|
SPRUCE_SLAB(-1, Slab.class),
|
|
SPRUCE_STAIRS(-1, Stairs.class),
|
|
SPRUCE_TRAPDOOR(-1, TrapDoor.class),
|
|
SPRUCE_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
SPRUCE_WALL_SIGN(-1, 16, WallSign.class),
|
|
SPRUCE_WOOD(-1, Orientable.class),
|
|
STICKY_PISTON(-1, Piston.class),
|
|
STONE(-1),
|
|
STONE_BRICK_SLAB(-1, Slab.class),
|
|
STONE_BRICK_STAIRS(-1, Stairs.class),
|
|
STONE_BRICK_WALL(-1, Wall.class),
|
|
STONE_BRICKS(-1),
|
|
STONE_BUTTON(-1, Switch.class),
|
|
STONE_PRESSURE_PLATE(-1, Powerable.class),
|
|
STONE_SLAB(-1, Slab.class),
|
|
STONE_STAIRS(-1, Stairs.class),
|
|
STONECUTTER(-1, Directional.class),
|
|
STRIPPED_ACACIA_LOG(-1, Orientable.class),
|
|
STRIPPED_ACACIA_WOOD(-1, Orientable.class),
|
|
STRIPPED_BAMBOO_BLOCK(-1, Orientable.class),
|
|
STRIPPED_BIRCH_LOG(-1, Orientable.class),
|
|
STRIPPED_BIRCH_WOOD(-1, Orientable.class),
|
|
STRIPPED_CHERRY_LOG(-1, Orientable.class),
|
|
STRIPPED_CHERRY_WOOD(-1, Orientable.class),
|
|
STRIPPED_CRIMSON_HYPHAE(-1, Orientable.class),
|
|
STRIPPED_CRIMSON_STEM(-1, Orientable.class),
|
|
STRIPPED_DARK_OAK_LOG(-1, Orientable.class),
|
|
STRIPPED_DARK_OAK_WOOD(-1, Orientable.class),
|
|
STRIPPED_JUNGLE_LOG(-1, Orientable.class),
|
|
STRIPPED_JUNGLE_WOOD(-1, Orientable.class),
|
|
STRIPPED_MANGROVE_LOG(-1, Orientable.class),
|
|
STRIPPED_MANGROVE_WOOD(-1, Orientable.class),
|
|
STRIPPED_OAK_LOG(-1, Orientable.class),
|
|
STRIPPED_OAK_WOOD(-1, Orientable.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
STRIPPED_PALE_OAK_LOG(-1, Orientable.class),
|
|
@MinecraftExperimental(MinecraftExperimental.Requires.WINTER_DROP)
|
|
@ApiStatus.Experimental
|
|
STRIPPED_PALE_OAK_WOOD(-1, Orientable.class),
|
|
STRIPPED_SPRUCE_LOG(-1, Orientable.class),
|
|
STRIPPED_SPRUCE_WOOD(-1, Orientable.class),
|
|
STRIPPED_WARPED_HYPHAE(-1, Orientable.class),
|
|
STRIPPED_WARPED_STEM(-1, Orientable.class),
|
|
STRUCTURE_BLOCK(-1, StructureBlock.class),
|
|
STRUCTURE_VOID(-1),
|
|
SUGAR_CANE(-1, Ageable.class),
|
|
SUNFLOWER(-1, Bisected.class),
|
|
SUSPICIOUS_GRAVEL(-1, Brushable.class),
|
|
SUSPICIOUS_SAND(-1, Brushable.class),
|
|
SWEET_BERRY_BUSH(-1, Ageable.class),
|
|
TALL_GRASS(-1, Bisected.class),
|
|
TALL_SEAGRASS(-1, Bisected.class),
|
|
TARGET(-1, AnaloguePowerable.class),
|
|
TERRACOTTA(-1),
|
|
TINTED_GLASS(-1),
|
|
TNT(-1, TNT.class),
|
|
TORCH(-1),
|
|
TORCHFLOWER(-1),
|
|
TORCHFLOWER_CROP(-1, Ageable.class),
|
|
TRAPPED_CHEST(-1, Chest.class),
|
|
TRIAL_SPAWNER(-1, TrialSpawner.class),
|
|
TRIPWIRE(-1, Tripwire.class),
|
|
TRIPWIRE_HOOK(-1, TripwireHook.class),
|
|
TUBE_CORAL(-1, Waterlogged.class),
|
|
TUBE_CORAL_BLOCK(-1),
|
|
TUBE_CORAL_FAN(-1, Waterlogged.class),
|
|
TUBE_CORAL_WALL_FAN(-1, CoralWallFan.class),
|
|
TUFF(-1),
|
|
TUFF_BRICK_SLAB(-1, Slab.class),
|
|
TUFF_BRICK_STAIRS(-1, Stairs.class),
|
|
TUFF_BRICK_WALL(-1, Wall.class),
|
|
TUFF_BRICKS(-1),
|
|
TUFF_SLAB(-1, Slab.class),
|
|
TUFF_STAIRS(-1, Stairs.class),
|
|
TUFF_WALL(-1, Wall.class),
|
|
TURTLE_EGG(-1, TurtleEgg.class),
|
|
TWISTING_VINES(-1, Ageable.class),
|
|
TWISTING_VINES_PLANT(-1),
|
|
VAULT(-1, Vault.class),
|
|
VERDANT_FROGLIGHT(-1, Orientable.class),
|
|
VINE(-1, MultipleFacing.class),
|
|
VOID_AIR(-1),
|
|
WALL_TORCH(-1, Directional.class),
|
|
WARPED_BUTTON(-1, Switch.class),
|
|
WARPED_DOOR(-1, Door.class),
|
|
WARPED_FENCE(-1, Fence.class),
|
|
WARPED_FENCE_GATE(-1, Gate.class),
|
|
WARPED_FUNGUS(-1),
|
|
WARPED_HANGING_SIGN(-1, 16, HangingSign.class),
|
|
WARPED_HYPHAE(-1, Orientable.class),
|
|
WARPED_NYLIUM(-1),
|
|
WARPED_PLANKS(-1),
|
|
WARPED_PRESSURE_PLATE(-1, Powerable.class),
|
|
WARPED_ROOTS(-1),
|
|
WARPED_SIGN(-1, 16, Sign.class),
|
|
WARPED_SLAB(-1, Slab.class),
|
|
WARPED_STAIRS(-1, Stairs.class),
|
|
WARPED_STEM(-1, Orientable.class),
|
|
WARPED_TRAPDOOR(-1, TrapDoor.class),
|
|
WARPED_WALL_HANGING_SIGN(-1, WallHangingSign.class),
|
|
WARPED_WALL_SIGN(-1, 16, WallSign.class),
|
|
WARPED_WART_BLOCK(-1),
|
|
WATER(-1, Levelled.class),
|
|
WATER_CAULDRON(-1, Levelled.class),
|
|
WAXED_CHISELED_COPPER(-1),
|
|
WAXED_COPPER_BLOCK(-1),
|
|
WAXED_COPPER_BULB(-1, CopperBulb.class),
|
|
WAXED_COPPER_DOOR(-1, Door.class),
|
|
WAXED_COPPER_GRATE(-1, Waterlogged.class),
|
|
WAXED_COPPER_TRAPDOOR(-1, TrapDoor.class),
|
|
WAXED_CUT_COPPER(-1),
|
|
WAXED_CUT_COPPER_SLAB(-1, Slab.class),
|
|
WAXED_CUT_COPPER_STAIRS(-1, Stairs.class),
|
|
WAXED_EXPOSED_CHISELED_COPPER(-1),
|
|
WAXED_EXPOSED_COPPER(-1),
|
|
WAXED_EXPOSED_COPPER_BULB(-1, CopperBulb.class),
|
|
WAXED_EXPOSED_COPPER_DOOR(-1, Door.class),
|
|
WAXED_EXPOSED_COPPER_GRATE(-1, Waterlogged.class),
|
|
WAXED_EXPOSED_COPPER_TRAPDOOR(-1, TrapDoor.class),
|
|
WAXED_EXPOSED_CUT_COPPER(-1),
|
|
WAXED_EXPOSED_CUT_COPPER_SLAB(-1, Slab.class),
|
|
WAXED_EXPOSED_CUT_COPPER_STAIRS(-1, Stairs.class),
|
|
WAXED_OXIDIZED_CHISELED_COPPER(-1),
|
|
WAXED_OXIDIZED_COPPER(-1),
|
|
WAXED_OXIDIZED_COPPER_BULB(-1, CopperBulb.class),
|
|
WAXED_OXIDIZED_COPPER_DOOR(-1, Door.class),
|
|
WAXED_OXIDIZED_COPPER_GRATE(-1, Waterlogged.class),
|
|
WAXED_OXIDIZED_COPPER_TRAPDOOR(-1, TrapDoor.class),
|
|
WAXED_OXIDIZED_CUT_COPPER(-1),
|
|
WAXED_OXIDIZED_CUT_COPPER_SLAB(-1, Slab.class),
|
|
WAXED_OXIDIZED_CUT_COPPER_STAIRS(-1, Stairs.class),
|
|
WAXED_WEATHERED_CHISELED_COPPER(-1),
|
|
WAXED_WEATHERED_COPPER(-1),
|
|
WAXED_WEATHERED_COPPER_BULB(-1, CopperBulb.class),
|
|
WAXED_WEATHERED_COPPER_DOOR(-1, Door.class),
|
|
WAXED_WEATHERED_COPPER_GRATE(-1, Waterlogged.class),
|
|
WAXED_WEATHERED_COPPER_TRAPDOOR(-1, TrapDoor.class),
|
|
WAXED_WEATHERED_CUT_COPPER(-1),
|
|
WAXED_WEATHERED_CUT_COPPER_SLAB(-1, Slab.class),
|
|
WAXED_WEATHERED_CUT_COPPER_STAIRS(-1, Stairs.class),
|
|
WEATHERED_CHISELED_COPPER(-1),
|
|
WEATHERED_COPPER(-1),
|
|
WEATHERED_COPPER_BULB(-1, CopperBulb.class),
|
|
WEATHERED_COPPER_DOOR(-1, Door.class),
|
|
WEATHERED_COPPER_GRATE(-1, Waterlogged.class),
|
|
WEATHERED_COPPER_TRAPDOOR(-1, TrapDoor.class),
|
|
WEATHERED_CUT_COPPER(-1),
|
|
WEATHERED_CUT_COPPER_SLAB(-1, Slab.class),
|
|
WEATHERED_CUT_COPPER_STAIRS(-1, Stairs.class),
|
|
WEEPING_VINES(-1, Ageable.class),
|
|
WEEPING_VINES_PLANT(-1),
|
|
WET_SPONGE(-1),
|
|
WHEAT(-1, Ageable.class),
|
|
WHITE_BANNER(-1, 16, Rotatable.class),
|
|
WHITE_BED(-1, 1, Bed.class),
|
|
WHITE_CANDLE(-1, Candle.class),
|
|
WHITE_CANDLE_CAKE(-1, Lightable.class),
|
|
WHITE_CARPET(-1),
|
|
WHITE_CONCRETE(-1),
|
|
WHITE_CONCRETE_POWDER(-1),
|
|
WHITE_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
WHITE_SHULKER_BOX(-1, 1, Directional.class),
|
|
WHITE_STAINED_GLASS(-1),
|
|
WHITE_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
WHITE_TERRACOTTA(-1),
|
|
WHITE_TULIP(-1),
|
|
WHITE_WALL_BANNER(-1, Directional.class),
|
|
WHITE_WOOL(-1),
|
|
WITHER_ROSE(-1),
|
|
WITHER_SKELETON_SKULL(-1, Skull.class),
|
|
WITHER_SKELETON_WALL_SKULL(-1, WallSkull.class),
|
|
YELLOW_BANNER(-1, 16, Rotatable.class),
|
|
YELLOW_BED(-1, 1, Bed.class),
|
|
YELLOW_CANDLE(-1, Candle.class),
|
|
YELLOW_CANDLE_CAKE(-1, Lightable.class),
|
|
YELLOW_CARPET(-1),
|
|
YELLOW_CONCRETE(-1),
|
|
YELLOW_CONCRETE_POWDER(-1),
|
|
YELLOW_GLAZED_TERRACOTTA(-1, Directional.class),
|
|
YELLOW_SHULKER_BOX(-1, 1, Directional.class),
|
|
YELLOW_STAINED_GLASS(-1),
|
|
YELLOW_STAINED_GLASS_PANE(-1, GlassPane.class),
|
|
YELLOW_TERRACOTTA(-1),
|
|
YELLOW_WALL_BANNER(-1, Directional.class),
|
|
YELLOW_WOOL(-1),
|
|
ZOMBIE_HEAD(-1, Skull.class),
|
|
ZOMBIE_WALL_HEAD(-1, WallSkull.class),
|
|
// Paper end - Generated/Blocks
|
|
// ----- Legacy Separator -----
|
|
@Deprecated
|
|
LEGACY_AIR(0, 0),
|
|
@Deprecated
|
|
LEGACY_STONE(1),
|
|
@Deprecated
|
|
LEGACY_GRASS(2),
|
|
@Deprecated
|
|
LEGACY_DIRT(3),
|
|
@Deprecated
|
|
LEGACY_COBBLESTONE(4),
|
|
@Deprecated
|
|
LEGACY_WOOD(5, org.bukkit.material.Wood.class),
|
|
@Deprecated
|
|
LEGACY_SAPLING(6, org.bukkit.material.Sapling.class),
|
|
@Deprecated
|
|
LEGACY_BEDROCK(7),
|
|
@Deprecated
|
|
LEGACY_WATER(8, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_STATIONARY_WATER(9, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_LAVA(10, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_STATIONARY_LAVA(11, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_SAND(12),
|
|
@Deprecated
|
|
LEGACY_GRAVEL(13),
|
|
@Deprecated
|
|
LEGACY_GOLD_ORE(14),
|
|
@Deprecated
|
|
LEGACY_IRON_ORE(15),
|
|
@Deprecated
|
|
LEGACY_COAL_ORE(16),
|
|
@Deprecated
|
|
LEGACY_LOG(17, org.bukkit.material.Tree.class),
|
|
@Deprecated
|
|
LEGACY_LEAVES(18, org.bukkit.material.Leaves.class),
|
|
@Deprecated
|
|
LEGACY_SPONGE(19),
|
|
@Deprecated
|
|
LEGACY_GLASS(20),
|
|
@Deprecated
|
|
LEGACY_LAPIS_ORE(21),
|
|
@Deprecated
|
|
LEGACY_LAPIS_BLOCK(22),
|
|
@Deprecated
|
|
LEGACY_DISPENSER(23, org.bukkit.material.Dispenser.class),
|
|
@Deprecated
|
|
LEGACY_SANDSTONE(24, org.bukkit.material.Sandstone.class),
|
|
@Deprecated
|
|
LEGACY_NOTE_BLOCK(25),
|
|
@Deprecated
|
|
LEGACY_BED_BLOCK(26, org.bukkit.material.Bed.class),
|
|
@Deprecated
|
|
LEGACY_POWERED_RAIL(27, org.bukkit.material.PoweredRail.class),
|
|
@Deprecated
|
|
LEGACY_DETECTOR_RAIL(28, org.bukkit.material.DetectorRail.class),
|
|
@Deprecated
|
|
LEGACY_PISTON_STICKY_BASE(29, org.bukkit.material.PistonBaseMaterial.class),
|
|
@Deprecated
|
|
LEGACY_WEB(30),
|
|
@Deprecated
|
|
LEGACY_LONG_GRASS(31, org.bukkit.material.LongGrass.class),
|
|
@Deprecated
|
|
LEGACY_DEAD_BUSH(32),
|
|
@Deprecated
|
|
LEGACY_PISTON_BASE(33, org.bukkit.material.PistonBaseMaterial.class),
|
|
@Deprecated
|
|
LEGACY_PISTON_EXTENSION(34, org.bukkit.material.PistonExtensionMaterial.class),
|
|
@Deprecated
|
|
LEGACY_WOOL(35, org.bukkit.material.Wool.class),
|
|
@Deprecated
|
|
LEGACY_PISTON_MOVING_PIECE(36),
|
|
@Deprecated
|
|
LEGACY_YELLOW_FLOWER(37),
|
|
@Deprecated
|
|
LEGACY_RED_ROSE(38),
|
|
@Deprecated
|
|
LEGACY_BROWN_MUSHROOM(39),
|
|
@Deprecated
|
|
LEGACY_RED_MUSHROOM(40),
|
|
@Deprecated
|
|
LEGACY_GOLD_BLOCK(41),
|
|
@Deprecated
|
|
LEGACY_IRON_BLOCK(42),
|
|
@Deprecated
|
|
LEGACY_DOUBLE_STEP(43, org.bukkit.material.Step.class),
|
|
@Deprecated
|
|
LEGACY_STEP(44, org.bukkit.material.Step.class),
|
|
@Deprecated
|
|
LEGACY_BRICK(45),
|
|
@Deprecated
|
|
LEGACY_TNT(46),
|
|
@Deprecated
|
|
LEGACY_BOOKSHELF(47),
|
|
@Deprecated
|
|
LEGACY_MOSSY_COBBLESTONE(48),
|
|
@Deprecated
|
|
LEGACY_OBSIDIAN(49),
|
|
@Deprecated
|
|
LEGACY_TORCH(50, org.bukkit.material.Torch.class),
|
|
@Deprecated
|
|
LEGACY_FIRE(51),
|
|
@Deprecated
|
|
LEGACY_MOB_SPAWNER(52),
|
|
@Deprecated
|
|
LEGACY_WOOD_STAIRS(53, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_CHEST(54, org.bukkit.material.Chest.class),
|
|
@Deprecated
|
|
LEGACY_REDSTONE_WIRE(55, org.bukkit.material.RedstoneWire.class),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_ORE(56),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_BLOCK(57),
|
|
@Deprecated
|
|
LEGACY_WORKBENCH(58),
|
|
@Deprecated
|
|
LEGACY_CROPS(59, org.bukkit.material.Crops.class),
|
|
@Deprecated
|
|
LEGACY_SOIL(60, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_FURNACE(61, org.bukkit.material.Furnace.class),
|
|
@Deprecated
|
|
LEGACY_BURNING_FURNACE(62, org.bukkit.material.Furnace.class),
|
|
@Deprecated
|
|
LEGACY_SIGN_POST(63, 64, org.bukkit.material.Sign.class),
|
|
@Deprecated
|
|
LEGACY_WOODEN_DOOR(64, org.bukkit.material.Door.class),
|
|
@Deprecated
|
|
LEGACY_LADDER(65, org.bukkit.material.Ladder.class),
|
|
@Deprecated
|
|
LEGACY_RAILS(66, org.bukkit.material.Rails.class),
|
|
@Deprecated
|
|
LEGACY_COBBLESTONE_STAIRS(67, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_WALL_SIGN(68, 64, org.bukkit.material.Sign.class),
|
|
@Deprecated
|
|
LEGACY_LEVER(69, org.bukkit.material.Lever.class),
|
|
@Deprecated
|
|
LEGACY_STONE_PLATE(70, org.bukkit.material.PressurePlate.class),
|
|
@Deprecated
|
|
LEGACY_IRON_DOOR_BLOCK(71, org.bukkit.material.Door.class),
|
|
@Deprecated
|
|
LEGACY_WOOD_PLATE(72, org.bukkit.material.PressurePlate.class),
|
|
@Deprecated
|
|
LEGACY_REDSTONE_ORE(73),
|
|
@Deprecated
|
|
LEGACY_GLOWING_REDSTONE_ORE(74),
|
|
@Deprecated
|
|
LEGACY_REDSTONE_TORCH_OFF(75, org.bukkit.material.RedstoneTorch.class),
|
|
@Deprecated
|
|
LEGACY_REDSTONE_TORCH_ON(76, org.bukkit.material.RedstoneTorch.class),
|
|
@Deprecated
|
|
LEGACY_STONE_BUTTON(77, org.bukkit.material.Button.class),
|
|
@Deprecated
|
|
LEGACY_SNOW(78),
|
|
@Deprecated
|
|
LEGACY_ICE(79),
|
|
@Deprecated
|
|
LEGACY_SNOW_BLOCK(80),
|
|
@Deprecated
|
|
LEGACY_CACTUS(81, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_CLAY(82),
|
|
@Deprecated
|
|
LEGACY_SUGAR_CANE_BLOCK(83, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_JUKEBOX(84),
|
|
@Deprecated
|
|
LEGACY_FENCE(85),
|
|
@Deprecated
|
|
LEGACY_PUMPKIN(86, org.bukkit.material.Pumpkin.class),
|
|
@Deprecated
|
|
LEGACY_NETHERRACK(87),
|
|
@Deprecated
|
|
LEGACY_SOUL_SAND(88),
|
|
@Deprecated
|
|
LEGACY_GLOWSTONE(89),
|
|
@Deprecated
|
|
LEGACY_PORTAL(90),
|
|
@Deprecated
|
|
LEGACY_JACK_O_LANTERN(91, org.bukkit.material.Pumpkin.class),
|
|
@Deprecated
|
|
LEGACY_CAKE_BLOCK(92, 64, org.bukkit.material.Cake.class),
|
|
@Deprecated
|
|
LEGACY_DIODE_BLOCK_OFF(93, org.bukkit.material.Diode.class),
|
|
@Deprecated
|
|
LEGACY_DIODE_BLOCK_ON(94, org.bukkit.material.Diode.class),
|
|
@Deprecated
|
|
LEGACY_STAINED_GLASS(95),
|
|
@Deprecated
|
|
LEGACY_TRAP_DOOR(96, org.bukkit.material.TrapDoor.class),
|
|
@Deprecated
|
|
LEGACY_MONSTER_EGGS(97, org.bukkit.material.MonsterEggs.class),
|
|
@Deprecated
|
|
LEGACY_SMOOTH_BRICK(98, org.bukkit.material.SmoothBrick.class),
|
|
@Deprecated
|
|
LEGACY_HUGE_MUSHROOM_1(99, org.bukkit.material.Mushroom.class),
|
|
@Deprecated
|
|
LEGACY_HUGE_MUSHROOM_2(100, org.bukkit.material.Mushroom.class),
|
|
@Deprecated
|
|
LEGACY_IRON_FENCE(101),
|
|
@Deprecated
|
|
LEGACY_THIN_GLASS(102),
|
|
@Deprecated
|
|
LEGACY_MELON_BLOCK(103),
|
|
@Deprecated
|
|
LEGACY_PUMPKIN_STEM(104, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_MELON_STEM(105, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_VINE(106, org.bukkit.material.Vine.class),
|
|
@Deprecated
|
|
LEGACY_FENCE_GATE(107, org.bukkit.material.Gate.class),
|
|
@Deprecated
|
|
LEGACY_BRICK_STAIRS(108, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_SMOOTH_STAIRS(109, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_MYCEL(110),
|
|
@Deprecated
|
|
LEGACY_WATER_LILY(111),
|
|
@Deprecated
|
|
LEGACY_NETHER_BRICK(112),
|
|
@Deprecated
|
|
LEGACY_NETHER_FENCE(113),
|
|
@Deprecated
|
|
LEGACY_NETHER_BRICK_STAIRS(114, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_NETHER_WARTS(115, org.bukkit.material.NetherWarts.class),
|
|
@Deprecated
|
|
LEGACY_ENCHANTMENT_TABLE(116),
|
|
@Deprecated
|
|
LEGACY_BREWING_STAND(117, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_CAULDRON(118, org.bukkit.material.Cauldron.class),
|
|
@Deprecated
|
|
LEGACY_ENDER_PORTAL(119),
|
|
@Deprecated
|
|
LEGACY_ENDER_PORTAL_FRAME(120),
|
|
@Deprecated
|
|
LEGACY_ENDER_STONE(121),
|
|
@Deprecated
|
|
LEGACY_DRAGON_EGG(122),
|
|
@Deprecated
|
|
LEGACY_REDSTONE_LAMP_OFF(123),
|
|
@Deprecated
|
|
LEGACY_REDSTONE_LAMP_ON(124),
|
|
@Deprecated
|
|
LEGACY_WOOD_DOUBLE_STEP(125, org.bukkit.material.Wood.class),
|
|
@Deprecated
|
|
LEGACY_WOOD_STEP(126, org.bukkit.material.WoodenStep.class),
|
|
@Deprecated
|
|
LEGACY_COCOA(127, org.bukkit.material.CocoaPlant.class),
|
|
@Deprecated
|
|
LEGACY_SANDSTONE_STAIRS(128, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_EMERALD_ORE(129),
|
|
@Deprecated
|
|
LEGACY_ENDER_CHEST(130, org.bukkit.material.EnderChest.class),
|
|
@Deprecated
|
|
LEGACY_TRIPWIRE_HOOK(131, org.bukkit.material.TripwireHook.class),
|
|
@Deprecated
|
|
LEGACY_TRIPWIRE(132, org.bukkit.material.Tripwire.class),
|
|
@Deprecated
|
|
LEGACY_EMERALD_BLOCK(133),
|
|
@Deprecated
|
|
LEGACY_SPRUCE_WOOD_STAIRS(134, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_BIRCH_WOOD_STAIRS(135, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_JUNGLE_WOOD_STAIRS(136, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_COMMAND(137, org.bukkit.material.Command.class),
|
|
@Deprecated
|
|
LEGACY_BEACON(138),
|
|
@Deprecated
|
|
LEGACY_COBBLE_WALL(139),
|
|
@Deprecated
|
|
LEGACY_FLOWER_POT(140, org.bukkit.material.FlowerPot.class),
|
|
@Deprecated
|
|
LEGACY_CARROT(141, org.bukkit.material.Crops.class),
|
|
@Deprecated
|
|
LEGACY_POTATO(142, org.bukkit.material.Crops.class),
|
|
@Deprecated
|
|
LEGACY_WOOD_BUTTON(143, org.bukkit.material.Button.class),
|
|
@Deprecated
|
|
LEGACY_SKULL(144, org.bukkit.material.Skull.class),
|
|
@Deprecated
|
|
LEGACY_ANVIL(145),
|
|
@Deprecated
|
|
LEGACY_TRAPPED_CHEST(146, org.bukkit.material.Chest.class),
|
|
@Deprecated
|
|
LEGACY_GOLD_PLATE(147),
|
|
@Deprecated
|
|
LEGACY_IRON_PLATE(148),
|
|
@Deprecated
|
|
LEGACY_REDSTONE_COMPARATOR_OFF(149, org.bukkit.material.Comparator.class),
|
|
@Deprecated
|
|
LEGACY_REDSTONE_COMPARATOR_ON(150, org.bukkit.material.Comparator.class),
|
|
@Deprecated
|
|
LEGACY_DAYLIGHT_DETECTOR(151),
|
|
@Deprecated
|
|
LEGACY_REDSTONE_BLOCK(152),
|
|
@Deprecated
|
|
LEGACY_QUARTZ_ORE(153),
|
|
@Deprecated
|
|
LEGACY_HOPPER(154, org.bukkit.material.Hopper.class),
|
|
@Deprecated
|
|
LEGACY_QUARTZ_BLOCK(155),
|
|
@Deprecated
|
|
LEGACY_QUARTZ_STAIRS(156, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_ACTIVATOR_RAIL(157, org.bukkit.material.PoweredRail.class),
|
|
@Deprecated
|
|
LEGACY_DROPPER(158, org.bukkit.material.Dispenser.class),
|
|
@Deprecated
|
|
LEGACY_STAINED_CLAY(159),
|
|
@Deprecated
|
|
LEGACY_STAINED_GLASS_PANE(160),
|
|
@Deprecated
|
|
LEGACY_LEAVES_2(161, org.bukkit.material.Leaves.class),
|
|
@Deprecated
|
|
LEGACY_LOG_2(162, org.bukkit.material.Tree.class),
|
|
@Deprecated
|
|
LEGACY_ACACIA_STAIRS(163, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_DARK_OAK_STAIRS(164, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_SLIME_BLOCK(165),
|
|
@Deprecated
|
|
LEGACY_BARRIER(166),
|
|
@Deprecated
|
|
LEGACY_IRON_TRAPDOOR(167, org.bukkit.material.TrapDoor.class),
|
|
@Deprecated
|
|
LEGACY_PRISMARINE(168),
|
|
@Deprecated
|
|
LEGACY_SEA_LANTERN(169),
|
|
@Deprecated
|
|
LEGACY_HAY_BLOCK(170),
|
|
@Deprecated
|
|
LEGACY_CARPET(171),
|
|
@Deprecated
|
|
LEGACY_HARD_CLAY(172),
|
|
@Deprecated
|
|
LEGACY_COAL_BLOCK(173),
|
|
@Deprecated
|
|
LEGACY_PACKED_ICE(174),
|
|
@Deprecated
|
|
LEGACY_DOUBLE_PLANT(175),
|
|
@Deprecated
|
|
LEGACY_STANDING_BANNER(176, org.bukkit.material.Banner.class),
|
|
@Deprecated
|
|
LEGACY_WALL_BANNER(177, org.bukkit.material.Banner.class),
|
|
@Deprecated
|
|
LEGACY_DAYLIGHT_DETECTOR_INVERTED(178),
|
|
@Deprecated
|
|
LEGACY_RED_SANDSTONE(179),
|
|
@Deprecated
|
|
LEGACY_RED_SANDSTONE_STAIRS(180, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_DOUBLE_STONE_SLAB2(181),
|
|
@Deprecated
|
|
LEGACY_STONE_SLAB2(182),
|
|
@Deprecated
|
|
LEGACY_SPRUCE_FENCE_GATE(183, org.bukkit.material.Gate.class),
|
|
@Deprecated
|
|
LEGACY_BIRCH_FENCE_GATE(184, org.bukkit.material.Gate.class),
|
|
@Deprecated
|
|
LEGACY_JUNGLE_FENCE_GATE(185, org.bukkit.material.Gate.class),
|
|
@Deprecated
|
|
LEGACY_DARK_OAK_FENCE_GATE(186, org.bukkit.material.Gate.class),
|
|
@Deprecated
|
|
LEGACY_ACACIA_FENCE_GATE(187, org.bukkit.material.Gate.class),
|
|
@Deprecated
|
|
LEGACY_SPRUCE_FENCE(188),
|
|
@Deprecated
|
|
LEGACY_BIRCH_FENCE(189),
|
|
@Deprecated
|
|
LEGACY_JUNGLE_FENCE(190),
|
|
@Deprecated
|
|
LEGACY_DARK_OAK_FENCE(191),
|
|
@Deprecated
|
|
LEGACY_ACACIA_FENCE(192),
|
|
@Deprecated
|
|
LEGACY_SPRUCE_DOOR(193, org.bukkit.material.Door.class),
|
|
@Deprecated
|
|
LEGACY_BIRCH_DOOR(194, org.bukkit.material.Door.class),
|
|
@Deprecated
|
|
LEGACY_JUNGLE_DOOR(195, org.bukkit.material.Door.class),
|
|
@Deprecated
|
|
LEGACY_ACACIA_DOOR(196, org.bukkit.material.Door.class),
|
|
@Deprecated
|
|
LEGACY_DARK_OAK_DOOR(197, org.bukkit.material.Door.class),
|
|
@Deprecated
|
|
LEGACY_END_ROD(198),
|
|
@Deprecated
|
|
LEGACY_CHORUS_PLANT(199),
|
|
@Deprecated
|
|
LEGACY_CHORUS_FLOWER(200),
|
|
@Deprecated
|
|
LEGACY_PURPUR_BLOCK(201),
|
|
@Deprecated
|
|
LEGACY_PURPUR_PILLAR(202),
|
|
@Deprecated
|
|
LEGACY_PURPUR_STAIRS(203, org.bukkit.material.Stairs.class),
|
|
@Deprecated
|
|
LEGACY_PURPUR_DOUBLE_SLAB(204),
|
|
@Deprecated
|
|
LEGACY_PURPUR_SLAB(205),
|
|
@Deprecated
|
|
LEGACY_END_BRICKS(206),
|
|
@Deprecated
|
|
LEGACY_BEETROOT_BLOCK(207, org.bukkit.material.Crops.class),
|
|
@Deprecated
|
|
LEGACY_GRASS_PATH(208),
|
|
@Deprecated
|
|
LEGACY_END_GATEWAY(209),
|
|
@Deprecated
|
|
LEGACY_COMMAND_REPEATING(210, org.bukkit.material.Command.class),
|
|
@Deprecated
|
|
LEGACY_COMMAND_CHAIN(211, org.bukkit.material.Command.class),
|
|
@Deprecated
|
|
LEGACY_FROSTED_ICE(212),
|
|
@Deprecated
|
|
LEGACY_MAGMA(213),
|
|
@Deprecated
|
|
LEGACY_NETHER_WART_BLOCK(214),
|
|
@Deprecated
|
|
LEGACY_RED_NETHER_BRICK(215),
|
|
@Deprecated
|
|
LEGACY_BONE_BLOCK(216),
|
|
@Deprecated
|
|
LEGACY_STRUCTURE_VOID(217),
|
|
@Deprecated
|
|
LEGACY_OBSERVER(218, org.bukkit.material.Observer.class),
|
|
@Deprecated
|
|
LEGACY_WHITE_SHULKER_BOX(219, 1),
|
|
@Deprecated
|
|
LEGACY_ORANGE_SHULKER_BOX(220, 1),
|
|
@Deprecated
|
|
LEGACY_MAGENTA_SHULKER_BOX(221, 1),
|
|
@Deprecated
|
|
LEGACY_LIGHT_BLUE_SHULKER_BOX(222, 1),
|
|
@Deprecated
|
|
LEGACY_YELLOW_SHULKER_BOX(223, 1),
|
|
@Deprecated
|
|
LEGACY_LIME_SHULKER_BOX(224, 1),
|
|
@Deprecated
|
|
LEGACY_PINK_SHULKER_BOX(225, 1),
|
|
@Deprecated
|
|
LEGACY_GRAY_SHULKER_BOX(226, 1),
|
|
@Deprecated
|
|
LEGACY_SILVER_SHULKER_BOX(227, 1),
|
|
@Deprecated
|
|
LEGACY_CYAN_SHULKER_BOX(228, 1),
|
|
@Deprecated
|
|
LEGACY_PURPLE_SHULKER_BOX(229, 1),
|
|
@Deprecated
|
|
LEGACY_BLUE_SHULKER_BOX(230, 1),
|
|
@Deprecated
|
|
LEGACY_BROWN_SHULKER_BOX(231, 1),
|
|
@Deprecated
|
|
LEGACY_GREEN_SHULKER_BOX(232, 1),
|
|
@Deprecated
|
|
LEGACY_RED_SHULKER_BOX(233, 1),
|
|
@Deprecated
|
|
LEGACY_BLACK_SHULKER_BOX(234, 1),
|
|
@Deprecated
|
|
LEGACY_WHITE_GLAZED_TERRACOTTA(235),
|
|
@Deprecated
|
|
LEGACY_ORANGE_GLAZED_TERRACOTTA(236),
|
|
@Deprecated
|
|
LEGACY_MAGENTA_GLAZED_TERRACOTTA(237),
|
|
@Deprecated
|
|
LEGACY_LIGHT_BLUE_GLAZED_TERRACOTTA(238),
|
|
@Deprecated
|
|
LEGACY_YELLOW_GLAZED_TERRACOTTA(239),
|
|
@Deprecated
|
|
LEGACY_LIME_GLAZED_TERRACOTTA(240),
|
|
@Deprecated
|
|
LEGACY_PINK_GLAZED_TERRACOTTA(241),
|
|
@Deprecated
|
|
LEGACY_GRAY_GLAZED_TERRACOTTA(242),
|
|
@Deprecated
|
|
LEGACY_SILVER_GLAZED_TERRACOTTA(243),
|
|
@Deprecated
|
|
LEGACY_CYAN_GLAZED_TERRACOTTA(244),
|
|
@Deprecated
|
|
LEGACY_PURPLE_GLAZED_TERRACOTTA(245),
|
|
@Deprecated
|
|
LEGACY_BLUE_GLAZED_TERRACOTTA(246),
|
|
@Deprecated
|
|
LEGACY_BROWN_GLAZED_TERRACOTTA(247),
|
|
@Deprecated
|
|
LEGACY_GREEN_GLAZED_TERRACOTTA(248),
|
|
@Deprecated
|
|
LEGACY_RED_GLAZED_TERRACOTTA(249),
|
|
@Deprecated
|
|
LEGACY_BLACK_GLAZED_TERRACOTTA(250),
|
|
@Deprecated
|
|
LEGACY_CONCRETE(251),
|
|
@Deprecated
|
|
LEGACY_CONCRETE_POWDER(252),
|
|
@Deprecated
|
|
LEGACY_STRUCTURE_BLOCK(255),
|
|
// ----- Item Separator -----
|
|
@Deprecated
|
|
LEGACY_IRON_SPADE(256, 1, 250),
|
|
@Deprecated
|
|
LEGACY_IRON_PICKAXE(257, 1, 250),
|
|
@Deprecated
|
|
LEGACY_IRON_AXE(258, 1, 250),
|
|
@Deprecated
|
|
LEGACY_FLINT_AND_STEEL(259, 1, 64),
|
|
@Deprecated
|
|
LEGACY_APPLE(260),
|
|
@Deprecated
|
|
LEGACY_BOW(261, 1, 384),
|
|
@Deprecated
|
|
LEGACY_ARROW(262),
|
|
@Deprecated
|
|
LEGACY_COAL(263, org.bukkit.material.Coal.class),
|
|
@Deprecated
|
|
LEGACY_DIAMOND(264),
|
|
@Deprecated
|
|
LEGACY_IRON_INGOT(265),
|
|
@Deprecated
|
|
LEGACY_GOLD_INGOT(266),
|
|
@Deprecated
|
|
LEGACY_IRON_SWORD(267, 1, 250),
|
|
@Deprecated
|
|
LEGACY_WOOD_SWORD(268, 1, 59),
|
|
@Deprecated
|
|
LEGACY_WOOD_SPADE(269, 1, 59),
|
|
@Deprecated
|
|
LEGACY_WOOD_PICKAXE(270, 1, 59),
|
|
@Deprecated
|
|
LEGACY_WOOD_AXE(271, 1, 59),
|
|
@Deprecated
|
|
LEGACY_STONE_SWORD(272, 1, 131),
|
|
@Deprecated
|
|
LEGACY_STONE_SPADE(273, 1, 131),
|
|
@Deprecated
|
|
LEGACY_STONE_PICKAXE(274, 1, 131),
|
|
@Deprecated
|
|
LEGACY_STONE_AXE(275, 1, 131),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_SWORD(276, 1, 1561),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_SPADE(277, 1, 1561),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_PICKAXE(278, 1, 1561),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_AXE(279, 1, 1561),
|
|
@Deprecated
|
|
LEGACY_STICK(280),
|
|
@Deprecated
|
|
LEGACY_BOWL(281),
|
|
@Deprecated
|
|
LEGACY_MUSHROOM_SOUP(282, 1),
|
|
@Deprecated
|
|
LEGACY_GOLD_SWORD(283, 1, 32),
|
|
@Deprecated
|
|
LEGACY_GOLD_SPADE(284, 1, 32),
|
|
@Deprecated
|
|
LEGACY_GOLD_PICKAXE(285, 1, 32),
|
|
@Deprecated
|
|
LEGACY_GOLD_AXE(286, 1, 32),
|
|
@Deprecated
|
|
LEGACY_STRING(287),
|
|
@Deprecated
|
|
LEGACY_FEATHER(288),
|
|
@Deprecated
|
|
LEGACY_SULPHUR(289),
|
|
@Deprecated
|
|
LEGACY_WOOD_HOE(290, 1, 59),
|
|
@Deprecated
|
|
LEGACY_STONE_HOE(291, 1, 131),
|
|
@Deprecated
|
|
LEGACY_IRON_HOE(292, 1, 250),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_HOE(293, 1, 1561),
|
|
@Deprecated
|
|
LEGACY_GOLD_HOE(294, 1, 32),
|
|
@Deprecated
|
|
LEGACY_SEEDS(295),
|
|
@Deprecated
|
|
LEGACY_WHEAT(296),
|
|
@Deprecated
|
|
LEGACY_BREAD(297),
|
|
@Deprecated
|
|
LEGACY_LEATHER_HELMET(298, 1, 55),
|
|
@Deprecated
|
|
LEGACY_LEATHER_CHESTPLATE(299, 1, 80),
|
|
@Deprecated
|
|
LEGACY_LEATHER_LEGGINGS(300, 1, 75),
|
|
@Deprecated
|
|
LEGACY_LEATHER_BOOTS(301, 1, 65),
|
|
@Deprecated
|
|
LEGACY_CHAINMAIL_HELMET(302, 1, 165),
|
|
@Deprecated
|
|
LEGACY_CHAINMAIL_CHESTPLATE(303, 1, 240),
|
|
@Deprecated
|
|
LEGACY_CHAINMAIL_LEGGINGS(304, 1, 225),
|
|
@Deprecated
|
|
LEGACY_CHAINMAIL_BOOTS(305, 1, 195),
|
|
@Deprecated
|
|
LEGACY_IRON_HELMET(306, 1, 165),
|
|
@Deprecated
|
|
LEGACY_IRON_CHESTPLATE(307, 1, 240),
|
|
@Deprecated
|
|
LEGACY_IRON_LEGGINGS(308, 1, 225),
|
|
@Deprecated
|
|
LEGACY_IRON_BOOTS(309, 1, 195),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_HELMET(310, 1, 363),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_CHESTPLATE(311, 1, 528),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_LEGGINGS(312, 1, 495),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_BOOTS(313, 1, 429),
|
|
@Deprecated
|
|
LEGACY_GOLD_HELMET(314, 1, 77),
|
|
@Deprecated
|
|
LEGACY_GOLD_CHESTPLATE(315, 1, 112),
|
|
@Deprecated
|
|
LEGACY_GOLD_LEGGINGS(316, 1, 105),
|
|
@Deprecated
|
|
LEGACY_GOLD_BOOTS(317, 1, 91),
|
|
@Deprecated
|
|
LEGACY_FLINT(318),
|
|
@Deprecated
|
|
LEGACY_PORK(319),
|
|
@Deprecated
|
|
LEGACY_GRILLED_PORK(320),
|
|
@Deprecated
|
|
LEGACY_PAINTING(321),
|
|
@Deprecated
|
|
LEGACY_GOLDEN_APPLE(322),
|
|
@Deprecated
|
|
LEGACY_SIGN(323, 16),
|
|
@Deprecated
|
|
LEGACY_WOOD_DOOR(324, 64),
|
|
@Deprecated
|
|
LEGACY_BUCKET(325, 16),
|
|
@Deprecated
|
|
LEGACY_WATER_BUCKET(326, 1),
|
|
@Deprecated
|
|
LEGACY_LAVA_BUCKET(327, 1),
|
|
@Deprecated
|
|
LEGACY_MINECART(328, 1),
|
|
@Deprecated
|
|
LEGACY_SADDLE(329, 1),
|
|
@Deprecated
|
|
LEGACY_IRON_DOOR(330, 64),
|
|
@Deprecated
|
|
LEGACY_REDSTONE(331),
|
|
@Deprecated
|
|
LEGACY_SNOW_BALL(332, 16),
|
|
@Deprecated
|
|
LEGACY_BOAT(333, 1),
|
|
@Deprecated
|
|
LEGACY_LEATHER(334),
|
|
@Deprecated
|
|
LEGACY_MILK_BUCKET(335, 1),
|
|
@Deprecated
|
|
LEGACY_CLAY_BRICK(336),
|
|
@Deprecated
|
|
LEGACY_CLAY_BALL(337),
|
|
@Deprecated
|
|
LEGACY_SUGAR_CANE(338),
|
|
@Deprecated
|
|
LEGACY_PAPER(339),
|
|
@Deprecated
|
|
LEGACY_BOOK(340),
|
|
@Deprecated
|
|
LEGACY_SLIME_BALL(341),
|
|
@Deprecated
|
|
LEGACY_STORAGE_MINECART(342, 1),
|
|
@Deprecated
|
|
LEGACY_POWERED_MINECART(343, 1),
|
|
@Deprecated
|
|
LEGACY_EGG(344, 16),
|
|
@Deprecated
|
|
LEGACY_COMPASS(345),
|
|
@Deprecated
|
|
LEGACY_FISHING_ROD(346, 1, 64),
|
|
@Deprecated
|
|
LEGACY_WATCH(347),
|
|
@Deprecated
|
|
LEGACY_GLOWSTONE_DUST(348),
|
|
@Deprecated
|
|
LEGACY_RAW_FISH(349),
|
|
@Deprecated
|
|
LEGACY_COOKED_FISH(350),
|
|
@Deprecated
|
|
LEGACY_INK_SACK(351, org.bukkit.material.Dye.class),
|
|
@Deprecated
|
|
LEGACY_BONE(352),
|
|
@Deprecated
|
|
LEGACY_SUGAR(353),
|
|
@Deprecated
|
|
LEGACY_CAKE(354, 1),
|
|
@Deprecated
|
|
LEGACY_BED(355, 1),
|
|
@Deprecated
|
|
LEGACY_DIODE(356),
|
|
@Deprecated
|
|
LEGACY_COOKIE(357),
|
|
/**
|
|
* @see org.bukkit.map.MapView
|
|
*/
|
|
@Deprecated
|
|
LEGACY_MAP(358, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_SHEARS(359, 1, 238),
|
|
@Deprecated
|
|
LEGACY_MELON(360),
|
|
@Deprecated
|
|
LEGACY_PUMPKIN_SEEDS(361),
|
|
@Deprecated
|
|
LEGACY_MELON_SEEDS(362),
|
|
@Deprecated
|
|
LEGACY_RAW_BEEF(363),
|
|
@Deprecated
|
|
LEGACY_COOKED_BEEF(364),
|
|
@Deprecated
|
|
LEGACY_RAW_CHICKEN(365),
|
|
@Deprecated
|
|
LEGACY_COOKED_CHICKEN(366),
|
|
@Deprecated
|
|
LEGACY_ROTTEN_FLESH(367),
|
|
@Deprecated
|
|
LEGACY_ENDER_PEARL(368, 16),
|
|
@Deprecated
|
|
LEGACY_BLAZE_ROD(369),
|
|
@Deprecated
|
|
LEGACY_GHAST_TEAR(370),
|
|
@Deprecated
|
|
LEGACY_GOLD_NUGGET(371),
|
|
@Deprecated
|
|
LEGACY_NETHER_STALK(372),
|
|
@Deprecated
|
|
LEGACY_POTION(373, 1, org.bukkit.material.MaterialData.class),
|
|
@Deprecated
|
|
LEGACY_GLASS_BOTTLE(374),
|
|
@Deprecated
|
|
LEGACY_SPIDER_EYE(375),
|
|
@Deprecated
|
|
LEGACY_FERMENTED_SPIDER_EYE(376),
|
|
@Deprecated
|
|
LEGACY_BLAZE_POWDER(377),
|
|
@Deprecated
|
|
LEGACY_MAGMA_CREAM(378),
|
|
@Deprecated
|
|
LEGACY_BREWING_STAND_ITEM(379),
|
|
@Deprecated
|
|
LEGACY_CAULDRON_ITEM(380),
|
|
@Deprecated
|
|
LEGACY_EYE_OF_ENDER(381),
|
|
@Deprecated
|
|
LEGACY_SPECKLED_MELON(382),
|
|
@Deprecated
|
|
LEGACY_MONSTER_EGG(383, 64, org.bukkit.material.SpawnEgg.class),
|
|
@Deprecated
|
|
LEGACY_EXP_BOTTLE(384, 64),
|
|
@Deprecated
|
|
LEGACY_FIREBALL(385, 64),
|
|
@Deprecated
|
|
LEGACY_BOOK_AND_QUILL(386, 1),
|
|
@Deprecated
|
|
LEGACY_WRITTEN_BOOK(387, 16),
|
|
@Deprecated
|
|
LEGACY_EMERALD(388, 64),
|
|
@Deprecated
|
|
LEGACY_ITEM_FRAME(389),
|
|
@Deprecated
|
|
LEGACY_FLOWER_POT_ITEM(390),
|
|
@Deprecated
|
|
LEGACY_CARROT_ITEM(391),
|
|
@Deprecated
|
|
LEGACY_POTATO_ITEM(392),
|
|
@Deprecated
|
|
LEGACY_BAKED_POTATO(393),
|
|
@Deprecated
|
|
LEGACY_POISONOUS_POTATO(394),
|
|
@Deprecated
|
|
LEGACY_EMPTY_MAP(395),
|
|
@Deprecated
|
|
LEGACY_GOLDEN_CARROT(396),
|
|
@Deprecated
|
|
LEGACY_SKULL_ITEM(397),
|
|
@Deprecated
|
|
LEGACY_CARROT_STICK(398, 1, 25),
|
|
@Deprecated
|
|
LEGACY_NETHER_STAR(399),
|
|
@Deprecated
|
|
LEGACY_PUMPKIN_PIE(400),
|
|
@Deprecated
|
|
LEGACY_FIREWORK(401),
|
|
@Deprecated
|
|
LEGACY_FIREWORK_CHARGE(402),
|
|
@Deprecated
|
|
LEGACY_ENCHANTED_BOOK(403, 1),
|
|
@Deprecated
|
|
LEGACY_REDSTONE_COMPARATOR(404),
|
|
@Deprecated
|
|
LEGACY_NETHER_BRICK_ITEM(405),
|
|
@Deprecated
|
|
LEGACY_QUARTZ(406),
|
|
@Deprecated
|
|
LEGACY_EXPLOSIVE_MINECART(407, 1),
|
|
@Deprecated
|
|
LEGACY_HOPPER_MINECART(408, 1),
|
|
@Deprecated
|
|
LEGACY_PRISMARINE_SHARD(409),
|
|
@Deprecated
|
|
LEGACY_PRISMARINE_CRYSTALS(410),
|
|
@Deprecated
|
|
LEGACY_RABBIT(411),
|
|
@Deprecated
|
|
LEGACY_COOKED_RABBIT(412),
|
|
@Deprecated
|
|
LEGACY_RABBIT_STEW(413, 1),
|
|
@Deprecated
|
|
LEGACY_RABBIT_FOOT(414),
|
|
@Deprecated
|
|
LEGACY_RABBIT_HIDE(415),
|
|
@Deprecated
|
|
LEGACY_ARMOR_STAND(416, 16),
|
|
@Deprecated
|
|
LEGACY_IRON_BARDING(417, 1),
|
|
@Deprecated
|
|
LEGACY_GOLD_BARDING(418, 1),
|
|
@Deprecated
|
|
LEGACY_DIAMOND_BARDING(419, 1),
|
|
@Deprecated
|
|
LEGACY_LEASH(420),
|
|
@Deprecated
|
|
LEGACY_NAME_TAG(421),
|
|
@Deprecated
|
|
LEGACY_COMMAND_MINECART(422, 1),
|
|
@Deprecated
|
|
LEGACY_MUTTON(423),
|
|
@Deprecated
|
|
LEGACY_COOKED_MUTTON(424),
|
|
@Deprecated
|
|
LEGACY_BANNER(425, 16),
|
|
@Deprecated
|
|
LEGACY_END_CRYSTAL(426),
|
|
@Deprecated
|
|
LEGACY_SPRUCE_DOOR_ITEM(427),
|
|
@Deprecated
|
|
LEGACY_BIRCH_DOOR_ITEM(428),
|
|
@Deprecated
|
|
LEGACY_JUNGLE_DOOR_ITEM(429),
|
|
@Deprecated
|
|
LEGACY_ACACIA_DOOR_ITEM(430),
|
|
@Deprecated
|
|
LEGACY_DARK_OAK_DOOR_ITEM(431),
|
|
@Deprecated
|
|
LEGACY_CHORUS_FRUIT(432),
|
|
@Deprecated
|
|
LEGACY_CHORUS_FRUIT_POPPED(433),
|
|
@Deprecated
|
|
LEGACY_BEETROOT(434),
|
|
@Deprecated
|
|
LEGACY_BEETROOT_SEEDS(435),
|
|
@Deprecated
|
|
LEGACY_BEETROOT_SOUP(436, 1),
|
|
@Deprecated
|
|
LEGACY_DRAGONS_BREATH(437),
|
|
@Deprecated
|
|
LEGACY_SPLASH_POTION(438, 1),
|
|
@Deprecated
|
|
LEGACY_SPECTRAL_ARROW(439),
|
|
@Deprecated
|
|
LEGACY_TIPPED_ARROW(440),
|
|
@Deprecated
|
|
LEGACY_LINGERING_POTION(441, 1),
|
|
@Deprecated
|
|
LEGACY_SHIELD(442, 1, 336),
|
|
@Deprecated
|
|
LEGACY_ELYTRA(443, 1, 431),
|
|
@Deprecated
|
|
LEGACY_BOAT_SPRUCE(444, 1),
|
|
@Deprecated
|
|
LEGACY_BOAT_BIRCH(445, 1),
|
|
@Deprecated
|
|
LEGACY_BOAT_JUNGLE(446, 1),
|
|
@Deprecated
|
|
LEGACY_BOAT_ACACIA(447, 1),
|
|
@Deprecated
|
|
LEGACY_BOAT_DARK_OAK(448, 1),
|
|
@Deprecated
|
|
LEGACY_TOTEM(449, 1),
|
|
@Deprecated
|
|
LEGACY_SHULKER_SHELL(450),
|
|
@Deprecated
|
|
LEGACY_IRON_NUGGET(452),
|
|
@Deprecated
|
|
LEGACY_KNOWLEDGE_BOOK(453, 1),
|
|
@Deprecated
|
|
LEGACY_GOLD_RECORD(2256, 1),
|
|
@Deprecated
|
|
LEGACY_GREEN_RECORD(2257, 1),
|
|
@Deprecated
|
|
LEGACY_RECORD_3(2258, 1),
|
|
@Deprecated
|
|
LEGACY_RECORD_4(2259, 1),
|
|
@Deprecated
|
|
LEGACY_RECORD_5(2260, 1),
|
|
@Deprecated
|
|
LEGACY_RECORD_6(2261, 1),
|
|
@Deprecated
|
|
LEGACY_RECORD_7(2262, 1),
|
|
@Deprecated
|
|
LEGACY_RECORD_8(2263, 1),
|
|
@Deprecated
|
|
LEGACY_RECORD_9(2264, 1),
|
|
@Deprecated
|
|
LEGACY_RECORD_10(2265, 1),
|
|
@Deprecated
|
|
LEGACY_RECORD_11(2266, 1),
|
|
@Deprecated
|
|
LEGACY_RECORD_12(2267, 1),
|
|
;
|
|
//</editor-fold>
|
|
|
|
@Deprecated
|
|
public static final String LEGACY_PREFIX = "LEGACY_";
|
|
|
|
private final int id;
|
|
private final Constructor<? extends MaterialData> ctor;
|
|
private static final Map<String, Material> BY_NAME = Maps.newHashMap();
|
|
private final int maxStack;
|
|
private final short durability;
|
|
public final Class<?> data;
|
|
private final boolean legacy;
|
|
private final NamespacedKey key;
|
|
private final Supplier<ItemType> itemType;
|
|
private final Supplier<BlockType> blockType;
|
|
|
|
private Material(final int id) {
|
|
this(id, 64);
|
|
}
|
|
|
|
private Material(final int id, final int stack) {
|
|
this(id, stack, MaterialData.class);
|
|
}
|
|
|
|
private Material(final int id, final int stack, final int durability) {
|
|
this(id, stack, durability, MaterialData.class);
|
|
}
|
|
|
|
private Material(final int id, /*@NotNull*/ final Class<?> data) {
|
|
this(id, 64, data);
|
|
}
|
|
|
|
private Material(final int id, final int stack, /*@NotNull*/ final Class<?> data) {
|
|
this(id, stack, 0, data);
|
|
}
|
|
|
|
private Material(final int id, final int stack, final int durability, /*@NotNull*/ final Class<?> data) {
|
|
this.id = id;
|
|
this.durability = (short) durability;
|
|
this.maxStack = stack;
|
|
this.data = data;
|
|
this.legacy = this.name().startsWith(LEGACY_PREFIX);
|
|
this.key = NamespacedKey.minecraft(this.name().toLowerCase(Locale.ROOT));
|
|
// try to cache the constructor for this material
|
|
try {
|
|
if (MaterialData.class.isAssignableFrom(data)) {
|
|
this.ctor = (Constructor<? extends MaterialData>) data.getConstructor(Material.class, byte.class);
|
|
} else {
|
|
this.ctor = null;
|
|
}
|
|
} catch (NoSuchMethodException ex) {
|
|
throw new AssertionError(ex);
|
|
} catch (SecurityException ex) {
|
|
throw new AssertionError(ex);
|
|
}
|
|
|
|
this.itemType = Suppliers.memoize(() -> {
|
|
Material material = this;
|
|
if (isLegacy()) {
|
|
material = Bukkit.getUnsafe().fromLegacy(new MaterialData(this), true);
|
|
}
|
|
return Registry.ITEM.get(material.key);
|
|
});
|
|
this.blockType = Suppliers.memoize(() -> {
|
|
Material material = this;
|
|
if (isLegacy()) {
|
|
material = Bukkit.getUnsafe().fromLegacy(new MaterialData(this), false);
|
|
}
|
|
return Registry.BLOCK.get(material.key);
|
|
});
|
|
}
|
|
|
|
// Paper start
|
|
|
|
/**
|
|
* @return If the type is either AIR, CAVE_AIR or VOID_AIR
|
|
*/
|
|
public boolean isEmpty() {
|
|
switch (this) {
|
|
case AIR:
|
|
case CAVE_AIR:
|
|
case VOID_AIR:
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
// Paper end
|
|
|
|
// Paper start - add Translatable
|
|
@Override
|
|
public @NotNull String translationKey() {
|
|
if (this.isItem()) {
|
|
return java.util.Objects.requireNonNull(this.asItemType()).translationKey();
|
|
} else {
|
|
return java.util.Objects.requireNonNull(this.asBlockType()).translationKey();
|
|
}
|
|
}
|
|
// Paper end - add Translatable
|
|
|
|
// Paper start - item rarity API
|
|
/**
|
|
* Returns the item rarity for the item. The Material <b>MUST</b> be an Item not a block.
|
|
* Use {@link #isItem()} before this.
|
|
*
|
|
* @return the item rarity
|
|
* @deprecated use {@link org.bukkit.inventory.meta.ItemMeta#hasRarity()} and {@link org.bukkit.inventory.meta.ItemMeta#getRarity()}
|
|
*/
|
|
@NotNull
|
|
@Deprecated(forRemoval = true, since = "1.20.5")
|
|
public io.papermc.paper.inventory.ItemRarity getItemRarity() {
|
|
return new org.bukkit.inventory.ItemStack(this).getRarity();
|
|
}
|
|
// Paper end - item rarity API
|
|
|
|
// Paper start - item default attributes API
|
|
/**
|
|
* Returns an immutable multimap of attributes for the slot.
|
|
* {@link #isItem()} must be true for this material.
|
|
*
|
|
* @param equipmentSlot the slot to get the attributes for
|
|
* @throws IllegalArgumentException if {@link #isItem()} is false
|
|
* @return an immutable multimap of attributes
|
|
* @deprecated use {@link #getDefaultAttributeModifiers(EquipmentSlot)}
|
|
*/
|
|
@NotNull
|
|
@Deprecated(forRemoval = true, since = "1.20.5")
|
|
public Multimap<Attribute, AttributeModifier> getItemAttributes(@NotNull EquipmentSlot equipmentSlot) {
|
|
return this.getDefaultAttributeModifiers(equipmentSlot);
|
|
}
|
|
// Paper end - item default attributes API
|
|
|
|
// Paper start - isCollidable API
|
|
/**
|
|
* Checks if this material is collidable.
|
|
*
|
|
* @return true if collidable
|
|
* @throws IllegalArgumentException if {@link #isBlock()} is false
|
|
*/
|
|
public boolean isCollidable() {
|
|
if (this.isBlock()) {
|
|
return this.asBlockType().hasCollision();
|
|
}
|
|
throw new IllegalArgumentException(this + " isn't a block type");
|
|
}
|
|
// Paper end - isCollidable API
|
|
|
|
/**
|
|
* Do not use for any reason.
|
|
*
|
|
* @return ID of this material
|
|
* @apiNote Internal Use Only
|
|
*/
|
|
@ApiStatus.Internal // Paper
|
|
public int getId() {
|
|
Preconditions.checkArgument(legacy, "Cannot get ID of Modern Material");
|
|
return id;
|
|
}
|
|
|
|
/**
|
|
* Checks if this constant is a legacy material.
|
|
*
|
|
* @return legacy status
|
|
*/
|
|
// @Deprecated // Paper - this is useful, don't deprecate
|
|
public boolean isLegacy() {
|
|
return legacy;
|
|
}
|
|
|
|
@NotNull
|
|
@Override
|
|
public NamespacedKey getKey() {
|
|
Preconditions.checkArgument(!legacy, "Cannot get key of Legacy Material");
|
|
return key;
|
|
}
|
|
|
|
/**
|
|
* Gets the maximum amount of this material that can be held in a stack.
|
|
* <p>
|
|
* Note that this is the <strong>default</strong> maximum size for this Material.
|
|
* {@link ItemStack ItemStacks} are able to change their maximum stack size per
|
|
* stack with {@link ItemMeta#setMaxStackSize(Integer)}. If an ItemStack instance
|
|
* is available, {@link ItemStack#getMaxStackSize()} may be preferred.
|
|
*
|
|
* @return Maximum stack size for this material
|
|
*/
|
|
public int getMaxStackSize() {
|
|
return maxStack;
|
|
}
|
|
|
|
/**
|
|
* Gets the maximum durability of this material
|
|
*
|
|
* @return Maximum durability for this material
|
|
*/
|
|
public short getMaxDurability() {
|
|
return durability;
|
|
}
|
|
|
|
/**
|
|
* Creates a new {@link BlockData} instance for this Material, with all
|
|
* properties initialized to unspecified defaults.
|
|
*
|
|
* @return new data instance
|
|
*/
|
|
@NotNull
|
|
public BlockData createBlockData() {
|
|
return Bukkit.createBlockData(this);
|
|
}
|
|
|
|
/**
|
|
* Creates a new {@link BlockData} instance for this Material, with
|
|
* all properties initialized to unspecified defaults.
|
|
*
|
|
* @param consumer consumer to run on new instance before returning
|
|
* @return new data instance
|
|
*/
|
|
@NotNull
|
|
public BlockData createBlockData(@Nullable Consumer<? super BlockData> consumer) {
|
|
return Bukkit.createBlockData(this, consumer);
|
|
}
|
|
|
|
/**
|
|
* Creates a new {@link BlockData} instance for this Material, with all
|
|
* properties initialized to unspecified defaults, except for those provided
|
|
* in data.
|
|
*
|
|
* @param data data string
|
|
* @return new data instance
|
|
* @throws IllegalArgumentException if the specified data is not valid
|
|
*/
|
|
@NotNull
|
|
public BlockData createBlockData(@Nullable String data) throws IllegalArgumentException {
|
|
return Bukkit.createBlockData(this, data);
|
|
}
|
|
|
|
/**
|
|
* Gets the MaterialData class associated with this Material
|
|
*
|
|
* @return MaterialData associated with this Material
|
|
* @deprecated use {@link #createBlockData()}
|
|
*/
|
|
@NotNull
|
|
@Deprecated // Paper
|
|
public Class<? extends MaterialData> getData() {
|
|
Preconditions.checkArgument(legacy, "Cannot get data class of Modern Material");
|
|
return ctor.getDeclaringClass();
|
|
}
|
|
|
|
/**
|
|
* Constructs a new MaterialData relevant for this Material, with the
|
|
* given initial data
|
|
*
|
|
* @param raw Initial data to construct the MaterialData with
|
|
* @return New MaterialData with the given data
|
|
* @deprecated Magic value
|
|
*/
|
|
@Deprecated
|
|
@NotNull
|
|
public MaterialData getNewData(final byte raw) {
|
|
Preconditions.checkArgument(legacy, "Cannot get new data of Modern Material");
|
|
try {
|
|
return ctor.newInstance(this, raw);
|
|
} catch (InstantiationException ex) {
|
|
final Throwable t = ex.getCause();
|
|
if (t instanceof RuntimeException) {
|
|
throw (RuntimeException) t;
|
|
}
|
|
if (t instanceof Error) {
|
|
throw (Error) t;
|
|
}
|
|
throw new AssertionError(t);
|
|
} catch (Throwable t) {
|
|
throw new AssertionError(t);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Checks if this Material is a placable block
|
|
*
|
|
* @return true if this material is a block
|
|
*/
|
|
public boolean isBlock() {
|
|
return asBlockType() != null;
|
|
}
|
|
|
|
/**
|
|
* Checks if this Material is edible.
|
|
*
|
|
* @return true if this Material is edible.
|
|
*/
|
|
public boolean isEdible() {
|
|
ItemType type = asItemType();
|
|
return type == null ? false : type.isEdible();
|
|
}
|
|
|
|
/**
|
|
* Attempts to get the Material with the given name.
|
|
* <p>
|
|
* This is a normal lookup, names must be the precise name they are given
|
|
* in the enum.
|
|
*
|
|
* @param name Name of the material to get
|
|
* @return Material if found, or null
|
|
*/
|
|
@Nullable
|
|
public static Material getMaterial(@NotNull final String name) {
|
|
return getMaterial(name, false);
|
|
}
|
|
|
|
/**
|
|
* Attempts to get the Material with the given name.
|
|
* <p>
|
|
* This is a normal lookup, names must be the precise name they are given in
|
|
* the enum (but optionally including the LEGACY_PREFIX if legacyName is
|
|
* true).
|
|
* <p>
|
|
* If legacyName is true, then the lookup will be against legacy materials,
|
|
* but the returned Material will be a modern material (ie this method is
|
|
* useful for updating stored data).
|
|
*
|
|
* @param name Name of the material to get
|
|
* @param legacyName whether this is a legacy name lookup
|
|
* @return Material if found, or null
|
|
*/
|
|
@Nullable
|
|
public static Material getMaterial(@NotNull String name, boolean legacyName) {
|
|
if (legacyName) {
|
|
if (!name.startsWith(LEGACY_PREFIX)) {
|
|
name = LEGACY_PREFIX + name;
|
|
}
|
|
|
|
Material match = BY_NAME.get(name);
|
|
return Bukkit.getUnsafe().fromLegacy(match);
|
|
}
|
|
|
|
return BY_NAME.get(name);
|
|
}
|
|
|
|
/**
|
|
* Attempts to match the Material with the given name.
|
|
* <p>
|
|
* This is a match lookup; names will be stripped of the "minecraft:"
|
|
* namespace, converted to uppercase, then stripped of special characters in
|
|
* an attempt to format it like the enum.
|
|
*
|
|
* @param name Name of the material to get
|
|
* @return Material if found, or null
|
|
*/
|
|
@Nullable
|
|
public static Material matchMaterial(@NotNull final String name) {
|
|
return matchMaterial(name, false);
|
|
}
|
|
|
|
/**
|
|
* Attempts to match the Material with the given name.
|
|
* <p>
|
|
* This is a match lookup; names will be stripped of the "minecraft:"
|
|
* namespace, converted to uppercase, then stripped of special characters in
|
|
* an attempt to format it like the enum.
|
|
*
|
|
* @param name Name of the material to get
|
|
* @param legacyName whether this is a legacy name (see
|
|
* {@link #getMaterial(java.lang.String, boolean)}
|
|
* @return Material if found, or null
|
|
*/
|
|
@Nullable
|
|
public static Material matchMaterial(@NotNull final String name, boolean legacyName) {
|
|
Preconditions.checkArgument(name != null, "Name cannot be null");
|
|
|
|
String filtered = name;
|
|
if (filtered.startsWith(NamespacedKey.MINECRAFT + ":")) {
|
|
filtered = filtered.substring((NamespacedKey.MINECRAFT + ":").length());
|
|
}
|
|
|
|
filtered = filtered.toUpperCase(Locale.ROOT);
|
|
|
|
filtered = filtered.replaceAll("\\s+", "_").replaceAll("\\W", "");
|
|
return getMaterial(filtered, legacyName);
|
|
}
|
|
|
|
static {
|
|
for (Material material : values()) {
|
|
BY_NAME.put(material.name(), material);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @return True if this material represents a playable music disk.
|
|
*/
|
|
public boolean isRecord() {
|
|
ItemType type = asItemType();
|
|
return type != null && type.isRecord();
|
|
}
|
|
|
|
/**
|
|
* Check if the material is a block and solid (can be built upon)
|
|
*
|
|
* @return True if this material is a block and solid
|
|
*/
|
|
public boolean isSolid() {
|
|
BlockType type = asBlockType();
|
|
return type != null && type.isSolid();
|
|
}
|
|
|
|
/**
|
|
* Check if the material is an air block.
|
|
*
|
|
* @return True if this material is an air block.
|
|
*/
|
|
public boolean isAir() {
|
|
BlockType type = asBlockType();
|
|
return type != null && type.isAir();
|
|
}
|
|
|
|
/**
|
|
* Check if the material is a block and does not block any light
|
|
*
|
|
* @return True if this material is a block and does not block any light
|
|
* @deprecated currently does not have an implementation which is well
|
|
* linked to the underlying server. Contributions welcome.
|
|
*/
|
|
@Deprecated
|
|
public boolean isTransparent() {
|
|
if (!isBlock()) {
|
|
return false;
|
|
}
|
|
switch (this) {
|
|
//<editor-fold defaultstate="collapsed" desc="isTransparent">
|
|
// Paper start - Generated/Material#isTransparent
|
|
case ACACIA_BUTTON:
|
|
case ACACIA_SAPLING:
|
|
case ACTIVATOR_RAIL:
|
|
case AIR:
|
|
case ALLIUM:
|
|
case ATTACHED_MELON_STEM:
|
|
case ATTACHED_PUMPKIN_STEM:
|
|
case AZURE_BLUET:
|
|
case BARRIER:
|
|
case BEETROOTS:
|
|
case BIRCH_BUTTON:
|
|
case BIRCH_SAPLING:
|
|
case BLACK_CARPET:
|
|
case BLUE_CARPET:
|
|
case BLUE_ORCHID:
|
|
case BROWN_CARPET:
|
|
case BROWN_MUSHROOM:
|
|
case CARROTS:
|
|
case CAVE_AIR:
|
|
case CHORUS_FLOWER:
|
|
case CHORUS_PLANT:
|
|
case COCOA:
|
|
case COMPARATOR:
|
|
case CREEPER_HEAD:
|
|
case CREEPER_WALL_HEAD:
|
|
case CYAN_CARPET:
|
|
case DANDELION:
|
|
case DARK_OAK_BUTTON:
|
|
case DARK_OAK_SAPLING:
|
|
case DEAD_BUSH:
|
|
case DETECTOR_RAIL:
|
|
case DRAGON_HEAD:
|
|
case DRAGON_WALL_HEAD:
|
|
case END_GATEWAY:
|
|
case END_PORTAL:
|
|
case END_ROD:
|
|
case FERN:
|
|
case FIRE:
|
|
case FLOWER_POT:
|
|
case GRAY_CARPET:
|
|
case GREEN_CARPET:
|
|
case JUNGLE_BUTTON:
|
|
case JUNGLE_SAPLING:
|
|
case LADDER:
|
|
case LARGE_FERN:
|
|
case LEVER:
|
|
case LIGHT_BLUE_CARPET:
|
|
case LIGHT_GRAY_CARPET:
|
|
case LILAC:
|
|
case LILY_PAD:
|
|
case LIME_CARPET:
|
|
case MAGENTA_CARPET:
|
|
case MELON_STEM:
|
|
case NETHER_PORTAL:
|
|
case NETHER_WART:
|
|
case OAK_BUTTON:
|
|
case OAK_SAPLING:
|
|
case ORANGE_CARPET:
|
|
case ORANGE_TULIP:
|
|
case OXEYE_DAISY:
|
|
case PEONY:
|
|
case PINK_CARPET:
|
|
case PINK_TULIP:
|
|
case PLAYER_HEAD:
|
|
case PLAYER_WALL_HEAD:
|
|
case POPPY:
|
|
case POTATOES:
|
|
case POTTED_ACACIA_SAPLING:
|
|
case POTTED_ALLIUM:
|
|
case POTTED_AZALEA_BUSH:
|
|
case POTTED_AZURE_BLUET:
|
|
case POTTED_BIRCH_SAPLING:
|
|
case POTTED_BLUE_ORCHID:
|
|
case POTTED_BROWN_MUSHROOM:
|
|
case POTTED_CACTUS:
|
|
case POTTED_DANDELION:
|
|
case POTTED_DARK_OAK_SAPLING:
|
|
case POTTED_DEAD_BUSH:
|
|
case POTTED_FERN:
|
|
case POTTED_FLOWERING_AZALEA_BUSH:
|
|
case POTTED_JUNGLE_SAPLING:
|
|
case POTTED_OAK_SAPLING:
|
|
case POTTED_ORANGE_TULIP:
|
|
case POTTED_OXEYE_DAISY:
|
|
case POTTED_PINK_TULIP:
|
|
case POTTED_POPPY:
|
|
case POTTED_RED_MUSHROOM:
|
|
case POTTED_RED_TULIP:
|
|
case POTTED_SPRUCE_SAPLING:
|
|
case POTTED_WHITE_TULIP:
|
|
case POWERED_RAIL:
|
|
case PUMPKIN_STEM:
|
|
case PURPLE_CARPET:
|
|
case RAIL:
|
|
case REDSTONE_TORCH:
|
|
case REDSTONE_WALL_TORCH:
|
|
case REDSTONE_WIRE:
|
|
case RED_CARPET:
|
|
case RED_MUSHROOM:
|
|
case RED_TULIP:
|
|
case REPEATER:
|
|
case ROSE_BUSH:
|
|
case SHORT_GRASS:
|
|
case SKELETON_SKULL:
|
|
case SKELETON_WALL_SKULL:
|
|
case SNOW:
|
|
case SPRUCE_BUTTON:
|
|
case SPRUCE_SAPLING:
|
|
case STONE_BUTTON:
|
|
case STRUCTURE_VOID:
|
|
case SUGAR_CANE:
|
|
case SUNFLOWER:
|
|
case TALL_GRASS:
|
|
case TORCH:
|
|
case TRIPWIRE:
|
|
case TRIPWIRE_HOOK:
|
|
case VINE:
|
|
case VOID_AIR:
|
|
case WALL_TORCH:
|
|
case WHEAT:
|
|
case WHITE_CARPET:
|
|
case WHITE_TULIP:
|
|
case WITHER_SKELETON_SKULL:
|
|
case WITHER_SKELETON_WALL_SKULL:
|
|
case YELLOW_CARPET:
|
|
case ZOMBIE_HEAD:
|
|
case ZOMBIE_WALL_HEAD:
|
|
// Paper end - Generated/Material#isTransparent
|
|
// ----- Legacy Separator -----
|
|
case LEGACY_AIR:
|
|
case LEGACY_SAPLING:
|
|
case LEGACY_POWERED_RAIL:
|
|
case LEGACY_DETECTOR_RAIL:
|
|
case LEGACY_LONG_GRASS:
|
|
case LEGACY_DEAD_BUSH:
|
|
case LEGACY_YELLOW_FLOWER:
|
|
case LEGACY_RED_ROSE:
|
|
case LEGACY_BROWN_MUSHROOM:
|
|
case LEGACY_RED_MUSHROOM:
|
|
case LEGACY_TORCH:
|
|
case LEGACY_FIRE:
|
|
case LEGACY_REDSTONE_WIRE:
|
|
case LEGACY_CROPS:
|
|
case LEGACY_LADDER:
|
|
case LEGACY_RAILS:
|
|
case LEGACY_LEVER:
|
|
case LEGACY_REDSTONE_TORCH_OFF:
|
|
case LEGACY_REDSTONE_TORCH_ON:
|
|
case LEGACY_STONE_BUTTON:
|
|
case LEGACY_SNOW:
|
|
case LEGACY_SUGAR_CANE_BLOCK:
|
|
case LEGACY_PORTAL:
|
|
case LEGACY_DIODE_BLOCK_OFF:
|
|
case LEGACY_DIODE_BLOCK_ON:
|
|
case LEGACY_PUMPKIN_STEM:
|
|
case LEGACY_MELON_STEM:
|
|
case LEGACY_VINE:
|
|
case LEGACY_WATER_LILY:
|
|
case LEGACY_NETHER_WARTS:
|
|
case LEGACY_ENDER_PORTAL:
|
|
case LEGACY_COCOA:
|
|
case LEGACY_TRIPWIRE_HOOK:
|
|
case LEGACY_TRIPWIRE:
|
|
case LEGACY_FLOWER_POT:
|
|
case LEGACY_CARROT:
|
|
case LEGACY_POTATO:
|
|
case LEGACY_WOOD_BUTTON:
|
|
case LEGACY_SKULL:
|
|
case LEGACY_REDSTONE_COMPARATOR_OFF:
|
|
case LEGACY_REDSTONE_COMPARATOR_ON:
|
|
case LEGACY_ACTIVATOR_RAIL:
|
|
case LEGACY_CARPET:
|
|
case LEGACY_DOUBLE_PLANT:
|
|
case LEGACY_END_ROD:
|
|
case LEGACY_CHORUS_PLANT:
|
|
case LEGACY_CHORUS_FLOWER:
|
|
case LEGACY_BEETROOT_BLOCK:
|
|
case LEGACY_END_GATEWAY:
|
|
case LEGACY_STRUCTURE_VOID:
|
|
//</editor-fold>
|
|
return true;
|
|
default:
|
|
return false;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Check if the material is a block and can catch fire
|
|
*
|
|
* @return True if this material is a block and can catch fire
|
|
*/
|
|
public boolean isFlammable() {
|
|
BlockType type = asBlockType();
|
|
return type != null && type.isFlammable();
|
|
}
|
|
|
|
/**
|
|
* Check if the material is a block and can burn away
|
|
*
|
|
* @return True if this material is a block and can burn away
|
|
*/
|
|
public boolean isBurnable() {
|
|
BlockType type = asBlockType();
|
|
return type != null && type.isBurnable();
|
|
}
|
|
|
|
/**
|
|
* Checks if this Material can be used as fuel in a Furnace
|
|
*
|
|
* @return true if this Material can be used as fuel.
|
|
*/
|
|
public boolean isFuel() {
|
|
ItemType type = asItemType();
|
|
return type != null && type.isFuel();
|
|
}
|
|
|
|
/**
|
|
* Check if the material is a block and occludes light in the lighting engine.
|
|
* <p>
|
|
* Generally speaking, most full blocks will occlude light. Non-full blocks are
|
|
* not occluding (e.g. anvils, chests, tall grass, stairs, etc.), nor are specific
|
|
* full blocks such as barriers or spawners which block light despite their texture.
|
|
* <p>
|
|
* An occluding block will have the following effects:
|
|
* <ul>
|
|
* <li>Chests cannot be opened if an occluding block is above it.
|
|
* <li>Mobs cannot spawn inside of occluding blocks.
|
|
* <li>Only occluding blocks can be "powered" ({@link Block#isBlockPowered()}).
|
|
* </ul>
|
|
* This list may be inconclusive. For a full list of the side effects of an occluding
|
|
* block, see the <a href="https://minecraft.wiki/w/Opacity">Minecraft Wiki</a>.
|
|
*
|
|
* @return True if this material is a block and occludes light
|
|
*/
|
|
public boolean isOccluding() {
|
|
BlockType type = asBlockType();
|
|
return type != null && type.isOccluding();
|
|
}
|
|
|
|
/**
|
|
* @return True if this material is affected by gravity.
|
|
*/
|
|
public boolean hasGravity() {
|
|
BlockType type = asBlockType();
|
|
return type != null && type.hasGravity();
|
|
}
|
|
|
|
/**
|
|
* Checks if this Material is an obtainable item.
|
|
*
|
|
* @return true if this material is an item
|
|
*/
|
|
public boolean isItem() {
|
|
return asItemType() != null;
|
|
}
|
|
|
|
/**
|
|
* Checks if this Material can be interacted with.
|
|
*
|
|
* Interactable materials include those with functionality when they are
|
|
* interacted with by a player such as chests, furnaces, etc.
|
|
*
|
|
* Some blocks such as piston heads and stairs are considered interactable
|
|
* though may not perform any additional functionality.
|
|
*
|
|
* Note that the interactability of some materials may be dependant on their
|
|
* state as well. This method will return true if there is at least one
|
|
* state in which additional interact handling is performed for the
|
|
* material.
|
|
*
|
|
* @return true if this material can be interacted with.
|
|
* @deprecated This method is not comprehensive and does not accurately reflect what block types are
|
|
* interactable. Many "interactions" are defined on the item not block, and many are conditional on some other world state
|
|
* checks being true.
|
|
*/
|
|
@Deprecated // Paper
|
|
public boolean isInteractable() {
|
|
BlockType type = asBlockType();
|
|
return type != null && type.isInteractable();
|
|
}
|
|
|
|
/**
|
|
* Obtains the block's hardness level (also known as "strength").
|
|
* <br>
|
|
* This number is used to calculate the time required to break each block.
|
|
* <br>
|
|
* Only available when {@link #isBlock()} is true.
|
|
*
|
|
* @return the hardness of that material.
|
|
*/
|
|
public float getHardness() {
|
|
BlockType type = asBlockType();
|
|
Preconditions.checkArgument(type != null, "The Material is not a block!");
|
|
return type.getHardness();
|
|
|
|
}
|
|
|
|
/**
|
|
* Obtains the blast resistance value (also known as block "durability").
|
|
* <br>
|
|
* This value is used in explosions to calculate whether a block should be
|
|
* broken or not.
|
|
* <br>
|
|
* Only available when {@link #isBlock()} is true.
|
|
*
|
|
* @return the blast resistance of that material.
|
|
*/
|
|
public float getBlastResistance() {
|
|
BlockType type = asBlockType();
|
|
Preconditions.checkArgument(type != null, "The Material is not a block!");
|
|
return type.getBlastResistance();
|
|
}
|
|
|
|
/**
|
|
* Returns a value that represents how 'slippery' the block is.
|
|
*
|
|
* Blocks with higher slipperiness, like {@link Material#ICE} can be slid on
|
|
* further by the player and other entities.
|
|
*
|
|
* Most blocks have a default slipperiness of {@code 0.6f}.
|
|
*
|
|
* Only available when {@link #isBlock()} is true.
|
|
*
|
|
* @return the slipperiness of this block
|
|
*/
|
|
public float getSlipperiness() {
|
|
BlockType type = asBlockType();
|
|
Preconditions.checkArgument(type != null, "The Material is not a block!");
|
|
return type.getSlipperiness();
|
|
}
|
|
|
|
/**
|
|
* Determines the remaining item in a crafting grid after crafting with this
|
|
* ingredient.
|
|
* <br>
|
|
* Only available when {@link #isItem()} is true.
|
|
*
|
|
* @return the item left behind when crafting, or null if nothing is.
|
|
*/
|
|
@Nullable
|
|
public Material getCraftingRemainingItem() {
|
|
ItemType type = asItemType();
|
|
Preconditions.checkArgument(type != null, "The Material is not an item!");
|
|
return type.getCraftingRemainingItem() == null ? null : type.getCraftingRemainingItem().asMaterial();
|
|
}
|
|
|
|
/**
|
|
* Get the best suitable slot for this Material.
|
|
*
|
|
* For most items this will be {@link EquipmentSlot#HAND}.
|
|
*
|
|
* @return the best EquipmentSlot for this Material
|
|
*/
|
|
@NotNull
|
|
public EquipmentSlot getEquipmentSlot() {
|
|
Preconditions.checkArgument(isItem(), "The Material is not an item!");
|
|
switch (this) {
|
|
// <editor-fold defaultstate="collapsed" desc="getEquipmentSlot">
|
|
// Paper start - Generated/Material#getEquipmentSlot
|
|
// @GeneratedFrom 1.21.3
|
|
case BLACK_CARPET:
|
|
case BLUE_CARPET:
|
|
case BROWN_CARPET:
|
|
case CYAN_CARPET:
|
|
case DIAMOND_HORSE_ARMOR:
|
|
case GOLDEN_HORSE_ARMOR:
|
|
case GRAY_CARPET:
|
|
case GREEN_CARPET:
|
|
case IRON_HORSE_ARMOR:
|
|
case LEATHER_HORSE_ARMOR:
|
|
case LIGHT_BLUE_CARPET:
|
|
case LIGHT_GRAY_CARPET:
|
|
case LIME_CARPET:
|
|
case MAGENTA_CARPET:
|
|
case ORANGE_CARPET:
|
|
case PINK_CARPET:
|
|
case PURPLE_CARPET:
|
|
case RED_CARPET:
|
|
case WHITE_CARPET:
|
|
case WOLF_ARMOR:
|
|
case YELLOW_CARPET:
|
|
return EquipmentSlot.BODY;
|
|
case CARVED_PUMPKIN:
|
|
case CHAINMAIL_HELMET:
|
|
case CREEPER_HEAD:
|
|
case DIAMOND_HELMET:
|
|
case DRAGON_HEAD:
|
|
case GOLDEN_HELMET:
|
|
case IRON_HELMET:
|
|
case LEATHER_HELMET:
|
|
case NETHERITE_HELMET:
|
|
case PIGLIN_HEAD:
|
|
case PLAYER_HEAD:
|
|
case SKELETON_SKULL:
|
|
case TURTLE_HELMET:
|
|
case WITHER_SKELETON_SKULL:
|
|
case ZOMBIE_HEAD:
|
|
return EquipmentSlot.HEAD;
|
|
case CHAINMAIL_CHESTPLATE:
|
|
case DIAMOND_CHESTPLATE:
|
|
case ELYTRA:
|
|
case GOLDEN_CHESTPLATE:
|
|
case IRON_CHESTPLATE:
|
|
case LEATHER_CHESTPLATE:
|
|
case NETHERITE_CHESTPLATE:
|
|
return EquipmentSlot.CHEST;
|
|
case CHAINMAIL_LEGGINGS:
|
|
case DIAMOND_LEGGINGS:
|
|
case GOLDEN_LEGGINGS:
|
|
case IRON_LEGGINGS:
|
|
case LEATHER_LEGGINGS:
|
|
case NETHERITE_LEGGINGS:
|
|
return EquipmentSlot.LEGS;
|
|
case CHAINMAIL_BOOTS:
|
|
case DIAMOND_BOOTS:
|
|
case GOLDEN_BOOTS:
|
|
case IRON_BOOTS:
|
|
case LEATHER_BOOTS:
|
|
case NETHERITE_BOOTS:
|
|
return EquipmentSlot.FEET;
|
|
case SHIELD:
|
|
return EquipmentSlot.OFF_HAND;
|
|
default:
|
|
return EquipmentSlot.HAND;
|
|
// Paper end - Generated/Material#getEquipmentSlot
|
|
// </editor-fold>
|
|
}
|
|
}
|
|
|
|
// Paper start - improve default item attribute API
|
|
/**
|
|
* Return an immutable copy of all default {@link Attribute}s and their {@link AttributeModifier}s.
|
|
* <p>
|
|
* Default attributes are those that are always preset on some items, unless
|
|
* they are specifically overridden on that {@link ItemStack}. Examples include
|
|
* the attack damage on weapons or the armor value on armor.
|
|
* <p>
|
|
* Only available when {@link #isItem()} is true.
|
|
*
|
|
* @return the immutable {@link Multimap} with the respective default
|
|
* Attributes and modifiers, or an empty map if no attributes are set.
|
|
*/
|
|
public @NotNull @org.jetbrains.annotations.Unmodifiable Multimap<Attribute, AttributeModifier> getDefaultAttributeModifiers() {
|
|
final ItemType type = this.asItemType();
|
|
Preconditions.checkArgument(type != null, "The Material is not an item!");
|
|
return type.getDefaultAttributeModifiers();
|
|
}
|
|
// Paper end - improve default item attribute API
|
|
|
|
/**
|
|
* Return an immutable copy of all default {@link Attribute}s and their
|
|
* {@link AttributeModifier}s for a given {@link EquipmentSlot}.
|
|
* <p>
|
|
* Default attributes are those that are always preset on some items, unless
|
|
* they are specifically overridden on that {@link ItemStack}. Examples include
|
|
* the attack damage on weapons or the armor value on armor.
|
|
* <p>
|
|
* Only available when {@link #isItem()} is true.
|
|
*
|
|
* @param slot the {@link EquipmentSlot} to check
|
|
* @return the immutable {@link Multimap} with the respective default
|
|
* Attributes and modifiers, or an empty map if no attributes are set.
|
|
*/
|
|
@NotNull
|
|
public Multimap<Attribute, AttributeModifier> getDefaultAttributeModifiers(@NotNull EquipmentSlot slot) {
|
|
ItemType type = asItemType();
|
|
Preconditions.checkArgument(type != null, "The Material is not an item!");
|
|
return type.getDefaultAttributeModifiers(slot);
|
|
}
|
|
|
|
/**
|
|
* Get the {@link CreativeCategory} to which this material belongs.
|
|
*
|
|
* @return the creative category. null if does not belong to a category
|
|
*/
|
|
@Nullable
|
|
public CreativeCategory getCreativeCategory() {
|
|
ItemType type = asItemType();
|
|
return type == null ? null : type.getCreativeCategory();
|
|
}
|
|
|
|
/**
|
|
* Get the translation key of the item or block associated with this
|
|
* material.
|
|
*
|
|
* If this material has both an item and a block form, the item form is
|
|
* used.
|
|
*
|
|
* @return the translation key of the item or block associated with this
|
|
* material
|
|
* @see #getBlockTranslationKey()
|
|
* @see #getItemTranslationKey()
|
|
* @deprecated use {@link #translationKey()}
|
|
*/
|
|
@Override
|
|
@NotNull
|
|
@Deprecated(forRemoval = true) // Paper
|
|
public String getTranslationKey() {
|
|
if (this.isItem()) {
|
|
return asItemType().getTranslationKey();
|
|
} else {
|
|
return asBlockType().getTranslationKey();
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Get the translation key of the block associated with this material, or
|
|
* null if this material does not have an associated block.
|
|
*
|
|
* @return the translation key of the block associated with this material,
|
|
* or null if this material does not have an associated block
|
|
*/
|
|
@Nullable
|
|
public String getBlockTranslationKey() {
|
|
BlockType type = asBlockType();
|
|
return type == null ? null : type.getTranslationKey();
|
|
}
|
|
|
|
/**
|
|
* Get the translation key of the item associated with this material, or
|
|
* null if this material does not have an associated item.
|
|
*
|
|
* @return the translation key of the item associated with this material, or
|
|
* null if this material does not have an associated item.
|
|
*/
|
|
@Nullable
|
|
public String getItemTranslationKey() {
|
|
ItemType type = asItemType();
|
|
return type == null ? null : type.getTranslationKey();
|
|
}
|
|
|
|
/**
|
|
* Gets if the Material is enabled by the features in a world.
|
|
*
|
|
* @param world the world to check
|
|
* @return true if this material can be used in this World.
|
|
*/
|
|
@Deprecated(forRemoval = true, since = "1.20") // Paper
|
|
public boolean isEnabledByFeature(@NotNull World world) {
|
|
if (isItem()) {
|
|
return Bukkit.getDataPackManager().isEnabledByFeature(asItemType(), world);
|
|
}
|
|
|
|
return Bukkit.getDataPackManager().isEnabledByFeature(asBlockType(), world);
|
|
}
|
|
|
|
/**
|
|
* Checks whether this material is compostable (can be inserted into a
|
|
* composter).
|
|
*
|
|
* @return true if this material is compostable
|
|
* @see #getCompostChance()
|
|
*/
|
|
public boolean isCompostable() {
|
|
return isItem() && asItemType().isCompostable();
|
|
}
|
|
|
|
/**
|
|
* Get the chance that this material will successfully compost. The returned
|
|
* value is between 0 and 1 (inclusive).
|
|
*
|
|
* Materials with a compost chance of 1 will always raise the composter's
|
|
* level, while materials with a compost chance of 0 will never raise it.
|
|
*
|
|
* Plugins should check that {@link #isCompostable} returns true before
|
|
* calling this method.
|
|
*
|
|
* @return the chance that this material will successfully compost
|
|
* @throws IllegalArgumentException if the material is not compostable
|
|
* @see #isCompostable()
|
|
*/
|
|
public float getCompostChance() {
|
|
ItemType type = asItemType();
|
|
Preconditions.checkArgument(type != null, "The Material is not an item!");
|
|
return type.getCompostChance();
|
|
}
|
|
|
|
/**
|
|
* Tries to convert this Material to an item type
|
|
*
|
|
* @return the converted item type or null
|
|
* @apiNote only for internal use
|
|
*/
|
|
@ApiStatus.Internal
|
|
@Nullable
|
|
@org.jetbrains.annotations.Contract(pure = true) // Paper
|
|
public ItemType asItemType() {
|
|
return itemType.get();
|
|
}
|
|
|
|
/**
|
|
* Tries to convert this Material to a block type
|
|
*
|
|
* @return the converted block type or null
|
|
* @apiNote only for internal use
|
|
*/
|
|
@ApiStatus.Internal
|
|
@Nullable
|
|
@org.jetbrains.annotations.Contract(pure = true) // Paper
|
|
public BlockType asBlockType() {
|
|
return blockType.get();
|
|
}
|
|
|
|
// Paper start - data component API
|
|
/**
|
|
* Gets the default value of the data component type for this item type.
|
|
*
|
|
* @param type the data component type
|
|
* @param <T> the value type
|
|
* @return the default value or {@code null} if there is none
|
|
* @see #hasDefaultData(io.papermc.paper.datacomponent.DataComponentType) for DataComponentType.NonValued
|
|
* @throws IllegalArgumentException if {@link #isItem()} is {@code false}
|
|
*/
|
|
public @Nullable <T> T getDefaultData(final io.papermc.paper.datacomponent.DataComponentType.@NotNull Valued<T> type) {
|
|
Preconditions.checkArgument(this.asItemType() != null);
|
|
return this.asItemType().getDefaultData(type);
|
|
}
|
|
|
|
/**
|
|
* Checks if the data component type has a default value for this item type.
|
|
*
|
|
* @param type the data component type
|
|
* @return {@code true} if there is a default value
|
|
* @throws IllegalArgumentException if {@link #isItem()} is {@code false}
|
|
*/
|
|
public boolean hasDefaultData(final io.papermc.paper.datacomponent.@NotNull DataComponentType type) {
|
|
Preconditions.checkArgument(this.asItemType() != null);
|
|
return this.asItemType().hasDefaultData(type);
|
|
}
|
|
|
|
/**
|
|
* Gets the default data component types for this item type.
|
|
*
|
|
* @return an immutable set of data component types
|
|
* @throws IllegalArgumentException if {@link #isItem()} is {@code false}
|
|
*/
|
|
public java.util.@org.jetbrains.annotations.Unmodifiable @NotNull Set<io.papermc.paper.datacomponent.DataComponentType> getDefaultDataTypes() {
|
|
Preconditions.checkArgument(this.asItemType() != null);
|
|
return this.asItemType().getDefaultDataTypes();
|
|
}
|
|
// Paper end - data component API
|
|
}
|