Serializable
, Comparable<Material>
, Keyed
public enum Material extends Enum<Material> implements Keyed
Modifier and Type | Field | Description |
---|---|---|
Class<?> |
data |
|
static String |
LEGACY_PREFIX |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull BlockData |
createBlockData() |
Creates a new
BlockData instance for this Material, with all
properties initialized to unspecified defaults. |
@NotNull BlockData |
createBlockData(@Nullable String data) |
Creates a new
BlockData instance for this Material, with all
properties initialized to unspecified defaults, except for those provided
in data. |
@NotNull BlockData |
createBlockData(@Nullable Consumer<BlockData> consumer) |
Creates a new
BlockData instance for this Material, with
all properties initialized to unspecified defaults. |
float |
getBlastResistance() |
Obtains the blast resistance value (also known as block "durability").
|
@Nullable Material |
getCraftingRemainingItem() |
Determines the remaining item in a crafting grid after crafting with this
ingredient.
|
@NotNull Class<? extends MaterialData> |
getData() |
Gets the MaterialData class associated with this Material
|
float |
getHardness() |
Obtains the block's hardness level (also known as "strength").
|
int |
getId() |
Deprecated.
Magic value
|
@NotNull NamespacedKey |
getKey() |
Return the namespaced identifier for this object.
|
static @Nullable Material |
getMaterial(@NotNull String name) |
Attempts to get the Material with the given name.
|
static @Nullable Material |
getMaterial(@NotNull String name,
boolean legacyName) |
Attempts to get the Material with the given name.
|
short |
getMaxDurability() |
Gets the maximum durability of this material
|
int |
getMaxStackSize() |
Gets the maximum amount of this material that can be held in a stack
|
@NotNull MaterialData |
getNewData(byte raw) |
Deprecated.
Magic value
|
boolean |
hasGravity() |
|
boolean |
isAir() |
Check if the material is an air block.
|
boolean |
isBlock() |
Checks if this Material is a placable block
|
boolean |
isBurnable() |
Check if the material is a block and can burn away
|
boolean |
isEdible() |
Checks if this Material is edible.
|
boolean |
isFlammable() |
Check if the material is a block and can catch fire
|
boolean |
isFuel() |
Checks if this Material can be used as fuel in a Furnace
|
boolean |
isInteractable() |
Checks if this Material can be interacted with.
|
boolean |
isItem() |
Checks if this Material is an obtainable item.
|
boolean |
isLegacy() |
Deprecated.
|
boolean |
isOccluding() |
Check if the material is a block and completely blocks vision
|
boolean |
isRecord() |
|
boolean |
isSolid() |
Check if the material is a block and solid (can be built upon)
|
boolean |
isTransparent() |
Deprecated.
currently does not have an implementation which is well
linked to the underlying server. Contributions welcome.
|
static @Nullable Material |
matchMaterial(@NotNull String name) |
Attempts to match the Material with the given name.
|
static @Nullable Material |
matchMaterial(@NotNull String name,
boolean legacyName) |
Attempts to match the Material with the given name.
|
static Material |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Material[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Material ACACIA_BOAT
public static final Material ACACIA_LOG
Orientable
public static final Material ACACIA_PLANKS
public static final Material ACACIA_WOOD
Orientable
public static final Material ACTIVATOR_RAIL
RedstoneRail
public static final Material AIR
public static final Material ALLIUM
public static final Material ANDESITE
public static final Material ANVIL
Directional
public static final Material APPLE
public static final Material ARMOR_STAND
public static final Material ARROW
public static final Material ATTACHED_MELON_STEM
Directional
public static final Material ATTACHED_PUMPKIN_STEM
Directional
public static final Material AZURE_BLUET
public static final Material BAKED_POTATO
public static final Material BAMBOO_SAPLING
public static final Material BARREL
Directional
public static final Material BARRIER
public static final Material BAT_SPAWN_EGG
public static final Material BEACON
public static final Material BEDROCK
public static final Material BEEF
public static final Material BEETROOT
public static final Material BEETROOT_SEEDS
public static final Material BEETROOT_SOUP
public static final Material BEE_SPAWN_EGG
public static final Material BIRCH_BOAT
public static final Material BIRCH_LOG
Orientable
public static final Material BIRCH_PLANKS
public static final Material BIRCH_WOOD
Orientable
public static final Material BLACK_CARPET
public static final Material BLACK_CONCRETE
public static final Material BLACK_CONCRETE_POWDER
public static final Material BLACK_DYE
public static final Material BLACK_GLAZED_TERRACOTTA
Directional
public static final Material BLACK_SHULKER_BOX
Directional
public static final Material BLACK_STAINED_GLASS
public static final Material BLACK_TERRACOTTA
public static final Material BLACK_WALL_BANNER
Directional
public static final Material BLACK_WOOL
public static final Material BLAZE_POWDER
public static final Material BLAZE_ROD
public static final Material BLAZE_SPAWN_EGG
public static final Material BLUE_CARPET
public static final Material BLUE_CONCRETE
public static final Material BLUE_CONCRETE_POWDER
public static final Material BLUE_DYE
public static final Material BLUE_GLAZED_TERRACOTTA
Directional
public static final Material BLUE_ICE
public static final Material BLUE_ORCHID
public static final Material BLUE_SHULKER_BOX
Directional
public static final Material BLUE_STAINED_GLASS
public static final Material BLUE_TERRACOTTA
public static final Material BLUE_WALL_BANNER
Directional
public static final Material BLUE_WOOL
public static final Material BONE
public static final Material BONE_BLOCK
Orientable
public static final Material BONE_MEAL
public static final Material BOOK
public static final Material BOOKSHELF
public static final Material BOW
public static final Material BOWL
public static final Material BRAIN_CORAL
Waterlogged
public static final Material BRAIN_CORAL_BLOCK
public static final Material BRAIN_CORAL_FAN
Waterlogged
public static final Material BRAIN_CORAL_WALL_FAN
CoralWallFan
public static final Material BREAD
public static final Material BREWING_STAND
BrewingStand
public static final Material BRICK
public static final Material BRICKS
public static final Material BROWN_CARPET
public static final Material BROWN_CONCRETE
public static final Material BROWN_CONCRETE_POWDER
public static final Material BROWN_DYE
public static final Material BROWN_GLAZED_TERRACOTTA
Directional
public static final Material BROWN_MUSHROOM
public static final Material BROWN_MUSHROOM_BLOCK
MultipleFacing
public static final Material BROWN_SHULKER_BOX
Directional
public static final Material BROWN_STAINED_GLASS
public static final Material BROWN_TERRACOTTA
public static final Material BROWN_WALL_BANNER
Directional
public static final Material BROWN_WOOL
public static final Material BUBBLE_COLUMN
BubbleColumn
public static final Material BUBBLE_CORAL
Waterlogged
public static final Material BUBBLE_CORAL_BLOCK
public static final Material BUBBLE_CORAL_FAN
Waterlogged
public static final Material BUBBLE_CORAL_WALL_FAN
CoralWallFan
public static final Material BUCKET
public static final Material CARROT
public static final Material CARROT_ON_A_STICK
public static final Material CARTOGRAPHY_TABLE
public static final Material CARVED_PUMPKIN
Directional
public static final Material CAT_SPAWN_EGG
public static final Material CAVE_AIR
public static final Material CAVE_SPIDER_SPAWN_EGG
public static final Material CHAINMAIL_BOOTS
public static final Material CHAINMAIL_CHESTPLATE
public static final Material CHAINMAIL_HELMET
public static final Material CHAINMAIL_LEGGINGS
public static final Material CHAIN_COMMAND_BLOCK
CommandBlock
public static final Material CHARCOAL
public static final Material CHEST_MINECART
public static final Material CHICKEN
public static final Material CHICKEN_SPAWN_EGG
public static final Material CHIPPED_ANVIL
Directional
public static final Material CHISELED_QUARTZ_BLOCK
public static final Material CHISELED_RED_SANDSTONE
public static final Material CHISELED_SANDSTONE
public static final Material CHISELED_STONE_BRICKS
public static final Material CHORUS_FRUIT
public static final Material CHORUS_PLANT
MultipleFacing
public static final Material CLAY
public static final Material CLAY_BALL
public static final Material CLOCK
public static final Material COAL
public static final Material COAL_BLOCK
public static final Material COAL_ORE
public static final Material COARSE_DIRT
public static final Material COBBLESTONE
public static final Material COBWEB
public static final Material COCOA_BEANS
public static final Material COD
public static final Material COD_BUCKET
public static final Material COD_SPAWN_EGG
public static final Material COMMAND_BLOCK
CommandBlock
public static final Material COMMAND_BLOCK_MINECART
public static final Material COMPARATOR
Comparator
public static final Material COMPASS
public static final Material CONDUIT
Waterlogged
public static final Material COOKED_BEEF
public static final Material COOKED_CHICKEN
public static final Material COOKED_COD
public static final Material COOKED_MUTTON
public static final Material COOKED_PORKCHOP
public static final Material COOKED_RABBIT
public static final Material COOKED_SALMON
public static final Material COOKIE
public static final Material CORNFLOWER
public static final Material COW_SPAWN_EGG
public static final Material CRACKED_STONE_BRICKS
public static final Material CRAFTING_TABLE
public static final Material CREEPER_BANNER_PATTERN
public static final Material CREEPER_SPAWN_EGG
public static final Material CREEPER_WALL_HEAD
Directional
public static final Material CROSSBOW
public static final Material CUT_RED_SANDSTONE
public static final Material CUT_SANDSTONE
public static final Material CYAN_CARPET
public static final Material CYAN_CONCRETE
public static final Material CYAN_CONCRETE_POWDER
public static final Material CYAN_DYE
public static final Material CYAN_GLAZED_TERRACOTTA
Directional
public static final Material CYAN_SHULKER_BOX
Directional
public static final Material CYAN_STAINED_GLASS
public static final Material CYAN_TERRACOTTA
public static final Material CYAN_WALL_BANNER
Directional
public static final Material CYAN_WOOL
public static final Material DAMAGED_ANVIL
Directional
public static final Material DANDELION
public static final Material DARK_OAK_BOAT
public static final Material DARK_OAK_LOG
Orientable
public static final Material DARK_OAK_PLANKS
public static final Material DARK_OAK_WOOD
Orientable
public static final Material DARK_PRISMARINE
public static final Material DAYLIGHT_DETECTOR
DaylightDetector
public static final Material DEAD_BRAIN_CORAL
Waterlogged
public static final Material DEAD_BRAIN_CORAL_BLOCK
public static final Material DEAD_BRAIN_CORAL_FAN
Waterlogged
public static final Material DEAD_BRAIN_CORAL_WALL_FAN
CoralWallFan
public static final Material DEAD_BUBBLE_CORAL
Waterlogged
public static final Material DEAD_BUBBLE_CORAL_BLOCK
public static final Material DEAD_BUBBLE_CORAL_FAN
Waterlogged
public static final Material DEAD_BUBBLE_CORAL_WALL_FAN
CoralWallFan
public static final Material DEAD_BUSH
public static final Material DEAD_FIRE_CORAL
Waterlogged
public static final Material DEAD_FIRE_CORAL_BLOCK
public static final Material DEAD_FIRE_CORAL_FAN
Waterlogged
public static final Material DEAD_FIRE_CORAL_WALL_FAN
CoralWallFan
public static final Material DEAD_HORN_CORAL
Waterlogged
public static final Material DEAD_HORN_CORAL_BLOCK
public static final Material DEAD_HORN_CORAL_FAN
Waterlogged
public static final Material DEAD_HORN_CORAL_WALL_FAN
CoralWallFan
public static final Material DEAD_TUBE_CORAL
Waterlogged
public static final Material DEAD_TUBE_CORAL_BLOCK
public static final Material DEAD_TUBE_CORAL_FAN
Waterlogged
public static final Material DEAD_TUBE_CORAL_WALL_FAN
CoralWallFan
public static final Material DEBUG_STICK
public static final Material DETECTOR_RAIL
RedstoneRail
public static final Material DIAMOND
public static final Material DIAMOND_AXE
public static final Material DIAMOND_BLOCK
public static final Material DIAMOND_BOOTS
public static final Material DIAMOND_CHESTPLATE
public static final Material DIAMOND_HELMET
public static final Material DIAMOND_HOE
public static final Material DIAMOND_HORSE_ARMOR
public static final Material DIAMOND_LEGGINGS
public static final Material DIAMOND_ORE
public static final Material DIAMOND_PICKAXE
public static final Material DIAMOND_SHOVEL
public static final Material DIAMOND_SWORD
public static final Material DIORITE
public static final Material DIRT
public static final Material DOLPHIN_SPAWN_EGG
public static final Material DONKEY_SPAWN_EGG
public static final Material DRAGON_BREATH
public static final Material DRAGON_EGG
public static final Material DRAGON_WALL_HEAD
Directional
public static final Material DRIED_KELP
public static final Material DRIED_KELP_BLOCK
public static final Material DROWNED_SPAWN_EGG
public static final Material EGG
public static final Material ELDER_GUARDIAN_SPAWN_EGG
public static final Material ELYTRA
public static final Material EMERALD
public static final Material EMERALD_BLOCK
public static final Material EMERALD_ORE
public static final Material ENCHANTED_BOOK
public static final Material ENCHANTED_GOLDEN_APPLE
public static final Material ENCHANTING_TABLE
public static final Material ENDERMAN_SPAWN_EGG
public static final Material ENDERMITE_SPAWN_EGG
public static final Material ENDER_CHEST
EnderChest
public static final Material ENDER_EYE
public static final Material ENDER_PEARL
public static final Material END_CRYSTAL
public static final Material END_GATEWAY
public static final Material END_PORTAL
public static final Material END_PORTAL_FRAME
EndPortalFrame
public static final Material END_ROD
Directional
public static final Material END_STONE
public static final Material END_STONE_BRICKS
public static final Material EVOKER_SPAWN_EGG
public static final Material EXPERIENCE_BOTTLE
public static final Material FEATHER
public static final Material FERMENTED_SPIDER_EYE
public static final Material FERN
public static final Material FILLED_MAP
public static final Material FIREWORK_ROCKET
public static final Material FIREWORK_STAR
public static final Material FIRE_CHARGE
public static final Material FIRE_CORAL
Waterlogged
public static final Material FIRE_CORAL_BLOCK
public static final Material FIRE_CORAL_FAN
Waterlogged
public static final Material FIRE_CORAL_WALL_FAN
CoralWallFan
public static final Material FISHING_ROD
public static final Material FLETCHING_TABLE
public static final Material FLINT
public static final Material FLINT_AND_STEEL
public static final Material FLOWER_BANNER_PATTERN
public static final Material FLOWER_POT
public static final Material FOX_SPAWN_EGG
public static final Material FURNACE_MINECART
public static final Material GHAST_SPAWN_EGG
public static final Material GHAST_TEAR
public static final Material GLASS
public static final Material GLASS_BOTTLE
public static final Material GLISTERING_MELON_SLICE
public static final Material GLOBE_BANNER_PATTERN
public static final Material GLOWSTONE
public static final Material GLOWSTONE_DUST
public static final Material GOLDEN_APPLE
public static final Material GOLDEN_AXE
public static final Material GOLDEN_BOOTS
public static final Material GOLDEN_CARROT
public static final Material GOLDEN_CHESTPLATE
public static final Material GOLDEN_HELMET
public static final Material GOLDEN_HOE
public static final Material GOLDEN_HORSE_ARMOR
public static final Material GOLDEN_LEGGINGS
public static final Material GOLDEN_PICKAXE
public static final Material GOLDEN_SHOVEL
public static final Material GOLDEN_SWORD
public static final Material GOLD_BLOCK
public static final Material GOLD_INGOT
public static final Material GOLD_NUGGET
public static final Material GOLD_ORE
public static final Material GRANITE
public static final Material GRASS
public static final Material GRASS_PATH
public static final Material GRAVEL
public static final Material GRAY_CARPET
public static final Material GRAY_CONCRETE
public static final Material GRAY_CONCRETE_POWDER
public static final Material GRAY_DYE
public static final Material GRAY_GLAZED_TERRACOTTA
Directional
public static final Material GRAY_SHULKER_BOX
Directional
public static final Material GRAY_STAINED_GLASS
public static final Material GRAY_TERRACOTTA
public static final Material GRAY_WALL_BANNER
Directional
public static final Material GRAY_WOOL
public static final Material GREEN_CARPET
public static final Material GREEN_CONCRETE
public static final Material GREEN_CONCRETE_POWDER
public static final Material GREEN_DYE
public static final Material GREEN_GLAZED_TERRACOTTA
Directional
public static final Material GREEN_SHULKER_BOX
Directional
public static final Material GREEN_STAINED_GLASS
public static final Material GREEN_TERRACOTTA
public static final Material GREEN_WALL_BANNER
Directional
public static final Material GREEN_WOOL
public static final Material GRINDSTONE
Grindstone
public static final Material GUARDIAN_SPAWN_EGG
public static final Material GUNPOWDER
public static final Material HAY_BLOCK
Orientable
public static final Material HEART_OF_THE_SEA
public static final Material HEAVY_WEIGHTED_PRESSURE_PLATE
AnaloguePowerable
public static final Material HONEYCOMB
public static final Material HONEYCOMB_BLOCK
public static final Material HONEY_BLOCK
public static final Material HONEY_BOTTLE
public static final Material HOPPER_MINECART
public static final Material HORN_CORAL
Waterlogged
public static final Material HORN_CORAL_BLOCK
public static final Material HORN_CORAL_FAN
Waterlogged
public static final Material HORN_CORAL_WALL_FAN
CoralWallFan
public static final Material HORSE_SPAWN_EGG
public static final Material HUSK_SPAWN_EGG
public static final Material ICE
public static final Material INFESTED_CHISELED_STONE_BRICKS
public static final Material INFESTED_COBBLESTONE
public static final Material INFESTED_CRACKED_STONE_BRICKS
public static final Material INFESTED_MOSSY_STONE_BRICKS
public static final Material INFESTED_STONE
public static final Material INFESTED_STONE_BRICKS
public static final Material INK_SAC
public static final Material IRON_AXE
public static final Material IRON_BLOCK
public static final Material IRON_BOOTS
public static final Material IRON_CHESTPLATE
public static final Material IRON_HELMET
public static final Material IRON_HOE
public static final Material IRON_HORSE_ARMOR
public static final Material IRON_INGOT
public static final Material IRON_LEGGINGS
public static final Material IRON_NUGGET
public static final Material IRON_ORE
public static final Material IRON_PICKAXE
public static final Material IRON_SHOVEL
public static final Material IRON_SWORD
public static final Material ITEM_FRAME
public static final Material JACK_O_LANTERN
Directional
public static final Material JIGSAW
Directional
public static final Material JUNGLE_BOAT
public static final Material JUNGLE_LOG
Orientable
public static final Material JUNGLE_PLANKS
public static final Material JUNGLE_WOOD
Orientable
public static final Material KELP_PLANT
public static final Material KNOWLEDGE_BOOK
public static final Material LAPIS_BLOCK
public static final Material LAPIS_LAZULI
public static final Material LAPIS_ORE
public static final Material LAVA_BUCKET
public static final Material LEAD
public static final Material LEATHER
public static final Material LEATHER_BOOTS
public static final Material LEATHER_CHESTPLATE
public static final Material LEATHER_HELMET
public static final Material LEATHER_HORSE_ARMOR
public static final Material LEATHER_LEGGINGS
public static final Material LIGHT_BLUE_CARPET
public static final Material LIGHT_BLUE_CONCRETE
public static final Material LIGHT_BLUE_CONCRETE_POWDER
public static final Material LIGHT_BLUE_DYE
public static final Material LIGHT_BLUE_GLAZED_TERRACOTTA
Directional
public static final Material LIGHT_BLUE_SHULKER_BOX
Directional
public static final Material LIGHT_BLUE_STAINED_GLASS
public static final Material LIGHT_BLUE_STAINED_GLASS_PANE
GlassPane
public static final Material LIGHT_BLUE_TERRACOTTA
public static final Material LIGHT_BLUE_WALL_BANNER
Directional
public static final Material LIGHT_BLUE_WOOL
public static final Material LIGHT_GRAY_CARPET
public static final Material LIGHT_GRAY_CONCRETE
public static final Material LIGHT_GRAY_CONCRETE_POWDER
public static final Material LIGHT_GRAY_DYE
public static final Material LIGHT_GRAY_GLAZED_TERRACOTTA
Directional
public static final Material LIGHT_GRAY_SHULKER_BOX
Directional
public static final Material LIGHT_GRAY_STAINED_GLASS
public static final Material LIGHT_GRAY_STAINED_GLASS_PANE
GlassPane
public static final Material LIGHT_GRAY_TERRACOTTA
public static final Material LIGHT_GRAY_WALL_BANNER
Directional
public static final Material LIGHT_GRAY_WOOL
public static final Material LIGHT_WEIGHTED_PRESSURE_PLATE
AnaloguePowerable
public static final Material LILY_OF_THE_VALLEY
public static final Material LILY_PAD
public static final Material LIME_CARPET
public static final Material LIME_CONCRETE
public static final Material LIME_CONCRETE_POWDER
public static final Material LIME_DYE
public static final Material LIME_GLAZED_TERRACOTTA
Directional
public static final Material LIME_SHULKER_BOX
Directional
public static final Material LIME_STAINED_GLASS
public static final Material LIME_TERRACOTTA
public static final Material LIME_WALL_BANNER
Directional
public static final Material LIME_WOOL
public static final Material LINGERING_POTION
public static final Material LLAMA_SPAWN_EGG
public static final Material LOOM
Directional
public static final Material MAGENTA_CARPET
public static final Material MAGENTA_CONCRETE
public static final Material MAGENTA_CONCRETE_POWDER
public static final Material MAGENTA_DYE
public static final Material MAGENTA_GLAZED_TERRACOTTA
Directional
public static final Material MAGENTA_SHULKER_BOX
Directional
public static final Material MAGENTA_STAINED_GLASS
public static final Material MAGENTA_STAINED_GLASS_PANE
GlassPane
public static final Material MAGENTA_TERRACOTTA
public static final Material MAGENTA_WALL_BANNER
Directional
public static final Material MAGENTA_WOOL
public static final Material MAGMA_BLOCK
public static final Material MAGMA_CREAM
public static final Material MAGMA_CUBE_SPAWN_EGG
public static final Material MAP
public static final Material MELON
public static final Material MELON_SEEDS
public static final Material MELON_SLICE
public static final Material MILK_BUCKET
public static final Material MINECART
public static final Material MOJANG_BANNER_PATTERN
public static final Material MOOSHROOM_SPAWN_EGG
public static final Material MOSSY_COBBLESTONE
MultipleFacing
public static final Material MOSSY_STONE_BRICKS
public static final Material MOVING_PISTON
TechnicalPiston
public static final Material MULE_SPAWN_EGG
public static final Material MUSHROOM_STEM
MultipleFacing
public static final Material MUSHROOM_STEW
public static final Material MUSIC_DISC_11
public static final Material MUSIC_DISC_13
public static final Material MUSIC_DISC_BLOCKS
public static final Material MUSIC_DISC_CAT
public static final Material MUSIC_DISC_CHIRP
public static final Material MUSIC_DISC_FAR
public static final Material MUSIC_DISC_MALL
public static final Material MUSIC_DISC_MELLOHI
public static final Material MUSIC_DISC_STAL
public static final Material MUSIC_DISC_STRAD
public static final Material MUSIC_DISC_WAIT
public static final Material MUSIC_DISC_WARD
public static final Material MUTTON
public static final Material NAME_TAG
public static final Material NAUTILUS_SHELL
public static final Material NETHERRACK
public static final Material NETHER_BRICK
public static final Material NETHER_BRICKS
public static final Material NETHER_PORTAL
Orientable
public static final Material NETHER_QUARTZ_ORE
public static final Material NETHER_STAR
public static final Material NETHER_WART_BLOCK
public static final Material OAK_BOAT
public static final Material OAK_LOG
Orientable
public static final Material OAK_PLANKS
public static final Material OAK_WOOD
Orientable
public static final Material OBSIDIAN
public static final Material OCELOT_SPAWN_EGG
public static final Material ORANGE_CARPET
public static final Material ORANGE_CONCRETE
public static final Material ORANGE_CONCRETE_POWDER
public static final Material ORANGE_DYE
public static final Material ORANGE_GLAZED_TERRACOTTA
Directional
public static final Material ORANGE_SHULKER_BOX
Directional
public static final Material ORANGE_STAINED_GLASS
public static final Material ORANGE_STAINED_GLASS_PANE
GlassPane
public static final Material ORANGE_TERRACOTTA
public static final Material ORANGE_TULIP
public static final Material ORANGE_WALL_BANNER
Directional
public static final Material ORANGE_WOOL
public static final Material OXEYE_DAISY
public static final Material PACKED_ICE
public static final Material PAINTING
public static final Material PANDA_SPAWN_EGG
public static final Material PAPER
public static final Material PARROT_SPAWN_EGG
public static final Material PHANTOM_MEMBRANE
public static final Material PHANTOM_SPAWN_EGG
public static final Material PIG_SPAWN_EGG
public static final Material PILLAGER_SPAWN_EGG
public static final Material PINK_CARPET
public static final Material PINK_CONCRETE
public static final Material PINK_CONCRETE_POWDER
public static final Material PINK_DYE
public static final Material PINK_GLAZED_TERRACOTTA
Directional
public static final Material PINK_SHULKER_BOX
Directional
public static final Material PINK_STAINED_GLASS
public static final Material PINK_TERRACOTTA
public static final Material PINK_TULIP
public static final Material PINK_WALL_BANNER
Directional
public static final Material PINK_WOOL
public static final Material PISTON_HEAD
PistonHead
public static final Material PLAYER_WALL_HEAD
Directional
public static final Material POISONOUS_POTATO
public static final Material POLAR_BEAR_SPAWN_EGG
public static final Material POLISHED_ANDESITE
public static final Material POLISHED_DIORITE
public static final Material POLISHED_GRANITE
public static final Material POPPED_CHORUS_FRUIT
public static final Material POPPY
public static final Material PORKCHOP
public static final Material POTATO
public static final Material POTION
public static final Material POTTED_ACACIA_SAPLING
public static final Material POTTED_ALLIUM
public static final Material POTTED_AZURE_BLUET
public static final Material POTTED_BAMBOO
public static final Material POTTED_BIRCH_SAPLING
public static final Material POTTED_BLUE_ORCHID
public static final Material POTTED_BROWN_MUSHROOM
public static final Material POTTED_CACTUS
public static final Material POTTED_CORNFLOWER
public static final Material POTTED_DANDELION
public static final Material POTTED_DARK_OAK_SAPLING
public static final Material POTTED_DEAD_BUSH
public static final Material POTTED_FERN
public static final Material POTTED_JUNGLE_SAPLING
public static final Material POTTED_LILY_OF_THE_VALLEY
public static final Material POTTED_OAK_SAPLING
public static final Material POTTED_ORANGE_TULIP
public static final Material POTTED_OXEYE_DAISY
public static final Material POTTED_PINK_TULIP
public static final Material POTTED_POPPY
public static final Material POTTED_RED_MUSHROOM
public static final Material POTTED_RED_TULIP
public static final Material POTTED_SPRUCE_SAPLING
public static final Material POTTED_WHITE_TULIP
public static final Material POTTED_WITHER_ROSE
public static final Material POWERED_RAIL
RedstoneRail
public static final Material PRISMARINE
public static final Material PRISMARINE_BRICKS
public static final Material PRISMARINE_CRYSTALS
public static final Material PRISMARINE_SHARD
public static final Material PUFFERFISH
public static final Material PUFFERFISH_BUCKET
public static final Material PUFFERFISH_SPAWN_EGG
public static final Material PUMPKIN
public static final Material PUMPKIN_PIE
public static final Material PUMPKIN_SEEDS
public static final Material PURPLE_CARPET
public static final Material PURPLE_CONCRETE
public static final Material PURPLE_CONCRETE_POWDER
public static final Material PURPLE_DYE
public static final Material PURPLE_GLAZED_TERRACOTTA
Directional
public static final Material PURPLE_SHULKER_BOX
Directional
public static final Material PURPLE_STAINED_GLASS
public static final Material PURPLE_STAINED_GLASS_PANE
GlassPane
public static final Material PURPLE_TERRACOTTA
public static final Material PURPLE_WALL_BANNER
Directional
public static final Material PURPLE_WOOL
public static final Material PURPUR_BLOCK
public static final Material PURPUR_PILLAR
Orientable
public static final Material QUARTZ
public static final Material QUARTZ_BLOCK
public static final Material QUARTZ_PILLAR
Orientable
public static final Material RABBIT
public static final Material RABBIT_FOOT
public static final Material RABBIT_HIDE
public static final Material RABBIT_SPAWN_EGG
public static final Material RABBIT_STEW
public static final Material RAVAGER_SPAWN_EGG
public static final Material REDSTONE
public static final Material REDSTONE_BLOCK
public static final Material REDSTONE_WALL_TORCH
RedstoneWallTorch
public static final Material REDSTONE_WIRE
RedstoneWire
public static final Material RED_CARPET
public static final Material RED_CONCRETE
public static final Material RED_CONCRETE_POWDER
public static final Material RED_DYE
public static final Material RED_GLAZED_TERRACOTTA
Directional
public static final Material RED_MUSHROOM
public static final Material RED_MUSHROOM_BLOCK
MultipleFacing
public static final Material RED_NETHER_BRICKS
public static final Material RED_SAND
public static final Material RED_SANDSTONE
public static final Material RED_SHULKER_BOX
Directional
public static final Material RED_STAINED_GLASS
public static final Material RED_TERRACOTTA
public static final Material RED_TULIP
public static final Material RED_WALL_BANNER
Directional
public static final Material RED_WOOL
public static final Material REPEATING_COMMAND_BLOCK
CommandBlock
public static final Material ROTTEN_FLESH
public static final Material SADDLE
public static final Material SALMON
public static final Material SALMON_BUCKET
public static final Material SALMON_SPAWN_EGG
public static final Material SAND
public static final Material SANDSTONE
public static final Material SCAFFOLDING
Scaffolding
public static final Material SCUTE
public static final Material SEAGRASS
public static final Material SEA_LANTERN
public static final Material SHEARS
public static final Material SHEEP_SPAWN_EGG
public static final Material SHIELD
public static final Material SHULKER_BOX
Directional
public static final Material SHULKER_SHELL
public static final Material SHULKER_SPAWN_EGG
public static final Material SILVERFISH_SPAWN_EGG
public static final Material SKELETON_HORSE_SPAWN_EGG
public static final Material SKELETON_SPAWN_EGG
public static final Material SKELETON_WALL_SKULL
Directional
public static final Material SKULL_BANNER_PATTERN
public static final Material SLIME_BALL
public static final Material SLIME_BLOCK
public static final Material SLIME_SPAWN_EGG
public static final Material SMITHING_TABLE
public static final Material SMOOTH_QUARTZ
public static final Material SMOOTH_RED_SANDSTONE
public static final Material SMOOTH_RED_SANDSTONE_STAIRS
Stairs
public static final Material SMOOTH_SANDSTONE
public static final Material SMOOTH_STONE
public static final Material SNOWBALL
public static final Material SNOW_BLOCK
public static final Material SOUL_SAND
public static final Material SPAWNER
public static final Material SPECTRAL_ARROW
public static final Material SPIDER_EYE
public static final Material SPIDER_SPAWN_EGG
public static final Material SPLASH_POTION
public static final Material SPONGE
public static final Material SPRUCE_BOAT
public static final Material SPRUCE_LOG
Orientable
public static final Material SPRUCE_PLANKS
public static final Material SPRUCE_WOOD
Orientable
public static final Material SQUID_SPAWN_EGG
public static final Material STICK
public static final Material STONE
public static final Material STONECUTTER
Directional
public static final Material STONE_AXE
public static final Material STONE_BRICKS
public static final Material STONE_HOE
public static final Material STONE_PICKAXE
public static final Material STONE_SHOVEL
public static final Material STONE_SWORD
public static final Material STRAY_SPAWN_EGG
public static final Material STRING
public static final Material STRIPPED_ACACIA_LOG
Orientable
public static final Material STRIPPED_ACACIA_WOOD
Orientable
public static final Material STRIPPED_BIRCH_LOG
Orientable
public static final Material STRIPPED_BIRCH_WOOD
Orientable
public static final Material STRIPPED_DARK_OAK_LOG
Orientable
public static final Material STRIPPED_DARK_OAK_WOOD
Orientable
public static final Material STRIPPED_JUNGLE_LOG
Orientable
public static final Material STRIPPED_JUNGLE_WOOD
Orientable
public static final Material STRIPPED_OAK_LOG
Orientable
public static final Material STRIPPED_OAK_WOOD
Orientable
public static final Material STRIPPED_SPRUCE_LOG
Orientable
public static final Material STRIPPED_SPRUCE_WOOD
Orientable
public static final Material STRUCTURE_BLOCK
StructureBlock
public static final Material STRUCTURE_VOID
public static final Material SUGAR
public static final Material SUSPICIOUS_STEW
public static final Material SWEET_BERRIES
public static final Material TERRACOTTA
public static final Material TIPPED_ARROW
public static final Material TNT_MINECART
public static final Material TORCH
public static final Material TOTEM_OF_UNDYING
public static final Material TRADER_LLAMA_SPAWN_EGG
public static final Material TRIDENT
public static final Material TRIPWIRE_HOOK
TripwireHook
public static final Material TROPICAL_FISH
public static final Material TROPICAL_FISH_BUCKET
public static final Material TROPICAL_FISH_SPAWN_EGG
public static final Material TUBE_CORAL
Waterlogged
public static final Material TUBE_CORAL_BLOCK
public static final Material TUBE_CORAL_FAN
Waterlogged
public static final Material TUBE_CORAL_WALL_FAN
CoralWallFan
public static final Material TURTLE_HELMET
public static final Material TURTLE_SPAWN_EGG
public static final Material VEX_SPAWN_EGG
public static final Material VILLAGER_SPAWN_EGG
public static final Material VINDICATOR_SPAWN_EGG
public static final Material VINE
MultipleFacing
public static final Material VOID_AIR
public static final Material WALL_TORCH
Directional
public static final Material WANDERING_TRADER_SPAWN_EGG
public static final Material WATER_BUCKET
public static final Material WET_SPONGE
public static final Material WHEAT_SEEDS
public static final Material WHITE_CARPET
public static final Material WHITE_CONCRETE
public static final Material WHITE_CONCRETE_POWDER
public static final Material WHITE_DYE
public static final Material WHITE_GLAZED_TERRACOTTA
Directional
public static final Material WHITE_SHULKER_BOX
Directional
public static final Material WHITE_STAINED_GLASS
public static final Material WHITE_TERRACOTTA
public static final Material WHITE_TULIP
public static final Material WHITE_WALL_BANNER
Directional
public static final Material WHITE_WOOL
public static final Material WITCH_SPAWN_EGG
public static final Material WITHER_ROSE
public static final Material WITHER_SKELETON_SPAWN_EGG
public static final Material WITHER_SKELETON_WALL_SKULL
Directional
public static final Material WOLF_SPAWN_EGG
public static final Material WOODEN_AXE
public static final Material WOODEN_HOE
public static final Material WOODEN_PICKAXE
public static final Material WOODEN_SHOVEL
public static final Material WOODEN_SWORD
public static final Material WRITABLE_BOOK
public static final Material WRITTEN_BOOK
public static final Material YELLOW_CARPET
public static final Material YELLOW_CONCRETE
public static final Material YELLOW_CONCRETE_POWDER
public static final Material YELLOW_DYE
public static final Material YELLOW_GLAZED_TERRACOTTA
Directional
public static final Material YELLOW_SHULKER_BOX
Directional
public static final Material YELLOW_STAINED_GLASS
public static final Material YELLOW_STAINED_GLASS_PANE
GlassPane
public static final Material YELLOW_TERRACOTTA
public static final Material YELLOW_WALL_BANNER
Directional
public static final Material YELLOW_WOOL
public static final Material ZOMBIE_HORSE_SPAWN_EGG
public static final Material ZOMBIE_PIGMAN_SPAWN_EGG
public static final Material ZOMBIE_SPAWN_EGG
public static final Material ZOMBIE_VILLAGER_SPAWN_EGG
public static final Material ZOMBIE_WALL_HEAD
Directional
@Deprecated public static final Material LEGACY_AIR
@Deprecated public static final Material LEGACY_STONE
@Deprecated public static final Material LEGACY_GRASS
@Deprecated public static final Material LEGACY_DIRT
@Deprecated public static final Material LEGACY_COBBLESTONE
@Deprecated public static final Material LEGACY_WOOD
@Deprecated public static final Material LEGACY_SAPLING
@Deprecated public static final Material LEGACY_BEDROCK
@Deprecated public static final Material LEGACY_WATER
@Deprecated public static final Material LEGACY_STATIONARY_WATER
@Deprecated public static final Material LEGACY_LAVA
@Deprecated public static final Material LEGACY_STATIONARY_LAVA
@Deprecated public static final Material LEGACY_SAND
@Deprecated public static final Material LEGACY_GRAVEL
@Deprecated public static final Material LEGACY_GOLD_ORE
@Deprecated public static final Material LEGACY_IRON_ORE
@Deprecated public static final Material LEGACY_COAL_ORE
@Deprecated public static final Material LEGACY_LOG
@Deprecated public static final Material LEGACY_LEAVES
@Deprecated public static final Material LEGACY_SPONGE
@Deprecated public static final Material LEGACY_GLASS
@Deprecated public static final Material LEGACY_LAPIS_ORE
@Deprecated public static final Material LEGACY_LAPIS_BLOCK
@Deprecated public static final Material LEGACY_DISPENSER
@Deprecated public static final Material LEGACY_SANDSTONE
@Deprecated public static final Material LEGACY_NOTE_BLOCK
@Deprecated public static final Material LEGACY_BED_BLOCK
@Deprecated public static final Material LEGACY_POWERED_RAIL
@Deprecated public static final Material LEGACY_DETECTOR_RAIL
@Deprecated public static final Material LEGACY_PISTON_STICKY_BASE
@Deprecated public static final Material LEGACY_WEB
@Deprecated public static final Material LEGACY_LONG_GRASS
@Deprecated public static final Material LEGACY_DEAD_BUSH
@Deprecated public static final Material LEGACY_PISTON_BASE
@Deprecated public static final Material LEGACY_PISTON_EXTENSION
@Deprecated public static final Material LEGACY_WOOL
@Deprecated public static final Material LEGACY_PISTON_MOVING_PIECE
@Deprecated public static final Material LEGACY_YELLOW_FLOWER
@Deprecated public static final Material LEGACY_RED_ROSE
@Deprecated public static final Material LEGACY_BROWN_MUSHROOM
@Deprecated public static final Material LEGACY_RED_MUSHROOM
@Deprecated public static final Material LEGACY_GOLD_BLOCK
@Deprecated public static final Material LEGACY_IRON_BLOCK
@Deprecated public static final Material LEGACY_DOUBLE_STEP
@Deprecated public static final Material LEGACY_STEP
@Deprecated public static final Material LEGACY_BRICK
@Deprecated public static final Material LEGACY_TNT
@Deprecated public static final Material LEGACY_BOOKSHELF
@Deprecated public static final Material LEGACY_MOSSY_COBBLESTONE
@Deprecated public static final Material LEGACY_OBSIDIAN
@Deprecated public static final Material LEGACY_TORCH
@Deprecated public static final Material LEGACY_FIRE
@Deprecated public static final Material LEGACY_MOB_SPAWNER
@Deprecated public static final Material LEGACY_WOOD_STAIRS
@Deprecated public static final Material LEGACY_CHEST
@Deprecated public static final Material LEGACY_REDSTONE_WIRE
@Deprecated public static final Material LEGACY_DIAMOND_ORE
@Deprecated public static final Material LEGACY_DIAMOND_BLOCK
@Deprecated public static final Material LEGACY_WORKBENCH
@Deprecated public static final Material LEGACY_CROPS
@Deprecated public static final Material LEGACY_SOIL
@Deprecated public static final Material LEGACY_FURNACE
@Deprecated public static final Material LEGACY_BURNING_FURNACE
@Deprecated public static final Material LEGACY_SIGN_POST
@Deprecated public static final Material LEGACY_WOODEN_DOOR
@Deprecated public static final Material LEGACY_LADDER
@Deprecated public static final Material LEGACY_RAILS
@Deprecated public static final Material LEGACY_COBBLESTONE_STAIRS
@Deprecated public static final Material LEGACY_WALL_SIGN
@Deprecated public static final Material LEGACY_LEVER
@Deprecated public static final Material LEGACY_STONE_PLATE
@Deprecated public static final Material LEGACY_IRON_DOOR_BLOCK
@Deprecated public static final Material LEGACY_WOOD_PLATE
@Deprecated public static final Material LEGACY_REDSTONE_ORE
@Deprecated public static final Material LEGACY_GLOWING_REDSTONE_ORE
@Deprecated public static final Material LEGACY_REDSTONE_TORCH_OFF
@Deprecated public static final Material LEGACY_REDSTONE_TORCH_ON
@Deprecated public static final Material LEGACY_STONE_BUTTON
@Deprecated public static final Material LEGACY_SNOW
@Deprecated public static final Material LEGACY_ICE
@Deprecated public static final Material LEGACY_SNOW_BLOCK
@Deprecated public static final Material LEGACY_CACTUS
@Deprecated public static final Material LEGACY_CLAY
@Deprecated public static final Material LEGACY_SUGAR_CANE_BLOCK
@Deprecated public static final Material LEGACY_JUKEBOX
@Deprecated public static final Material LEGACY_FENCE
@Deprecated public static final Material LEGACY_PUMPKIN
@Deprecated public static final Material LEGACY_NETHERRACK
@Deprecated public static final Material LEGACY_SOUL_SAND
@Deprecated public static final Material LEGACY_GLOWSTONE
@Deprecated public static final Material LEGACY_PORTAL
@Deprecated public static final Material LEGACY_JACK_O_LANTERN
@Deprecated public static final Material LEGACY_CAKE_BLOCK
@Deprecated public static final Material LEGACY_DIODE_BLOCK_OFF
@Deprecated public static final Material LEGACY_DIODE_BLOCK_ON
@Deprecated public static final Material LEGACY_STAINED_GLASS
@Deprecated public static final Material LEGACY_TRAP_DOOR
@Deprecated public static final Material LEGACY_MONSTER_EGGS
@Deprecated public static final Material LEGACY_SMOOTH_BRICK
@Deprecated public static final Material LEGACY_HUGE_MUSHROOM_1
@Deprecated public static final Material LEGACY_HUGE_MUSHROOM_2
@Deprecated public static final Material LEGACY_IRON_FENCE
@Deprecated public static final Material LEGACY_THIN_GLASS
@Deprecated public static final Material LEGACY_MELON_BLOCK
@Deprecated public static final Material LEGACY_PUMPKIN_STEM
@Deprecated public static final Material LEGACY_MELON_STEM
@Deprecated public static final Material LEGACY_VINE
@Deprecated public static final Material LEGACY_FENCE_GATE
@Deprecated public static final Material LEGACY_BRICK_STAIRS
@Deprecated public static final Material LEGACY_SMOOTH_STAIRS
@Deprecated public static final Material LEGACY_MYCEL
@Deprecated public static final Material LEGACY_WATER_LILY
@Deprecated public static final Material LEGACY_NETHER_BRICK
@Deprecated public static final Material LEGACY_NETHER_FENCE
@Deprecated public static final Material LEGACY_NETHER_BRICK_STAIRS
@Deprecated public static final Material LEGACY_NETHER_WARTS
@Deprecated public static final Material LEGACY_ENCHANTMENT_TABLE
@Deprecated public static final Material LEGACY_BREWING_STAND
@Deprecated public static final Material LEGACY_CAULDRON
@Deprecated public static final Material LEGACY_ENDER_PORTAL
@Deprecated public static final Material LEGACY_ENDER_PORTAL_FRAME
@Deprecated public static final Material LEGACY_ENDER_STONE
@Deprecated public static final Material LEGACY_DRAGON_EGG
@Deprecated public static final Material LEGACY_REDSTONE_LAMP_OFF
@Deprecated public static final Material LEGACY_REDSTONE_LAMP_ON
@Deprecated public static final Material LEGACY_WOOD_DOUBLE_STEP
@Deprecated public static final Material LEGACY_WOOD_STEP
@Deprecated public static final Material LEGACY_COCOA
@Deprecated public static final Material LEGACY_SANDSTONE_STAIRS
@Deprecated public static final Material LEGACY_EMERALD_ORE
@Deprecated public static final Material LEGACY_ENDER_CHEST
@Deprecated public static final Material LEGACY_TRIPWIRE_HOOK
@Deprecated public static final Material LEGACY_TRIPWIRE
@Deprecated public static final Material LEGACY_EMERALD_BLOCK
@Deprecated public static final Material LEGACY_SPRUCE_WOOD_STAIRS
@Deprecated public static final Material LEGACY_BIRCH_WOOD_STAIRS
@Deprecated public static final Material LEGACY_JUNGLE_WOOD_STAIRS
@Deprecated public static final Material LEGACY_COMMAND
@Deprecated public static final Material LEGACY_BEACON
@Deprecated public static final Material LEGACY_COBBLE_WALL
@Deprecated public static final Material LEGACY_FLOWER_POT
@Deprecated public static final Material LEGACY_CARROT
@Deprecated public static final Material LEGACY_POTATO
@Deprecated public static final Material LEGACY_WOOD_BUTTON
@Deprecated public static final Material LEGACY_SKULL
@Deprecated public static final Material LEGACY_ANVIL
@Deprecated public static final Material LEGACY_TRAPPED_CHEST
@Deprecated public static final Material LEGACY_GOLD_PLATE
@Deprecated public static final Material LEGACY_IRON_PLATE
@Deprecated public static final Material LEGACY_REDSTONE_COMPARATOR_OFF
@Deprecated public static final Material LEGACY_REDSTONE_COMPARATOR_ON
@Deprecated public static final Material LEGACY_DAYLIGHT_DETECTOR
@Deprecated public static final Material LEGACY_REDSTONE_BLOCK
@Deprecated public static final Material LEGACY_QUARTZ_ORE
@Deprecated public static final Material LEGACY_HOPPER
@Deprecated public static final Material LEGACY_QUARTZ_BLOCK
@Deprecated public static final Material LEGACY_QUARTZ_STAIRS
@Deprecated public static final Material LEGACY_ACTIVATOR_RAIL
@Deprecated public static final Material LEGACY_DROPPER
@Deprecated public static final Material LEGACY_STAINED_CLAY
@Deprecated public static final Material LEGACY_STAINED_GLASS_PANE
@Deprecated public static final Material LEGACY_LEAVES_2
@Deprecated public static final Material LEGACY_LOG_2
@Deprecated public static final Material LEGACY_ACACIA_STAIRS
@Deprecated public static final Material LEGACY_DARK_OAK_STAIRS
@Deprecated public static final Material LEGACY_SLIME_BLOCK
@Deprecated public static final Material LEGACY_BARRIER
@Deprecated public static final Material LEGACY_IRON_TRAPDOOR
@Deprecated public static final Material LEGACY_PRISMARINE
@Deprecated public static final Material LEGACY_SEA_LANTERN
@Deprecated public static final Material LEGACY_HAY_BLOCK
@Deprecated public static final Material LEGACY_CARPET
@Deprecated public static final Material LEGACY_HARD_CLAY
@Deprecated public static final Material LEGACY_COAL_BLOCK
@Deprecated public static final Material LEGACY_PACKED_ICE
@Deprecated public static final Material LEGACY_DOUBLE_PLANT
@Deprecated public static final Material LEGACY_STANDING_BANNER
@Deprecated public static final Material LEGACY_WALL_BANNER
@Deprecated public static final Material LEGACY_DAYLIGHT_DETECTOR_INVERTED
@Deprecated public static final Material LEGACY_RED_SANDSTONE
@Deprecated public static final Material LEGACY_RED_SANDSTONE_STAIRS
@Deprecated public static final Material LEGACY_DOUBLE_STONE_SLAB2
@Deprecated public static final Material LEGACY_STONE_SLAB2
@Deprecated public static final Material LEGACY_SPRUCE_FENCE_GATE
@Deprecated public static final Material LEGACY_BIRCH_FENCE_GATE
@Deprecated public static final Material LEGACY_JUNGLE_FENCE_GATE
@Deprecated public static final Material LEGACY_DARK_OAK_FENCE_GATE
@Deprecated public static final Material LEGACY_ACACIA_FENCE_GATE
@Deprecated public static final Material LEGACY_SPRUCE_FENCE
@Deprecated public static final Material LEGACY_BIRCH_FENCE
@Deprecated public static final Material LEGACY_JUNGLE_FENCE
@Deprecated public static final Material LEGACY_DARK_OAK_FENCE
@Deprecated public static final Material LEGACY_ACACIA_FENCE
@Deprecated public static final Material LEGACY_SPRUCE_DOOR
@Deprecated public static final Material LEGACY_BIRCH_DOOR
@Deprecated public static final Material LEGACY_JUNGLE_DOOR
@Deprecated public static final Material LEGACY_ACACIA_DOOR
@Deprecated public static final Material LEGACY_DARK_OAK_DOOR
@Deprecated public static final Material LEGACY_END_ROD
@Deprecated public static final Material LEGACY_CHORUS_PLANT
@Deprecated public static final Material LEGACY_CHORUS_FLOWER
@Deprecated public static final Material LEGACY_PURPUR_BLOCK
@Deprecated public static final Material LEGACY_PURPUR_PILLAR
@Deprecated public static final Material LEGACY_PURPUR_STAIRS
@Deprecated public static final Material LEGACY_PURPUR_DOUBLE_SLAB
@Deprecated public static final Material LEGACY_PURPUR_SLAB
@Deprecated public static final Material LEGACY_END_BRICKS
@Deprecated public static final Material LEGACY_BEETROOT_BLOCK
@Deprecated public static final Material LEGACY_GRASS_PATH
@Deprecated public static final Material LEGACY_END_GATEWAY
@Deprecated public static final Material LEGACY_COMMAND_REPEATING
@Deprecated public static final Material LEGACY_COMMAND_CHAIN
@Deprecated public static final Material LEGACY_FROSTED_ICE
@Deprecated public static final Material LEGACY_MAGMA
@Deprecated public static final Material LEGACY_NETHER_WART_BLOCK
@Deprecated public static final Material LEGACY_RED_NETHER_BRICK
@Deprecated public static final Material LEGACY_BONE_BLOCK
@Deprecated public static final Material LEGACY_STRUCTURE_VOID
@Deprecated public static final Material LEGACY_OBSERVER
@Deprecated public static final Material LEGACY_WHITE_SHULKER_BOX
@Deprecated public static final Material LEGACY_ORANGE_SHULKER_BOX
@Deprecated public static final Material LEGACY_MAGENTA_SHULKER_BOX
@Deprecated public static final Material LEGACY_LIGHT_BLUE_SHULKER_BOX
@Deprecated public static final Material LEGACY_YELLOW_SHULKER_BOX
@Deprecated public static final Material LEGACY_LIME_SHULKER_BOX
@Deprecated public static final Material LEGACY_PINK_SHULKER_BOX
@Deprecated public static final Material LEGACY_GRAY_SHULKER_BOX
@Deprecated public static final Material LEGACY_SILVER_SHULKER_BOX
@Deprecated public static final Material LEGACY_CYAN_SHULKER_BOX
@Deprecated public static final Material LEGACY_PURPLE_SHULKER_BOX
@Deprecated public static final Material LEGACY_BLUE_SHULKER_BOX
@Deprecated public static final Material LEGACY_BROWN_SHULKER_BOX
@Deprecated public static final Material LEGACY_GREEN_SHULKER_BOX
@Deprecated public static final Material LEGACY_RED_SHULKER_BOX
@Deprecated public static final Material LEGACY_BLACK_SHULKER_BOX
@Deprecated public static final Material LEGACY_WHITE_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_ORANGE_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_MAGENTA_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_LIGHT_BLUE_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_YELLOW_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_LIME_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_PINK_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_GRAY_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_SILVER_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_CYAN_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_PURPLE_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_BLUE_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_BROWN_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_GREEN_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_RED_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_BLACK_GLAZED_TERRACOTTA
@Deprecated public static final Material LEGACY_CONCRETE
@Deprecated public static final Material LEGACY_CONCRETE_POWDER
@Deprecated public static final Material LEGACY_STRUCTURE_BLOCK
@Deprecated public static final Material LEGACY_IRON_SPADE
@Deprecated public static final Material LEGACY_IRON_PICKAXE
@Deprecated public static final Material LEGACY_IRON_AXE
@Deprecated public static final Material LEGACY_FLINT_AND_STEEL
@Deprecated public static final Material LEGACY_APPLE
@Deprecated public static final Material LEGACY_BOW
@Deprecated public static final Material LEGACY_ARROW
@Deprecated public static final Material LEGACY_COAL
@Deprecated public static final Material LEGACY_DIAMOND
@Deprecated public static final Material LEGACY_IRON_INGOT
@Deprecated public static final Material LEGACY_GOLD_INGOT
@Deprecated public static final Material LEGACY_IRON_SWORD
@Deprecated public static final Material LEGACY_WOOD_SWORD
@Deprecated public static final Material LEGACY_WOOD_SPADE
@Deprecated public static final Material LEGACY_WOOD_PICKAXE
@Deprecated public static final Material LEGACY_WOOD_AXE
@Deprecated public static final Material LEGACY_STONE_SWORD
@Deprecated public static final Material LEGACY_STONE_SPADE
@Deprecated public static final Material LEGACY_STONE_PICKAXE
@Deprecated public static final Material LEGACY_STONE_AXE
@Deprecated public static final Material LEGACY_DIAMOND_SWORD
@Deprecated public static final Material LEGACY_DIAMOND_SPADE
@Deprecated public static final Material LEGACY_DIAMOND_PICKAXE
@Deprecated public static final Material LEGACY_DIAMOND_AXE
@Deprecated public static final Material LEGACY_STICK
@Deprecated public static final Material LEGACY_BOWL
@Deprecated public static final Material LEGACY_MUSHROOM_SOUP
@Deprecated public static final Material LEGACY_GOLD_SWORD
@Deprecated public static final Material LEGACY_GOLD_SPADE
@Deprecated public static final Material LEGACY_GOLD_PICKAXE
@Deprecated public static final Material LEGACY_GOLD_AXE
@Deprecated public static final Material LEGACY_STRING
@Deprecated public static final Material LEGACY_FEATHER
@Deprecated public static final Material LEGACY_SULPHUR
@Deprecated public static final Material LEGACY_WOOD_HOE
@Deprecated public static final Material LEGACY_STONE_HOE
@Deprecated public static final Material LEGACY_IRON_HOE
@Deprecated public static final Material LEGACY_DIAMOND_HOE
@Deprecated public static final Material LEGACY_GOLD_HOE
@Deprecated public static final Material LEGACY_SEEDS
@Deprecated public static final Material LEGACY_WHEAT
@Deprecated public static final Material LEGACY_BREAD
@Deprecated public static final Material LEGACY_LEATHER_HELMET
@Deprecated public static final Material LEGACY_LEATHER_CHESTPLATE
@Deprecated public static final Material LEGACY_LEATHER_LEGGINGS
@Deprecated public static final Material LEGACY_LEATHER_BOOTS
@Deprecated public static final Material LEGACY_CHAINMAIL_HELMET
@Deprecated public static final Material LEGACY_CHAINMAIL_CHESTPLATE
@Deprecated public static final Material LEGACY_CHAINMAIL_LEGGINGS
@Deprecated public static final Material LEGACY_CHAINMAIL_BOOTS
@Deprecated public static final Material LEGACY_IRON_HELMET
@Deprecated public static final Material LEGACY_IRON_CHESTPLATE
@Deprecated public static final Material LEGACY_IRON_LEGGINGS
@Deprecated public static final Material LEGACY_IRON_BOOTS
@Deprecated public static final Material LEGACY_DIAMOND_HELMET
@Deprecated public static final Material LEGACY_DIAMOND_CHESTPLATE
@Deprecated public static final Material LEGACY_DIAMOND_LEGGINGS
@Deprecated public static final Material LEGACY_DIAMOND_BOOTS
@Deprecated public static final Material LEGACY_GOLD_HELMET
@Deprecated public static final Material LEGACY_GOLD_CHESTPLATE
@Deprecated public static final Material LEGACY_GOLD_LEGGINGS
@Deprecated public static final Material LEGACY_GOLD_BOOTS
@Deprecated public static final Material LEGACY_FLINT
@Deprecated public static final Material LEGACY_PORK
@Deprecated public static final Material LEGACY_GRILLED_PORK
@Deprecated public static final Material LEGACY_PAINTING
@Deprecated public static final Material LEGACY_GOLDEN_APPLE
@Deprecated public static final Material LEGACY_SIGN
@Deprecated public static final Material LEGACY_WOOD_DOOR
@Deprecated public static final Material LEGACY_BUCKET
@Deprecated public static final Material LEGACY_WATER_BUCKET
@Deprecated public static final Material LEGACY_LAVA_BUCKET
@Deprecated public static final Material LEGACY_MINECART
@Deprecated public static final Material LEGACY_SADDLE
@Deprecated public static final Material LEGACY_IRON_DOOR
@Deprecated public static final Material LEGACY_REDSTONE
@Deprecated public static final Material LEGACY_SNOW_BALL
@Deprecated public static final Material LEGACY_BOAT
@Deprecated public static final Material LEGACY_LEATHER
@Deprecated public static final Material LEGACY_MILK_BUCKET
@Deprecated public static final Material LEGACY_CLAY_BRICK
@Deprecated public static final Material LEGACY_CLAY_BALL
@Deprecated public static final Material LEGACY_SUGAR_CANE
@Deprecated public static final Material LEGACY_PAPER
@Deprecated public static final Material LEGACY_BOOK
@Deprecated public static final Material LEGACY_SLIME_BALL
@Deprecated public static final Material LEGACY_STORAGE_MINECART
@Deprecated public static final Material LEGACY_POWERED_MINECART
@Deprecated public static final Material LEGACY_EGG
@Deprecated public static final Material LEGACY_COMPASS
@Deprecated public static final Material LEGACY_FISHING_ROD
@Deprecated public static final Material LEGACY_WATCH
@Deprecated public static final Material LEGACY_GLOWSTONE_DUST
@Deprecated public static final Material LEGACY_RAW_FISH
@Deprecated public static final Material LEGACY_COOKED_FISH
@Deprecated public static final Material LEGACY_INK_SACK
@Deprecated public static final Material LEGACY_BONE
@Deprecated public static final Material LEGACY_SUGAR
@Deprecated public static final Material LEGACY_CAKE
@Deprecated public static final Material LEGACY_BED
@Deprecated public static final Material LEGACY_DIODE
@Deprecated public static final Material LEGACY_COOKIE
@Deprecated public static final Material LEGACY_MAP
MapView
@Deprecated public static final Material LEGACY_SHEARS
@Deprecated public static final Material LEGACY_MELON
@Deprecated public static final Material LEGACY_PUMPKIN_SEEDS
@Deprecated public static final Material LEGACY_MELON_SEEDS
@Deprecated public static final Material LEGACY_RAW_BEEF
@Deprecated public static final Material LEGACY_COOKED_BEEF
@Deprecated public static final Material LEGACY_RAW_CHICKEN
@Deprecated public static final Material LEGACY_COOKED_CHICKEN
@Deprecated public static final Material LEGACY_ROTTEN_FLESH
@Deprecated public static final Material LEGACY_ENDER_PEARL
@Deprecated public static final Material LEGACY_BLAZE_ROD
@Deprecated public static final Material LEGACY_GHAST_TEAR
@Deprecated public static final Material LEGACY_GOLD_NUGGET
@Deprecated public static final Material LEGACY_NETHER_STALK
@Deprecated public static final Material LEGACY_POTION
@Deprecated public static final Material LEGACY_GLASS_BOTTLE
@Deprecated public static final Material LEGACY_SPIDER_EYE
@Deprecated public static final Material LEGACY_FERMENTED_SPIDER_EYE
@Deprecated public static final Material LEGACY_BLAZE_POWDER
@Deprecated public static final Material LEGACY_MAGMA_CREAM
@Deprecated public static final Material LEGACY_BREWING_STAND_ITEM
@Deprecated public static final Material LEGACY_CAULDRON_ITEM
@Deprecated public static final Material LEGACY_EYE_OF_ENDER
@Deprecated public static final Material LEGACY_SPECKLED_MELON
@Deprecated public static final Material LEGACY_MONSTER_EGG
@Deprecated public static final Material LEGACY_EXP_BOTTLE
@Deprecated public static final Material LEGACY_FIREBALL
@Deprecated public static final Material LEGACY_BOOK_AND_QUILL
@Deprecated public static final Material LEGACY_WRITTEN_BOOK
@Deprecated public static final Material LEGACY_EMERALD
@Deprecated public static final Material LEGACY_ITEM_FRAME
@Deprecated public static final Material LEGACY_FLOWER_POT_ITEM
@Deprecated public static final Material LEGACY_CARROT_ITEM
@Deprecated public static final Material LEGACY_POTATO_ITEM
@Deprecated public static final Material LEGACY_BAKED_POTATO
@Deprecated public static final Material LEGACY_POISONOUS_POTATO
@Deprecated public static final Material LEGACY_EMPTY_MAP
@Deprecated public static final Material LEGACY_GOLDEN_CARROT
@Deprecated public static final Material LEGACY_SKULL_ITEM
@Deprecated public static final Material LEGACY_CARROT_STICK
@Deprecated public static final Material LEGACY_NETHER_STAR
@Deprecated public static final Material LEGACY_PUMPKIN_PIE
@Deprecated public static final Material LEGACY_FIREWORK
@Deprecated public static final Material LEGACY_FIREWORK_CHARGE
@Deprecated public static final Material LEGACY_ENCHANTED_BOOK
@Deprecated public static final Material LEGACY_REDSTONE_COMPARATOR
@Deprecated public static final Material LEGACY_NETHER_BRICK_ITEM
@Deprecated public static final Material LEGACY_QUARTZ
@Deprecated public static final Material LEGACY_EXPLOSIVE_MINECART
@Deprecated public static final Material LEGACY_HOPPER_MINECART
@Deprecated public static final Material LEGACY_PRISMARINE_SHARD
@Deprecated public static final Material LEGACY_PRISMARINE_CRYSTALS
@Deprecated public static final Material LEGACY_RABBIT
@Deprecated public static final Material LEGACY_COOKED_RABBIT
@Deprecated public static final Material LEGACY_RABBIT_STEW
@Deprecated public static final Material LEGACY_RABBIT_FOOT
@Deprecated public static final Material LEGACY_RABBIT_HIDE
@Deprecated public static final Material LEGACY_ARMOR_STAND
@Deprecated public static final Material LEGACY_IRON_BARDING
@Deprecated public static final Material LEGACY_GOLD_BARDING
@Deprecated public static final Material LEGACY_DIAMOND_BARDING
@Deprecated public static final Material LEGACY_LEASH
@Deprecated public static final Material LEGACY_NAME_TAG
@Deprecated public static final Material LEGACY_COMMAND_MINECART
@Deprecated public static final Material LEGACY_MUTTON
@Deprecated public static final Material LEGACY_COOKED_MUTTON
@Deprecated public static final Material LEGACY_BANNER
@Deprecated public static final Material LEGACY_END_CRYSTAL
@Deprecated public static final Material LEGACY_SPRUCE_DOOR_ITEM
@Deprecated public static final Material LEGACY_BIRCH_DOOR_ITEM
@Deprecated public static final Material LEGACY_JUNGLE_DOOR_ITEM
@Deprecated public static final Material LEGACY_ACACIA_DOOR_ITEM
@Deprecated public static final Material LEGACY_DARK_OAK_DOOR_ITEM
@Deprecated public static final Material LEGACY_CHORUS_FRUIT
@Deprecated public static final Material LEGACY_CHORUS_FRUIT_POPPED
@Deprecated public static final Material LEGACY_BEETROOT
@Deprecated public static final Material LEGACY_BEETROOT_SEEDS
@Deprecated public static final Material LEGACY_BEETROOT_SOUP
@Deprecated public static final Material LEGACY_DRAGONS_BREATH
@Deprecated public static final Material LEGACY_SPLASH_POTION
@Deprecated public static final Material LEGACY_SPECTRAL_ARROW
@Deprecated public static final Material LEGACY_TIPPED_ARROW
@Deprecated public static final Material LEGACY_LINGERING_POTION
@Deprecated public static final Material LEGACY_SHIELD
@Deprecated public static final Material LEGACY_ELYTRA
@Deprecated public static final Material LEGACY_BOAT_SPRUCE
@Deprecated public static final Material LEGACY_BOAT_BIRCH
@Deprecated public static final Material LEGACY_BOAT_JUNGLE
@Deprecated public static final Material LEGACY_BOAT_ACACIA
@Deprecated public static final Material LEGACY_BOAT_DARK_OAK
@Deprecated public static final Material LEGACY_TOTEM
@Deprecated public static final Material LEGACY_SHULKER_SHELL
@Deprecated public static final Material LEGACY_IRON_NUGGET
@Deprecated public static final Material LEGACY_KNOWLEDGE_BOOK
@Deprecated public static final Material LEGACY_GOLD_RECORD
@Deprecated public static final Material LEGACY_GREEN_RECORD
@Deprecated public static final Material LEGACY_RECORD_3
@Deprecated public static final Material LEGACY_RECORD_4
@Deprecated public static final Material LEGACY_RECORD_5
@Deprecated public static final Material LEGACY_RECORD_6
@Deprecated public static final Material LEGACY_RECORD_7
@Deprecated public static final Material LEGACY_RECORD_8
@Deprecated public static final Material LEGACY_RECORD_9
@Deprecated public static final Material LEGACY_RECORD_10
@Deprecated public static final Material LEGACY_RECORD_11
@Deprecated public static final Material LEGACY_RECORD_12
@Deprecated public static final String LEGACY_PREFIX
public final Class<?> data
public static Material[] values()
for (Material c : Material.values()) System.out.println(c);
public static Material valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public int getId()
@Deprecated public boolean isLegacy()
@NotNull public @NotNull NamespacedKey getKey()
Keyed
public int getMaxStackSize()
public short getMaxDurability()
@NotNull public @NotNull BlockData createBlockData()
BlockData
instance for this Material, with all
properties initialized to unspecified defaults.@NotNull public @NotNull BlockData createBlockData(@Nullable @Nullable Consumer<BlockData> consumer)
BlockData
instance for this Material, with
all properties initialized to unspecified defaults.consumer
- consumer to run on new instance before returning@NotNull public @NotNull BlockData createBlockData(@Nullable @Nullable String data) throws IllegalArgumentException
BlockData
instance for this Material, with all
properties initialized to unspecified defaults, except for those provided
in data.data
- data stringIllegalArgumentException
- if the specified data is not valid@NotNull public @NotNull Class<? extends MaterialData> getData()
@Deprecated @NotNull public @NotNull MaterialData getNewData(byte raw)
raw
- Initial data to construct the MaterialData withpublic boolean isBlock()
public boolean isEdible()
@Nullable public static @Nullable Material getMaterial(@NotNull @NotNull String name)
This is a normal lookup, names must be the precise name they are given in the enum.
name
- Name of the material to get@Nullable public static @Nullable Material getMaterial(@NotNull @NotNull String name, boolean legacyName)
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).
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).
name
- Name of the material to getlegacyName
- whether this is a legacy name lookup@Nullable public static @Nullable Material matchMaterial(@NotNull @NotNull String name)
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.
name
- Name of the material to get@Nullable public static @Nullable Material matchMaterial(@NotNull @NotNull String name, boolean legacyName)
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.
name
- Name of the material to getlegacyName
- whether this is a legacy name (see
getMaterial(java.lang.String, boolean)
public boolean isRecord()
public boolean isSolid()
public boolean isAir()
@Deprecated public boolean isTransparent()
public boolean isFlammable()
public boolean isBurnable()
public boolean isFuel()
public boolean isOccluding()
public boolean hasGravity()
public boolean isItem()
public boolean isInteractable()
public float getHardness()
isBlock()
is true.public float getBlastResistance()
isBlock()
is true.Copyright © 2020. All rights reserved.