# Uses of Enum Class
org.bukkit.Material

Packages that use Material
Package
Description
com.destroystokyo.paper
com.destroystokyo.paper.event.block
com.destroystokyo.paper.event.player
io.papermc.paper.event.player
org.bukkit
The root package of the Bukkit API, contains generalized API classes.
org.bukkit.block
Classes used to manipulate the voxels in a `world`, including special states.
org.bukkit.block.data
Generalized BlockData classes.
org.bukkit.enchantments
Classes relating to the specialized enhancements to `item stacks`, as part of the `meta data`.
org.bukkit.entity
Interfaces for non-voxel objects that can exist in a `world`, including all players, monsters, projectiles, etc.
org.bukkit.event.block
`Events` relating to when a `block` is changed or interacts with the `world`.
org.bukkit.event.entity
`Events` relating to `entities`, excluding some directly referencing some more specific entity types.
org.bukkit.event.inventory
`Events` relating to `inventory` manipulation.
org.bukkit.event.player
`Events` relating to `players`.
org.bukkit.generator
Classes to facilitate `world` generation implementation.
org.bukkit.inventory
Classes involved in manipulating player inventories and item interactions.
org.bukkit.inventory.meta
The interfaces used when manipulating extra data can can be stored inside `item stacks`.
org.bukkit.material
Classes that represents various voxel types and states.
org.bukkit.scoreboard
Interfaces used to manage the client side score display system.

## Uses of Material in com.destroystokyo.paper

Methods in com.destroystokyo.paper that return types with arguments of type Material
Modifier and Type
Method
Description
`protected @NotNull Set<Material>`
MaterialSetTag.`getAllPossibleValues()`
Methods in com.destroystokyo.paper with parameters of type Material
Modifier and Type
Method
Description
`protected @NotNull String`
MaterialSetTag.`getName(@NotNull Material value)`
`boolean`
MaterialSetTag.`isTagged(@NotNull Material material)`
Constructors in com.destroystokyo.paper with parameters of type Material
Modifier
Constructor
Description
``
`MaterialSetTag(@NotNull Material... materials)`
Deprecated.
Use NamespacedKey version of constructor
``
`MaterialSetTag(@Nullable NamespacedKey key, @NotNull Material... materials)`
Constructor parameters in com.destroystokyo.paper with type arguments of type Material
Modifier
Constructor
Description
``
`MaterialSetTag(@NotNull Collection<Material> materials)`
Deprecated.
Use NamespacedKey version of constructor
``
`MaterialSetTag(@NotNull Predicate<Material> filter)`
Deprecated.
Use NamespacedKey version of constructor
``
`MaterialSetTag(@Nullable NamespacedKey key, @NotNull Collection<Material> materials)`
``
`MaterialSetTag(@Nullable NamespacedKey key, @NotNull Collection<Material> materials, @NotNull Predicate<Material>... globalPredicates)`
``
`MaterialSetTag(@Nullable NamespacedKey key, @NotNull Predicate<Material> filter)`

## Uses of Material in com.destroystokyo.paper.event.block

Methods in com.destroystokyo.paper.event.block that return Material
Modifier and Type
Method
Description
`@NotNull Material`
AnvilDamagedEvent.DamageState.`getMaterial()`
Get block material of this state
Methods in com.destroystokyo.paper.event.block with parameters of type Material
Modifier and Type
Method
Description
`static @NotNull AnvilDamagedEvent.DamageState`
AnvilDamagedEvent.DamageState.`getState(@Nullable Material material)`
Get damaged state by block material

## Uses of Material in com.destroystokyo.paper.event.player

Methods in com.destroystokyo.paper.event.player that return types with arguments of type Material
Modifier and Type
Method
Description
`@NotNull Set<Material>`
PlayerArmorChangeEvent.SlotType.`getTypes()`
Gets an immutable set of all allowed material types that can be placed in an armor slot.
Methods in com.destroystokyo.paper.event.player with parameters of type Material
Modifier and Type
Method
Description
`static @Nullable PlayerArmorChangeEvent.SlotType`
PlayerArmorChangeEvent.SlotType.`getByMaterial(@NotNull Material material)`
Gets the type of slot via the specified material
`static boolean`
PlayerArmorChangeEvent.SlotType.`isEquipable(@NotNull Material material)`
Gets whether or not this material can be equipped to a slot

## Uses of Material in io.papermc.paper.event.player

Methods in io.papermc.paper.event.player that return Material
Modifier and Type
Method
Description
`@NotNull Material`
PlayerItemCooldownEvent.`getType()`
Get the material affected by the cooldown.
Constructors in io.papermc.paper.event.player with parameters of type Material
Modifier
Constructor
Description
``
`PlayerItemCooldownEvent(@NotNull Player player, @NotNull Material type, int cooldown)`

## Uses of Material in org.bukkit

Fields in org.bukkit with type parameters of type Material
Modifier and Type
Field
Description
`static final Tag<Material>`
Tag.`ACACIA_LOGS`
Vanilla block tag representing all acacia log and bark variants.
`static final Tag<Material>`
Tag.`ALL_HANGING_SIGNS`
Vanilla block tag representing all hanging signs.
`static final Tag<Material>`
Tag.`ALL_SIGNS`
Vanilla block tag representing all signs, regardless of type.
`static final Tag<Material>`
Tag.`ANCIENT_CITY_REPLACEABLE`
Vanilla block tag representing all blocks which can be replaced by ancient cities.
`static final Tag<Material>`
Tag.`ANIMALS_SPAWNABLE_ON`
Vanilla block tag representing all blocks which animals will spawn on.
`static final Tag<Material>`
Tag.`ANVIL`
Vanilla block tag representing all damaged and undamaged anvils.
`static final Tag<Material>`
Tag.`AXOLOTL_TEMPT_ITEMS`
Vanilla item tag representing all items which tempt axolotls.
`static final Tag<Material>`
Tag.`AXOLOTLS_SPAWNABLE_ON`
Vanilla block tag representing all blocks which axolotls will spawn on.
`static final Tag<Material>`
Tag.`AZALEA_GROWS_ON`
Vanilla block tag representing all blocks which azaleas will grow on.
`static final Tag<Material>`
Tag.`AZALEA_ROOT_REPLACEABLE`
Vanilla block tag representing all blocks replaceable by azalea root.
`static final Tag<Material>`
Tag.`BAMBOO_BLOCKS`
Vanilla block tag representing all bamboo blocks.
`static final Tag<Material>`
Tag.`BAMBOO_PLANTABLE_ON`
Vanilla block tag denoting all blocks bamboo may be planted on.
`static final Tag<Material>`
Tag.`BANNERS`
Vanilla block tag representing all banner blocks.
`static final Tag<Material>`
Tag.`BASE_STONE_NETHER`
Vanilla block tag representing the nether base material.
`static final Tag<Material>`
Tag.`BASE_STONE_OVERWORLD`
Vanilla block tag representing the overworld base material.
`static final Tag<Material>`
Tag.`BEACON_BASE_BLOCKS`
Vanilla block tag representing all beacon base blocks.
`static final Tag<Material>`
Tag.`BEDS`
Vanilla block tag representing all beds.
`static final Tag<Material>`
Tag.`BEE_GROWABLES`
Vanilla block tag representing all bee growables.
`static final Tag<Material>`
Tag.`BEEHIVES`
Vanilla block tag representing all beehives.
`static final Tag<Material>`
Tag.`BIG_DRIPLEAF_PLACEABLE`
Vanilla block tag representing all blocks which big dripleaf can be placed on.
`static final Tag<Material>`
Tag.`BIRCH_LOGS`
Vanilla block tag representing all birch log and bark variants.
`static final Tag<Material>`
Tag.`BUTTONS`
Vanilla block tag representing all buttons (inherits from `Tag.WOODEN_BUTTONS`.
`static final Tag<Material>`
Tag.`CAMPFIRES`
Vanilla block tag representing all campfires.
`static final Tag<Material>`
Tag.`CANDLE_CAKES`
Vanilla block tag representing all candle cakes.
`static final Tag<Material>`
Tag.`CANDLES`
Vanilla block tag representing all candles.
`static final Tag<Material>`
Tag.`CARPETS`
Deprecated.
`Tag.WOOL_CARPETS`.
`static final Tag<Material>`
Tag.`CAULDRONS`
Vanilla block tag representing all cauldrons.
`static final Tag<Material>`
Tag.`CAVE_VINES`
Vanilla block tag representing all cave vines.
`static final Tag<Material>`
Tag.`CEILING_HANGING_SIGNS`
Vanilla block tag representing all ceiling signs.
`static final Tag<Material>`
Tag.`CLIMBABLE`
Vanilla block tag representing all climbable blocks.
`static final Tag<Material>`
Tag.`CLUSTER_MAX_HARVESTABLES`
Vanilla item tag representing all items which are preferred for harvesting clusters (unused).
`static final Tag<Material>`
Tag.`COAL_ORES`
Vanilla block tag representing all coal ores.
`static final Tag<Material>`
Tag.`COMPLETES_FIND_TREE_TUTORIAL`
Vanilla block tag representing all blocks which complete the find tree tutorial.
`static final Tag<Material>`
Tag.`CONVERTABLE_TO_MUD`
Vanilla block tag representing all blocks which may be converted to mud.
`static final Tag<Material>`
Tag.`COPPER_ORES`
Vanilla block tag representing all copper ores.
`static final Tag<Material>`
Tag.`CORAL_BLOCKS`
Vanilla block tag representing all coral blocks.
`static final Tag<Material>`
Tag.`CORAL_PLANTS`
Vanilla block tag representing all coral plants.
`static final Tag<Material>`
Tag.`CORALS`
Vanilla block tag representing all coral.
`static final Tag<Material>`
Tag.`CRIMSON_STEMS`
Vanilla block tag representing all crimson stems.
`static final Tag<Material>`
Tag.`CROPS`
Vanilla block tag representing all crops.
`static final Tag<Material>`
Tag.`CRYSTAL_SOUND_BLOCKS`
Vanilla block tag representing all blocks that make crystal sounds.
`static final Tag<Material>`
Tag.`DAMPENS_VIBRATIONS`
Vanilla block tag representing all blocks that dampen the propagation of vibration signals.
`static final Tag<Material>`
Tag.`DARK_OAK_LOGS`
Vanilla block tag representing all dark oak log and bark variants.
`static final Tag<Material>`
Tag.`DEAD_BUSH_MAY_PLACE_ON`
Vanilla block tag representing all blocks which dead bushes may be placed on.
`static final Tag<Material>`
Tag.`DEEPSLATE_ORE_REPLACEABLES`
Vanilla block tag representing all blocks that may be replaced by deepslate ores.
`static final Tag<Material>`
Tag.`DIAMOND_ORES`
Vanilla block tag representing all diamond ores.
`static final Tag<Material>`
Tag.`DIRT`
Vanilla block tag representing all dirt.
`static final Tag<Material>`
Tag.`DOORS`
Vanilla block tag representing all doors (inherits from `Tag.WOODEN_DOORS`.
`static final Tag<Material>`
Tag.`DRAGON_IMMUNE`
Vanilla block tag representing all blocks immune to dragons.
`static final Tag<Material>`
Tag.`DRAGON_TRANSPARENT`
Vanilla block tag representing all blocks transparent to the ender dragon.
`static final Tag<Material>`
Tag.`DRIPSTONE_REPLACEABLE`
Vanilla block tag representing all blocks that are replaceable by dripstone.
`static final Tag<Material>`
Tag.`EMERALD_ORES`
Vanilla block tag representing all emerald ores.
`static final Tag<Material>`
Tag.`ENDERMAN_HOLDABLE`
Vanilla block tag denoting blocks that enderman may pick up and hold.
`static final Tag<Material>`
Tag.`FALL_DAMAGE_RESETTING`
Vanilla block tag representing all blocks which reset fall damage.
`static final Tag<Material>`
Tag.`FEATURES_CANNOT_REPLACE`
Vanilla block tag representing all blocks which will not be replaced by world generation features.
`static final Tag<Material>`
Tag.`FENCE_GATES`
Vanilla block tag representing all fence gates.
`static final Tag<Material>`
Tag.`FENCES`
Vanilla block tag representing all fences.
`static final Tag<Material>`
Tag.`FIRE`
Vanilla block tag representing all fire blocks.
`static final Tag<Material>`
Tag.`FLOWER_POTS`
Vanilla block tag representing all empty and filled flower pots.
`static final Tag<Material>`
Tag.`FLOWERS`
Vanilla block tag representing all flowers.
`static final Tag<Material>`
Tag.`FOX_FOOD`
Vanilla item tag representing all fox food.
`static final Tag<Material>`
Tag.`FOXES_SPAWNABLE_ON`
Vanilla block tag representing all blocks which foxes will spawn on.
`static final Tag<Material>`
Tag.`FREEZE_IMMUNE_WEARABLES`
Vanilla item tag representing all items that confer freeze immunity on the wearer.
`static final Tag<Material>`
Tag.`FROG_PREFER_JUMP_TO`
Vanilla block tag representing all blocks which frogs prefer to jump to.
`static final Tag<Material>`
Tag.`FROGS_SPAWNABLE_ON`
Vanilla block tag representing all blocks which frogs will spawn on.
`static final Tag<Material>`
Tag.`GEODE_INVALID_BLOCKS`
Vanilla block tag representing all blocks which geodes will not spawn in.
`static final Tag<Material>`
Tag.`GOATS_SPAWNABLE_ON`
Vanilla block tag representing all blocks which goats will spawn on.
`static final Tag<Material>`
Tag.`GOLD_ORES`
Vanilla block tag representing all gold ores.
`static final Tag<Material>`
Tag.`GUARDED_BY_PIGLINS`
Vanilla block tag representing all blocks guarded by piglins.
`static final Tag<Material>`
Tag.`HOGLIN_REPELLENTS`
Vanilla block tag representing all hoglin repellents.
`static final Tag<Material>`
Tag.`ICE`
Vanilla block tag denoting ice blocks.
`static final Tag<Material>`
Tag.`IGNORED_BY_PIGLIN_BABIES`
Vanilla item tag representing all items ignored by piglin babies.
`static final Tag<Material>`
Tag.`IMPERMEABLE`
Vanilla block tag denoting impermeable blocks which do not drip fluids.
`static final Tag<Material>`
Tag.`INFINIBURN_END`
Vanilla block tag representing all blocks that burn forever in the end.
`static final Tag<Material>`
Tag.`INFINIBURN_NETHER`
Vanilla block tag representing all blocks that burn forever in the nether.
`static final Tag<Material>`
Tag.`INFINIBURN_OVERWORLD`
Vanilla block tag representing all blocks that burn forever in the overworld.
`static final Tag<Material>`
Tag.`INSIDE_STEP_SOUND_BLOCKS`
Vanilla block tag representing all blocks that play muffled step sounds.
`static final Tag<Material>`
Tag.`INVALID_SPAWN_INSIDE`
Vanilla block tag representing blocks which cannot be dismounted into.
`static final Tag<Material>`
Tag.`IRON_ORES`
Vanilla block tag representing all iron ores.
`static final Tag<Material>`
Tag.`ITEMS_ARROWS`
Vanilla item tag representing all arrow items.
`static final Tag<Material>`
Tag.`ITEMS_BANNERS`
Vanilla item tag representing all banner items.
`static final Tag<Material>`
Tag.`ITEMS_BEACON_PAYMENT_ITEMS`
Vanilla item tag representing all items that may be placed in beacons.
`static final Tag<Material>`
Tag.`ITEMS_BOATS`
Vanilla item tag representing all boat items.
`static final Tag<Material>`
Tag.`ITEMS_BOOKSHELF_BOOKS`
Vanilla item tag representing all books that may be placed on bookshelves.
`static final Tag<Material>`
Tag.`ITEMS_CHEST_BOATS`
Vanilla item tag representing all chest boat items.
`static final Tag<Material>`
Tag.`ITEMS_COALS`
Vanilla item tag representing all coal items.
`static final Tag<Material>`
Tag.`ITEMS_COMPASSES`
Vanilla item tag representing all compasses.
`static final Tag<Material>`
Tag.`ITEMS_CREEPER_DROP_MUSIC_DISCS`
Vanilla item tag representing all music disc items dropped by creepers.
`static final Tag<Material>`
Tag.`ITEMS_CREEPER_IGNITERS`
Vanilla item tag representing all items which will ignite creepers when interacted with.
`static final Tag<Material>`
Tag.`ITEMS_FISHES`
Vanilla item tag representing all fish items.
`static final Tag<Material>`
Tag.`ITEMS_FURNACE_MATERIALS`
Vanilla item tag representing all furnace materials.
`static final Tag<Material>`
Tag.`ITEMS_HANGING_SIGNS`
Vanilla item tag representing all hanging signs.
`static final Tag<Material>`
Tag.`ITEMS_LECTERN_BOOKS`
Vanilla item tag representing all books that may be placed on lecterns.
`static final Tag<Material>`
Tag.`ITEMS_MUSIC_DISCS`
Vanilla item tag representing all music disc items.
`static final Tag<Material>`
Tag.`ITEMS_PIGLIN_LOVED`
Vanilla item tag representing all items loved by piglins.
`static final Tag<Material>`
Tag.`ITEMS_STONE_TOOL_MATERIALS`
Vanilla item tag representing all stone tool materials.
`static final Tag<Material>`
Tag.`JUNGLE_LOGS`
Vanilla block tag representing all jungle log and bark variants.
`static final Tag<Material>`
Tag.`LAPIS_ORES`
Vanilla block tag representing all lapis ores.
`static final Tag<Material>`
Tag.`LAVA_POOL_STONE_CANNOT_REPLACE`
Vanilla block tag representing all blocks which lava pools will not replace.
`static final Tag<Material>`
Tag.`LEAVES`
Vanilla block tag representing all leaves fans.
`static final Tag<Material>`
Tag.`LOGS`
Vanilla block tag representing all log and bark variants.
`static final Tag<Material>`
Tag.`LOGS_THAT_BURN`
Vanilla block tag representing all log and bark variants that burn.
`static final Tag<Material>`
Tag.`LUSH_GROUND_REPLACEABLE`
Vanilla block tag representing all blocks replaceable by lush ground.
`static final Tag<Material>`
Tag.`MANGROVE_LOGS`
Vanilla block tag representing all mangrove log and bark variants.
`static final Tag<Material>`
Tag.`MANGROVE_LOGS_CAN_GROW_THROUGH`
Vanilla block tag representing all blocks which mangrove logs can grow through.
`static final Tag<Material>`
Tag.`MANGROVE_ROOTS_CAN_GROW_THROUGH`
Vanilla block tag representing all blocks which mangrove roots can grow through.
`static final Registry<Material>`
Registry.`MATERIAL`
Server materials.
`static final Tag<Material>`
Tag.`MINEABLE_AXE`
Vanilla block tag representing all blocks mineable with an axe.
`static final Tag<Material>`
Tag.`MINEABLE_HOE`
Vanilla block tag representing all blocks mineable with a hoe.
`static final Tag<Material>`
Tag.`MINEABLE_PICKAXE`
Vanilla block tag representing all blocks mineable with a pickaxe.
`static final Tag<Material>`
Tag.`MINEABLE_SHOVEL`
Vanilla block tag representing all blocks mineable with a shovel.
`static final Tag<Material>`
Tag.`MOOSHROOMS_SPAWNABLE_ON`
Vanilla block tag representing all blocks which mooshrooms will spawn on.
`static final Tag<Material>`
Tag.`MOSS_REPLACEABLE`
Vanilla block tag representing all blocks replaceable by moss.
`static final Tag<Material>`
Tag.`MUSHROOM_GROW_BLOCK`
`static final Tag<Material>`
Tag.`NEEDS_DIAMOND_TOOL`
Vanilla block tag representing all blocks which require a diamond tool.
`static final Tag<Material>`
Tag.`NEEDS_IRON_TOOL`
Vanilla block tag representing all blocks which require an iron tool.
`static final Tag<Material>`
Tag.`NEEDS_STONE_TOOL`
Vanilla block tag representing all blocks which require a stone tool.
`static final Tag<Material>`
Tag.`NETHER_CARVER_REPLACEABLES`
Vanilla block tag representing all blocks replaceable by the nether carver.
`static final Tag<Material>`
Tag.`NYLIUM`
Vanilla block tag representing all nylium blocks.
`static final Tag<Material>`
Tag.`OAK_LOGS`
Vanilla block tag representing all oak log and bark variants.
`static final Tag<Material>`
Tag.`OCCLUDES_VIBRATION_SIGNALS`
Vanilla block tag representing all blocks that block vibration signals.
`static final Tag<Material>`
Tag.`OVERWORLD_CARVER_REPLACEABLES`
Vanilla block tag representing all blocks replaceable by the overworld carver.
`static final Tag<Material>`
Tag.`PARROTS_SPAWNABLE_ON`
Vanilla block tag representing all blocks which parrots will spawn on.
`static final Tag<Material>`
Tag.`PIGLIN_FOOD`
Vanilla item tag representing all piglin food.
`static final Tag<Material>`
Tag.`PIGLIN_REPELLENTS`
Vanilla block tag representing all piglin repellents.
`static final Tag<Material>`
Tag.`PLANKS`
Vanilla block tag representing all plank variants.
`static final Tag<Material>`
Tag.`POLAR_BEARS_SPAWNABLE_ON_ALTERNATE`
Vanilla block tag representing all blocks which polar bears will spawn on.
`static final Tag<Material>`
Tag.`POLAR_BEARS_SPAWNABLE_ON_IN_FROZEN_OCEAN`
Deprecated.
`Tag.POLAR_BEARS_SPAWNABLE_ON_ALTERNATE`
`static final Tag<Material>`
Tag.`PORTALS`
Vanilla block tag representing all portals.
`static final Tag<Material>`
Tag.`PRESSURE_PLATES`
Vanilla block tag representing all pressure plates.
`static final Tag<Material>`
Tag.`PREVENT_MOB_SPAWNING_INSIDE`
Vanilla block tag representing all blocks that prevent inside mob spawning.
`static final Tag<Material>`
Tag.`RABBITS_SPAWNABLE_ON`
Vanilla block tag representing all blocks which rabbits will spawn on.
`static final Tag<Material>`
Tag.`RAILS`
Vanilla block tag representing all Minecart rails.
`static final Tag<Material>`
Tag.`REDSTONE_ORES`
Vanilla block tag representing all redstone ores.
`static final Tag<Material>`
Tag.`REPLACEABLE_PLANTS`
Vanilla block tag representing all plant blocks which may be replaced.
`static final Tag<Material>`
Tag.`SAND`
Vanilla block tag representing all sand blocks.
`static final Tag<Material>`
Tag.`SAPLINGS`
Vanilla block tag representing all sapling variants.
`static final Tag<Material>`
Tag.`SCULK_REPLACEABLE`
Vanilla block tag representing all blocks which can be replaced by skulk.
`static final Tag<Material>`
Tag.`SCULK_REPLACEABLE_WORLD_GEN`
Vanilla block tag representing all blocks which can be replaced by skulk during world generation.
`static final Tag<Material>`
Tag.`SHULKER_BOXES`
Vanilla block tag representing all shulker boxes.
`static final Tag<Material>`
Tag.`SIGNS`
Vanilla block tag representing all regular signs.
`static final Tag<Material>`
Tag.`SLABS`
Vanilla block tag representing all slabs.
`static final Tag<Material>`
Tag.`SMALL_DRIPLEAF_PLACEABLE`
Vanilla block tag representing all blocks which small dripleaf can be placed on.
`static final Tag<Material>`
Tag.`SMALL_FLOWERS`
Vanilla block tag representing all small flowers.
`static final Tag<Material>`
Tag.`SNAPS_GOAT_HORN`
Vanilla block tag representing all blocks which snap dropped goat horns.
`static final Tag<Material>`
Tag.`SNOW`
Vanilla block tag representing all snow blocks.
`static final Tag<Material>`
Tag.`SNOW_LAYER_CAN_SURVIVE_ON`
Vanilla block tag representing blocks which snow can survive on.
`static final Tag<Material>`
Tag.`SNOW_LAYER_CANNOT_SURVIVE_ON`
Vanilla block tag representing blocks which snow cannot survive on.
`static final Tag<Material>`
Tag.`SOUL_FIRE_BASE_BLOCKS`
Vanilla block tag representing all soul fire base blocks.
`static final Tag<Material>`
Tag.`SOUL_SPEED_BLOCKS`
Vanilla block tag representing all blocks affected by the soul speed enchantment.
`static final Tag<Material>`
Tag.`SPRUCE_LOGS`
Vanilla block tag representing all spruce log and bark variants.
`static final Tag<Material>`
Tag.`STAIRS`
Vanilla block tag representing all stairs.
`static final Tag<Material>`
Tag.`STANDING_SIGNS`
Vanilla block tag representing all standing signs.
`static final Tag<Material>`
Tag.`STONE_BRICKS`
Vanilla block tag representing all regular/mossy/cracked/chiseled stone bricks.
`static final Tag<Material>`
Tag.`STONE_ORE_REPLACEABLES`
Vanilla block tag representing all blocks that may be replaced by ores.
`static final Tag<Material>`
Tag.`STONE_PRESSURE_PLATES`
Vanilla block tag representing all stone pressure plates.
`static final Tag<Material>`
Tag.`STRIDER_WARM_BLOCKS`
Vanilla block tag representing all warm strider blocks.
`static final Tag<Material>`
Tag.`TALL_FLOWERS`
Vanilla block tag representing all tall flowers.
`static final Tag<Material>`
Tag.`TERRACOTTA`
Vanilla block tag representing all terracotta.
`static final Tag<Material>`
Tag.`TRAPDOORS`
Vanilla block tag representing all trapdoors (inherits from `Tag.WOODEN_TRAPDOORS`.
`static final Tag<Material>`
Tag.`UNDERWATER_BONEMEALS`
Vanilla block tag denoting all underwater blocks which may be bonemealed.
`static final Tag<Material>`
Tag.`UNSTABLE_BOTTOM_CENTER`
Vanilla block tag representing all unstable bottom center blocks.
`static final Tag<Material>`
Tag.`VALID_SPAWN`
Vanilla block tag denoting all valid mob spawn positions.
`static final Tag<Material>`
Tag.`WALL_CORALS`
Vanilla block tag representing all wall corals.
`static final Tag<Material>`
Tag.`WALL_HANGING_SIGNS`
Vanilla block tag representing all wall hanging signs.
`static final Tag<Material>`
Tag.`WALL_POST_OVERRIDE`
Vanilla block tag representing all wall post overrides.
`static final Tag<Material>`
Tag.`WALL_SIGNS`
Vanilla block tag representing all wall signs.
`static final Tag<Material>`
Tag.`WALLS`
Vanilla block tag representing all walls.
`static final Tag<Material>`
Tag.`WARPED_STEMS`
Vanilla block tag representing all warped stems.
`static final Tag<Material>`
Tag.`WART_BLOCKS`
Vanilla block tag representing all wart blocks.
`static final Tag<Material>`
Tag.`WITHER_IMMUNE`
Vanilla block tag representing all blocks immune to withers.
`static final Tag<Material>`
Tag.`WITHER_SUMMON_BASE_BLOCKS`
Vanilla block tag representing all base blocks used for wither summoning.
`static final Tag<Material>`
Tag.`WOLVES_SPAWNABLE_ON`
Vanilla block tag representing all blocks which wolves will spawn on.
`static final Tag<Material>`
Tag.`WOODEN_BUTTONS`
Vanilla block tag representing all wooden buttons.
`static final Tag<Material>`
Tag.`WOODEN_DOORS`
Vanilla block tag representing all wooden doors.
`static final Tag<Material>`
Tag.`WOODEN_FENCES`
Vanilla block tag representing all wooden fences.
`static final Tag<Material>`
Tag.`WOODEN_PRESSURE_PLATES`
Vanilla block tag representing all wooden pressure plates.
`static final Tag<Material>`
Tag.`WOODEN_SLABS`
Vanilla block tag representing all wooden slabs.
`static final Tag<Material>`
Tag.`WOODEN_STAIRS`
Vanilla block tag representing all wooden stairs.
`static final Tag<Material>`
Tag.`WOODEN_TRAPDOORS`
Vanilla block tag representing all wooden trapdoors.
`static final Tag<Material>`
Tag.`WOOL`
Vanilla block tag representing all colors of wool.
`static final Tag<Material>`
Tag.`WOOL_CARPETS`
Vanilla block tag representing all colors of carpet.
Methods in org.bukkit that return Material
Modifier and Type
Method
Description
`Material`
UnsafeValues.`fromLegacy(Material material)`
Deprecated.
`Material`
UnsafeValues.`fromLegacy(MaterialData material)`
Deprecated.
`Material`
UnsafeValues.`fromLegacy(MaterialData material, boolean itemPriority)`
Deprecated.
`@NotNull Material`
ChunkSnapshot.`getBlockType(int x, int y, int z)`
Get block type for block at corresponding coordinate in the chunk
`@Nullable Material`
Material.`getCraftingRemainingItem()`
Determines the remaining item in a crafting grid after crafting with this ingredient.
`static @Nullable Material`
Material.`getMaterial(@NotNull String name)`
Attempts to get the Material with the given name.
`static @Nullable Material`
Material.`getMaterial(@NotNull String name, boolean legacyName)`
Attempts to get the Material with the given name.
`Material`
UnsafeValues.`getMaterial(String material, int version)`
Deprecated.
`@NotNull Material`
RegionAccessor.`getType(int x, int y, int z)`
Gets the type of the block at the given coordinates.
`@NotNull Material`
RegionAccessor.`getType(@NotNull Location location)`
Gets the type of the block at the given `Location`.
`static @Nullable Material`
Material.`matchMaterial(@NotNull String name)`
Attempts to match the Material with the given name.
`static @Nullable Material`
Material.`matchMaterial(@NotNull String name, boolean legacyName)`
Attempts to match the Material with the given name.
`Material`
UnsafeValues.`toLegacy(Material material)`
Deprecated.
`static Material`
Material.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static Material[]`
Material.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.
Methods in org.bukkit that return types with arguments of type Material
Modifier and Type
Method
Description
`@NotNull Collection<Material>`
World.`getInfiniburn()`
Gets the collection of materials that burn infinitely in this world.
Methods in org.bukkit with parameters of type Material
Modifier and Type
Method
Description
`static @NotNull BlockData`
Bukkit.`createBlockData(@NotNull Material material)`
Creates a new `BlockData` instance for the specified Material, with all properties initialized to unspecified defaults.
`static @NotNull BlockData`
Bukkit.`createBlockData(@NotNull Material material, @Nullable Consumer<BlockData> consumer)`
Creates a new `BlockData` instance for the specified Material, with all properties initialized to unspecified defaults.
`static @NotNull BlockData`
Bukkit.`createBlockData(@Nullable Material material, @Nullable String data)`
Creates a new `BlockData` instance for the specified Material, with all properties initialized to unspecified defaults, except for those provided in data.
`@NotNull BlockData`
Server.`createBlockData(@NotNull Material material)`
Creates a new `BlockData` instance for the specified Material, with all properties initialized to unspecified defaults.
`@NotNull BlockData`
Server.`createBlockData(@NotNull Material material, @Nullable Consumer<BlockData> consumer)`
Creates a new `BlockData` instance for the specified Material, with all properties initialized to unspecified defaults.
`@NotNull BlockData`
Server.`createBlockData(@Nullable Material material, @Nullable String data)`
Creates a new `BlockData` instance for the specified Material, with all properties initialized to unspecified defaults, except for those provided in data.
`void`
OfflinePlayer.`decrementStatistic(@NotNull Statistic statistic, @NotNull Material material)`
Decrements the given statistic for this player for the given material.
`void`
OfflinePlayer.`decrementStatistic(@NotNull Statistic statistic, @NotNull Material material, int amount)`
Decrements the given statistic for this player for the given material.
`Material`
UnsafeValues.`fromLegacy(Material material)`
Deprecated.
`BlockData`
UnsafeValues.`fromLegacy(Material material, byte data)`
Deprecated.
`CreativeCategory`
UnsafeValues.`getCreativeCategory(Material material)`
Deprecated.
`Multimap<Attribute,AttributeModifier>`
UnsafeValues.`getDefaultAttributeModifiers(Material material, EquipmentSlot slot)`
Deprecated.
`@NotNull Multimap<Attribute,AttributeModifier>`
UnsafeValues.`getItemAttributes(@NotNull Material material, @NotNull EquipmentSlot equipmentSlot)`
Deprecated.
Returns an immutable multimap of attributes for the material and slot.
`ItemRarity`
UnsafeValues.`getItemRarity(Material material)`
Deprecated.
Gets the item rarity of a material.
`int`
OfflinePlayer.`getStatistic(@NotNull Statistic statistic, @NotNull Material material)`
Gets the value of the given statistic for this player.
`String`
UnsafeValues.`getTranslationKey(Material mat)`
Deprecated.
Return the translation key for the Material, so the client can translate it into the active locale when using a `TranslatableComponent`.
`void`
OfflinePlayer.`incrementStatistic(@NotNull Statistic statistic, @NotNull Material material)`
Increments the given statistic for this player for the given material.
`void`
OfflinePlayer.`incrementStatistic(@NotNull Statistic statistic, @NotNull Material material, int amount)`
Increments the given statistic for this player for the given material.
`boolean`
UnsafeValues.`isCollidable(@NotNull Material material)`
Deprecated.
Checks if this material is collidable.
`void`
OfflinePlayer.`setStatistic(@NotNull Statistic statistic, @NotNull Material material, int newValue)`
Sets the given statistic for this player for the given material.
`void`
RegionAccessor.`setType(int x, int y, int z, @NotNull Material material)`
Sets the `Material` at the given coordinates.
`void`
RegionAccessor.`setType(@NotNull Location location, @NotNull Material material)`
Sets the `Material` at the given `Location`.
`@NotNull FallingBlock`
World.`spawnFallingBlock(@NotNull Location location, @NotNull Material material, byte data)`
Deprecated.
Magic value
`Material`
UnsafeValues.`toLegacy(Material material)`
Deprecated.

## Uses of Material in org.bukkit.block

Methods in org.bukkit.block that return Material
Modifier and Type
Method
Description
`@NotNull Material`
Jukebox.`getPlaying()`
Gets the record inserted into the jukebox.
`@NotNull Material`
Block.`getType()`
Gets the type of this block
`@NotNull Material`
BlockState.`getType()`
Gets the type of this block state.
Methods in org.bukkit.block with parameters of type Material
Modifier and Type
Method
Description
`void`
Jukebox.`setPlaying(@Nullable Material record)`
Sets the record being played.
`void`
Block.`setType(@NotNull Material type)`
Sets the type of this block
`void`
Block.`setType(@NotNull Material type, boolean applyPhysics)`
Sets the type of this block
Note that applyPhysics = false is not in general safe.
`void`
BlockState.`setType(@NotNull Material type)`
Sets the type of this block state.

## Uses of Material in org.bukkit.block.data

Methods in org.bukkit.block.data that return Material
Modifier and Type
Method
Description
`@NotNull Material`
BlockData.`getMaterial()`
Get the Material represented by this block data.

## Uses of Material in org.bukkit.enchantments

Methods in org.bukkit.enchantments with parameters of type Material
Modifier and Type
Method
Description
`abstract boolean`
EnchantmentTarget.`includes(@NotNull Material item)`
Check whether this target includes the specified item.

## Uses of Material in org.bukkit.entity

Methods in org.bukkit.entity that return Material
Modifier and Type
Method
Description
`@NotNull Material`
Boat.`getBoatMaterial()`
Gets the `Material` that represents this Boat type.
`@NotNull Material`
Boat.Type.`getMaterial()`
Gets the material of the boat type.
`@NotNull Material`
FallingBlock.`getMaterial()`
Deprecated.
use `FallingBlock.getBlockData()`
`@NotNull Material`
Minecart.`getMinecartMaterial()`
Gets the `Material` that represents this Minecart type.
`@NotNull Material`
Steerable.`getSteerMaterial()`
Get the material used to steer this entity when ridden by a player.
Methods in org.bukkit.entity that return types with arguments of type Material
Modifier and Type
Method
Description
`@NotNull Set<Material>`
Piglin.`getBarterList()`
Returns a immutable set of materials the piglins will barter with.
`@NotNull Set<Material>`
Piglin.`getInterestList()`
Returns a immutable set of materials the piglins will pickup.
Methods in org.bukkit.entity with parameters of type Material
Modifier and Type
Method
Description
`boolean`
Piglin.`addBarterMaterial(@NotNull Material material)`
Adds a material to the allowed list of materials to barter with.
`boolean`
Piglin.`addMaterialOfInterest(@NotNull Material material)`
Adds a material the piglin will pickup and store in his inventory.
`int`
HumanEntity.`getCooldown(@NotNull Material material)`
Get the cooldown time in ticks remaining for the specified material.
`boolean`
HumanEntity.`hasCooldown(@NotNull Material material)`
Check whether a cooldown is active on the specified material.
`boolean`
Animals.`isBreedItem(@NotNull Material material)`
Check if the provided ItemStack is the correct item used for breeding this entity..
`boolean`
Piglin.`removeBarterMaterial(@NotNull Material material)`
Removes a material from the allowed list of materials to barter with.
`boolean`
Piglin.`removeMaterialOfInterest(@NotNull Material material)`
Removes a material from the list of materials the piglin will pickup.
`void`
Player.`sendBlockChange(@NotNull Location loc, @NotNull Material material, byte data)`
Deprecated.
Magic value
`void`
HumanEntity.`setCooldown(@NotNull Material material, int ticks)`
Set a cooldown on the specified material for a certain amount of ticks.
Method parameters in org.bukkit.entity with type arguments of type Material
Modifier and Type
Method
Description
`@NotNull List<Block>`
LivingEntity.`getLastTwoTargetBlocks(@Nullable Set<Material> transparent, int maxDistance)`
Gets the last two blocks along the living entity's line of sight.
`@NotNull List<Block>`
LivingEntity.`getLineOfSight(@Nullable Set<Material> transparent, int maxDistance)`
Gets all blocks along the living entity's line of sight.
`@NotNull Block`
LivingEntity.`getTargetBlock(@Nullable Set<Material> transparent, int maxDistance)`
Gets the block that the living entity has targeted.

## Uses of Material in org.bukkit.event.block

Methods in org.bukkit.event.block that return Material
Modifier and Type
Method
Description
`@NotNull Material`
BlockPhysicsEvent.`getChangedType()`
Gets the type of block that changed, causing this event.
`@NotNull Material`
BlockCanBuildEvent.`getMaterial()`
Gets the Material that we are trying to place.

## Uses of Material in org.bukkit.event.entity

Methods in org.bukkit.event.entity that return Material
Modifier and Type
Method
Description
`@NotNull Material`
EntityChangeBlockEvent.`getTo()`
Gets the Material that the block is changing into

## Uses of Material in org.bukkit.event.inventory

Methods in org.bukkit.event.inventory that return Material
Modifier and Type
Method
Description
`@NotNull Material`
FurnaceExtractEvent.`getItemType()`
Get the Material of the item being retrieved
Constructors in org.bukkit.event.inventory with parameters of type Material
Modifier
Constructor
Description
``
`FurnaceExtractEvent(@NotNull Player player, @NotNull Block block, @NotNull Material itemType, int itemAmount, int exp)`

## Uses of Material in org.bukkit.event.player

Methods in org.bukkit.event.player that return Material
Modifier and Type
Method
Description
`@NotNull Material`
PlayerBucketEvent.`getBucket()`
Returns the bucket used in this event
`@NotNull Material`
PlayerInteractEvent.`getMaterial()`
Convenience method.
`@Nullable Material`
PlayerStatisticIncrementEvent.`getMaterial()`
Gets the Material if `getStatistic()` is a block or item statistic otherwise returns null.
Constructors in org.bukkit.event.player with parameters of type Material
Modifier
Constructor
Description
``
`PlayerBucketEmptyEvent(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand)`
Deprecated.
``
`PlayerBucketEmptyEvent(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand)`
Deprecated.
``
`PlayerBucketEmptyEvent(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand, @NotNull EquipmentSlot hand)`
``
`PlayerBucketEvent(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand)`
Deprecated.
``
`PlayerBucketEvent(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand)`
Deprecated.
``
`PlayerBucketEvent(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand, @NotNull EquipmentSlot hand)`
``
`PlayerBucketFillEvent(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand)`
Deprecated.
``
`PlayerBucketFillEvent(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand)`
Deprecated.
``
`PlayerBucketFillEvent(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand, @NotNull EquipmentSlot hand)`
``
`PlayerStatisticIncrementEvent(@NotNull Player player, @NotNull Statistic statistic, int initialValue, int newValue, @NotNull Material material)`

## Uses of Material in org.bukkit.generator

Methods in org.bukkit.generator that return Material
Modifier and Type
Method
Description
`@NotNull Material`
ChunkGenerator.ChunkData.`getType(int x, int y, int z)`
Get the type of the block at x, y, z.
Methods in org.bukkit.generator with parameters of type Material
Modifier and Type
Method
Description
`void`
ChunkGenerator.ChunkData.`setBlock(int x, int y, int z, @NotNull Material material)`
Set the block at x,y,z in the chunk data to material.
`void`
ChunkGenerator.ChunkData.`setRegion(int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, @NotNull Material material)`
Set a region of this chunk from xMin, yMin, zMin (inclusive) to xMax, yMax, zMax (exclusive) to material.

## Uses of Material in org.bukkit.inventory

Methods in org.bukkit.inventory that return Material
Modifier and Type
Method
Description
`@NotNull Material`
ItemStack.`getType()`
Gets the type of this item
`@NotNull Material`
ItemFactory.`updateMaterial(@NotNull ItemMeta meta, @NotNull Material material)`
Deprecated.
for internal use only
Methods in org.bukkit.inventory that return types with arguments of type Material
Modifier and Type
Method
Description
`@NotNull List<Material>`
RecipeChoice.MaterialChoice.`getChoices()`
Methods in org.bukkit.inventory with parameters of type Material
Modifier and Type
Method
Description
`@NotNull ShapelessRecipe`
ShapelessRecipe.`addIngredient(int count, @NotNull Material ingredient)`
Adds multiples of the specified ingredient.
`@NotNull ShapelessRecipe`
ShapelessRecipe.`addIngredient(int count, @NotNull Material ingredient, int rawdata)`
Deprecated.
Magic value
`@NotNull ShapelessRecipe`
ShapelessRecipe.`addIngredient(@NotNull Material ingredient)`
Adds the specified ingredient.
`@NotNull ShapelessRecipe`
ShapelessRecipe.`addIngredient(@NotNull Material ingredient, int rawdata)`
Deprecated.
Magic value
`@NotNull HashMap<Integer,? extends ItemStack>`
Inventory.`all(@NotNull Material material)`
Returns a HashMap with all slots and ItemStacks in the inventory with the given Material.
`@Nullable ItemMeta`
ItemFactory.`asMetaFor(@NotNull ItemMeta meta, @NotNull Material material)`
Returns an appropriate item meta for the specified material.
`boolean`
Inventory.`contains(@NotNull Material material)`
Checks if the inventory contains any ItemStacks with the given material.
`boolean`
Inventory.`contains(@NotNull Material material, int amount)`
Checks if the inventory contains any ItemStacks with the given material, adding to at least the minimum amount specified.
`int`
Inventory.`first(@NotNull Material material)`
Finds the first slot in the inventory containing an ItemStack with the given material
`ItemMeta`
ItemFactory.`getItemMeta(@NotNull Material material)`
This creates a new item meta for the material.
`boolean`
ItemFactory.`isApplicable(@Nullable ItemMeta meta, @Nullable Material material)`
This method checks the item meta to confirm that it is applicable (no data lost if applied) to the specified Material.
`void`
Inventory.`remove(@NotNull Material material)`
Removes all stacks in the inventory matching the given material.
`@NotNull ShapelessRecipe`
ShapelessRecipe.`removeIngredient(int count, @NotNull Material ingredient)`
Removes multiple instances of an ingredient from the list.
`@NotNull ShapelessRecipe`
ShapelessRecipe.`removeIngredient(int count, @NotNull Material ingredient, int rawdata)`
Deprecated.
Magic value
`@NotNull ShapelessRecipe`
ShapelessRecipe.`removeIngredient(@NotNull Material ingredient)`
Removes an ingredient from the list.
`@NotNull ShapelessRecipe`
ShapelessRecipe.`removeIngredient(@NotNull Material ingredient, int rawdata)`
Deprecated.
Magic value
`@NotNull ShapedRecipe`
ShapedRecipe.`setIngredient(char key, @NotNull Material ingredient)`
Sets the material that a character in the recipe shape refers to.
`@NotNull ShapedRecipe`
ShapedRecipe.`setIngredient(char key, @NotNull Material ingredient, int raw)`
Deprecated.
Magic value
`@NotNull CookingRecipe`
CookingRecipe.`setInput(@NotNull Material input)`
Sets the input of this cooking recipe.
`@NotNull FurnaceRecipe`
FurnaceRecipe.`setInput(@NotNull Material input)`
`FurnaceRecipe`
FurnaceRecipe.`setInput(@NotNull Material input, int data)`
Deprecated.
Magic value
`@NotNull StonecuttingRecipe`
StonecuttingRecipe.`setInput(@NotNull Material input)`
Sets the input of this cooking recipe.
`void`
ItemStack.`setType(@NotNull Material type)`
Sets the type of this item
`@NotNull Material`
ItemFactory.`updateMaterial(@NotNull ItemMeta meta, @NotNull Material material)`
Deprecated.
for internal use only
Constructors in org.bukkit.inventory with parameters of type Material
Modifier
Constructor
Description
``
`BlastingRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime)`
``
`CampfireRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime)`
``
`CookingRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime)`
Create a cooking recipe to craft the specified ItemStack.
``
`FurnaceRecipe(@NotNull ItemStack result, @NotNull Material source)`
Deprecated.
``
`FurnaceRecipe(@NotNull ItemStack result, @NotNull Material source, int data)`
Deprecated.
``
`FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime)`
Create a furnace recipe to craft the specified ItemStack.
``
`FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, int data, float experience, int cookingTime)`
Deprecated.
``
`ItemStack(@NotNull Material type)`
Defaults stack size to 1, with no extra data.
``
`ItemStack(@NotNull Material type, int amount)`
An item stack with no extra data.
``
`ItemStack(@NotNull Material type, int amount, short damage)`
Deprecated.
see `ItemStack.setDurability(short)`
``
`ItemStack(@NotNull Material type, int amount, short damage, @Nullable Byte data)`
Deprecated.
this method uses an ambiguous data byte object
``
`MaterialChoice(@NotNull Material choice)`
``
`MaterialChoice(@NotNull Material... choices)`
``
`SmokingRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime)`
``
`StonecuttingRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source)`
Create a Stonecutting recipe to craft the specified ItemStack.
Constructor parameters in org.bukkit.inventory with type arguments of type Material
Modifier
Constructor
Description
``
`MaterialChoice(@NotNull List<Material> choices)`
``
`MaterialChoice(@NotNull Tag<Material> choices)`
Constructs a MaterialChoice with the current values of the specified tag.

## Uses of Material in org.bukkit.inventory.meta

Methods in org.bukkit.inventory.meta that return types with arguments of type Material
Modifier and Type
Method
Description
`Set<Material>`
ItemMeta.`getCanDestroy()`
Deprecated.
Minecraft does not limit this to the material enum, Use `ItemMeta.getDestroyableKeys()` as a replacement
`Set<Material>`
ItemMeta.`getCanPlaceOn()`
Deprecated.
Minecraft does not limit this to the material enum, Use `ItemMeta.getPlaceableKeys()` as a replacement
Methods in org.bukkit.inventory.meta with parameters of type Material
Modifier and Type
Method
Description
`@NotNull BlockData`
BlockDataMeta.`getBlockData(@NotNull Material material)`
Returns the currently attached block data for this item or creates a new one if one doesn't exist.
Method parameters in org.bukkit.inventory.meta with type arguments of type Material
Modifier and Type
Method
Description
`void`
ItemMeta.`setCanDestroy(Set<Material> canDestroy)`
Deprecated.
Minecraft does not limit this to the material enum, Use `ItemMeta.setDestroyableKeys(Collection)` as a replacement
`void`
ItemMeta.`setCanPlaceOn(Set<Material> canPlaceOn)`
Deprecated.
Minecraft does not limit this to the material enum, Use `ItemMeta.setPlaceableKeys(Collection)` as a replacement

## Uses of Material in org.bukkit.material

Fields in org.bukkit.material declared as Material
Modifier and Type
Field
Description
`protected static final Material`
Crops.`DEFAULT_TYPE`
Deprecated.
`protected static final Material`
Leaves.`DEFAULT_TYPE`
Deprecated.
`protected static final Material`
Tree.`DEFAULT_TYPE`
Deprecated.
`protected static final Material`
Wood.`DEFAULT_TYPE`
Deprecated.
`protected static final Material`
WoodenStep.`DEFAULT_TYPE`
Deprecated.
Methods in org.bukkit.material that return Material
Modifier and Type
Method
Description
`Material`
MaterialData.`getItemType()`
Deprecated.
Gets the Material that this MaterialData represents
`Material`
TexturedMaterial.`getMaterial()`
Deprecated.
Gets the current Material this block is made of
`static Material`
Door.`getWoodDoorOfSpecies(TreeSpecies species)`
Deprecated.
Returns the item type of a wooden door for the given tree species.
Methods in org.bukkit.material that return types with arguments of type Material
Modifier and Type
Method
Description
`List<Material>`
MonsterEggs.`getTextures()`
Deprecated.
`List<Material>`
SmoothBrick.`getTextures()`
Deprecated.
`List<Material>`
Step.`getTextures()`
Deprecated.
`abstract List<Material>`
TexturedMaterial.`getTextures()`
Deprecated.
Retrieve a list of possible textures.
Methods in org.bukkit.material with parameters of type Material
Modifier and Type
Method
Description
`void`
TexturedMaterial.`setMaterial(Material material)`
Deprecated.
Sets the material this block is made of
Constructors in org.bukkit.material with parameters of type Material
Modifier
Constructor
Description
``
`Banner(Material type)`
Deprecated.
``
`Banner(Material type, byte data)`
Deprecated.
Magic value
``
`Bed(Material type)`
Deprecated.
``
`Bed(Material type, byte data)`
Deprecated.
Magic value
``
`Button(Material type)`
Deprecated.
``
`Button(Material type, byte data)`
Deprecated.
Magic value
``
`Cake(Material type)`
Deprecated.
``
`Cake(Material type, byte data)`
Deprecated.
Magic value
``
`Cauldron(Material type, byte data)`
Deprecated.
Magic value
``
`Chest(Material type)`
Deprecated.
``
`Chest(Material type, byte data)`
Deprecated.
Magic value
``
`Coal(Material type)`
Deprecated.
``
`Coal(Material type, byte data)`
Deprecated.
Magic value
``
`CocoaPlant(Material type, byte data)`
Deprecated.
Magic value
``
`Command(Material type)`
Deprecated.
``
`Command(Material type, byte data)`
Deprecated.
Magic value
``
`Comparator(Material type)`
Deprecated.
``
`Comparator(Material type, byte data)`
Deprecated.
Magic value
``
`Crops(Material type)`
Deprecated.
Constructs a crop block of the given type and in the seeded state
``
`Crops(Material type, byte data)`
Deprecated.
Magic value
``
`Crops(Material type, CropState state)`
Deprecated.
Constructs a crop block of the given type and in the given growth state
``
`DetectorRail(Material type)`
Deprecated.
``
`DetectorRail(Material type, byte data)`
Deprecated.
Magic value
``
`Diode(Material type)`
Deprecated.
``
`Diode(Material type, byte data)`
Deprecated.
Magic value
``
`DirectionalContainer(Material type)`
Deprecated.
``
`DirectionalContainer(Material type, byte data)`
Deprecated.
Magic value
``
`Dispenser(Material type)`
Deprecated.
``
`Dispenser(Material type, byte data)`
Deprecated.
Magic value
``
`Door(Material type)`
Deprecated.
``
`Door(Material type, boolean isHingeRight)`
Deprecated.
Constructs the top half of door of the given material type and with the hinge on the left or right
``
`Door(Material type, byte data)`
Deprecated.
Magic value
``
`Door(Material type, BlockFace face)`
Deprecated.
Constructs the bottom half of a door of the given material type, facing the specified direction and set to closed
``
`Door(Material type, BlockFace face, boolean isOpen)`
Deprecated.
Constructs the bottom half of a door of the given material type, facing the specified direction and set to open or closed
``
`Dye(Material type)`
Deprecated.
``
`Dye(Material type, byte data)`
Deprecated.
Magic value
``
`EnderChest(Material type)`
Deprecated.
``
`EnderChest(Material type, byte data)`
Deprecated.
Magic value
``
`ExtendedRails(Material type)`
Deprecated.
``
`ExtendedRails(Material type, byte data)`
Deprecated.
Magic value
``
`FlowerPot(Material type)`
Deprecated.
``
`FlowerPot(Material type, byte data)`
Deprecated.
Magic value
``
`Furnace(Material type)`
Deprecated.
``
`Furnace(Material type, byte data)`
Deprecated.
Magic value
``
`FurnaceAndDispenser(Material type)`
Deprecated.
``
`FurnaceAndDispenser(Material type, byte data)`
Deprecated.
Magic value
``
`Gate(Material type, byte data)`
Deprecated.
Magic value
``
`Hopper(Material type)`
Deprecated.
``
`Hopper(Material type, byte data)`
Deprecated.
Magic value
``
`Ladder(Material type)`
Deprecated.
``
`Ladder(Material type, byte data)`
Deprecated.
Magic value
``
`Leaves(Material type)`
Deprecated.
Constructs a leaf block of the given type.
``
`Leaves(Material type, byte data)`
Deprecated.
Magic value
``
`Leaves(Material type, TreeSpecies species)`
Deprecated.
Constructs a leaf block of the given type and tree species.
``
`Leaves(Material type, TreeSpecies species, boolean isDecayable)`
Deprecated.
Constructs a leaf block of the given type and tree species and flag for whether this leaf block will disappear when too far from a log.
``
`Lever(Material type)`
Deprecated.
``
`Lever(Material type, byte data)`
Deprecated.
Magic value
``
`LongGrass(Material type)`
Deprecated.
``
`LongGrass(Material type, byte data)`
Deprecated.
Magic value
``
`MaterialData(Material type)`
Deprecated.
``
`MaterialData(Material type, byte data)`
Deprecated.
Magic value
``
`MonsterEggs(Material type)`
Deprecated.
``
`MonsterEggs(Material type, byte data)`
Deprecated.
Magic value
``
`Mushroom(Material shroom)`
Deprecated.
Constructs a brown/red mushroom block with all sides set to pores.
``
`Mushroom(Material shroom, byte data)`
Deprecated.
Magic value
``
`Mushroom(Material shroom, BlockFace capFace)`
Deprecated.
Constructs a brown/red mushroom cap block with the specified face or faces set to cap texture.
``
`Mushroom(Material shroom, MushroomBlockTexture texture)`
Deprecated.
Constructs a brown/red mushroom block with the specified textures.
``
`NetherWarts(Material type)`
Deprecated.
``
`NetherWarts(Material type, byte data)`
Deprecated.
Magic value
``
`Observer(Material type)`
Deprecated.
``
`Observer(Material type, byte data)`
Deprecated.
Magic value
``
`PistonBaseMaterial(Material type)`
Deprecated.
``
`PistonBaseMaterial(Material type, byte data)`
Deprecated.
Magic value
``
`PistonExtensionMaterial(Material type)`
Deprecated.
``
`PistonExtensionMaterial(Material type, byte data)`
Deprecated.
Magic value
``
`PoweredRail(Material type)`
Deprecated.
``
`PoweredRail(Material type, byte data)`
Deprecated.
Magic value
``
`PressurePlate(Material type)`
Deprecated.
``
`PressurePlate(Material type, byte data)`
Deprecated.
Magic value
``
`Pumpkin(Material type)`
Deprecated.
``
`Pumpkin(Material type, byte data)`
Deprecated.
Magic value
``
`Rails(Material type)`
Deprecated.
``
`Rails(Material type, byte data)`
Deprecated.
Magic value
``
`RedstoneTorch(Material type)`
Deprecated.
``
`RedstoneTorch(Material type, byte data)`
Deprecated.
Magic value
``
`RedstoneWire(Material type)`
Deprecated.
``
`RedstoneWire(Material type, byte data)`
Deprecated.
Magic value
``
`Sandstone(Material type)`
Deprecated.
``
`Sandstone(Material type, byte data)`
Deprecated.
Magic value
``
`Sapling(Material type)`
Deprecated.
Constructs a sapling of the given type.
``
`Sapling(Material type, byte data)`
Deprecated.
Magic value
``
`Sapling(Material type, TreeSpecies species)`
Deprecated.
Constructs a sapling of the given type and tree species.
``
`Sapling(Material type, TreeSpecies species, boolean isInstantGrowable)`
Deprecated.
Constructs a sapling of the given type and tree species and if is it instant growable
``
`Sign(Material type)`
Deprecated.
``
`Sign(Material type, byte data)`
Deprecated.
Magic value
``
`SimpleAttachableMaterialData(Material type)`
Deprecated.
``
`SimpleAttachableMaterialData(Material type, byte data)`
Deprecated.
Magic value
``
`SimpleAttachableMaterialData(Material type, BlockFace direction)`
Deprecated.
``
`Skull(Material type)`
Deprecated.
``
`Skull(Material type, byte data)`
Deprecated.
Magic value
``
`SmoothBrick(Material type)`
Deprecated.
``
`SmoothBrick(Material type, byte data)`
Deprecated.
Magic value
``
`SpawnEgg(Material type, byte data)`
Deprecated.
Magic value
``
`Stairs(Material type)`
Deprecated.
``
`Stairs(Material type, byte data)`
Deprecated.
Magic value
``
`Step(Material type)`
Deprecated.
``
`Step(Material type, byte data)`
Deprecated.
Magic value
``
`TexturedMaterial(Material m)`
Deprecated.
``
`TexturedMaterial(Material type, byte data)`
Deprecated.
Magic value
``
`Torch(Material type)`
Deprecated.
``
`Torch(Material type, byte data)`
Deprecated.
Magic value
``
`TrapDoor(Material type)`
Deprecated.
``
`TrapDoor(Material type, byte data)`
Deprecated.
Magic value
``
`Tree(Material type)`
Deprecated.
Constructs a tree block of the given type.
``
`Tree(Material type, byte data)`
Deprecated.
Magic value
``
`Tree(Material type, TreeSpecies species)`
Deprecated.
Constructs a tree block of the given type and tree species.
``
`Tree(Material type, TreeSpecies species, BlockFace dir)`
Deprecated.
Constructs a tree block of the given type and tree species, and facing the given direction.
``
`Tripwire(Material type, byte data)`
Deprecated.
Magic value
``
`TripwireHook(Material type, byte data)`
Deprecated.
Magic value
``
`Vine(Material type, byte data)`
Deprecated.
Magic value
``
`Wood(Material type)`
Deprecated.
Constructs a wood block of the given type.
``
`Wood(Material type, byte data)`
Deprecated.
Magic value
``
`Wood(Material type, TreeSpecies species)`
Deprecated.
Constructs a wood block of the given type and tree species.
``
`WoodenStep(Material type, byte data)`
Deprecated.
Magic value
``
`Wool(Material type)`
Deprecated.
``
`Wool(Material type, byte data)`
Deprecated.
Magic value

## Uses of Material in org.bukkit.scoreboard

Methods in org.bukkit.scoreboard with parameters of type Material
Modifier and Type
Method
Description
`static @NotNull Criteria`
Criteria.`statistic(@NotNull Statistic statistic, @NotNull Material material)`
Get a `Criteria` for the specified statistic pertaining to blocks or items.