Uses of Enum Class
org.bukkit.Material
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world
,
including special states.Generalized BlockData classes.
Classes relating to the specialized enhancements to
item stacks
, as part of the meta data
.Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Classes to facilitate
world
generation
implementation.Classes involved in manipulating player inventories and item interactions.
The interfaces used when manipulating extra data can can be stored inside
item stacks
.Isolated components which may form part of item meta.
Classes that represents various voxel types and states.
Classes dedicated to handling data pack information.
Interfaces used to manage the client side score display system.
-
Uses of Material in com.destroystokyo.paper
Modifier and TypeMethodDescriptionboolean
ModifierConstructorDescriptionMaterialSetTag
(@NotNull Material... materials) Deprecated.Use NamespacedKey version of constructorMaterialSetTag
(@Nullable NamespacedKey key, @NotNull Material... materials) ModifierConstructorDescriptionMaterialSetTag
(@NotNull Collection<Material> materials) Deprecated.Use NamespacedKey version of constructorMaterialSetTag
(@NotNull Predicate<Material> filter) Deprecated.Use NamespacedKey version of constructorMaterialSetTag
(@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
Modifier and TypeMethodDescriptionAnvilDamagedEvent.DamageState.getMaterial()
Get block material of this stateModifier and TypeMethodDescriptionGet damaged state by block material -
Uses of Material in com.destroystokyo.paper.event.player
Modifier and TypeMethodDescriptionPlayerArmorChangeEvent.SlotType.getTypes()
Gets an immutable set of all allowed material types that can be placed in an armor slot.Modifier and TypeMethodDescriptionPlayerArmorChangeEvent.SlotType.getByMaterial
(Material material) Gets the type of slot via the specified materialstatic boolean
PlayerArmorChangeEvent.SlotType.isEquipable
(Material material) Gets whether this material can be equipped to a slot -
Uses of Material in io.papermc.paper.event.player
Modifier and TypeMethodDescriptionPlayerItemCooldownEvent.getType()
Get the material of the item affected by the cooldown.ModifierConstructorDescriptionPlayerItemCooldownEvent
(Player player, Material type, NamespacedKey cooldownGroup, int cooldown) -
Uses of Material in org.bukkit
Modifier and TypeFieldDescriptionTag.ACACIA_LOGS
Vanilla block tag representing all acacia log and bark variants.Tag.AIR
Vanilla block tag representing all blocks that resemble air.Vanilla block tag representing all hanging signs.Tag.ALL_SIGNS
Vanilla block tag representing all signs, regardless of type.Vanilla block tag representing all blocks which can be replaced by ancient cities.Vanilla block tag representing all blocks which animals will spawn on.Tag.ANVIL
Vanilla block tag representing all damaged and undamaged anvils.Vanilla block tag representing all blocks which armadillos will spawn on.Deprecated.Vanilla block tag representing all blocks which axolotls will spawn on.Tag.AZALEA_GROWS_ON
Vanilla block tag representing all blocks which azaleas will grow on.Vanilla block tag representing all blocks replaceable by azalea root.Vanilla block tag representing all badlands terracotta.Tag.BAMBOO_BLOCKS
Vanilla block tag representing all bamboo blocks.Vanilla block tag denoting all blocks bamboo may be planted on.Tag.BANNERS
Vanilla block tag representing all banner blocks.Vanilla block tag representing the nether base material.Vanilla block tag representing the overworld base material.Vanilla block tag representing all blocks which bats will spawn on.Vanilla block tag representing all beacon base blocks.Tag.BEDS
Vanilla block tag representing all beds.Tag.BEE_ATTRACTIVE
Vanilla block tag representing all blocks which attract bees.Tag.BEE_GROWABLES
Vanilla block tag representing all bee growables.Tag.BEEHIVES
Vanilla block tag representing all beehives.Vanilla block tag representing all blocks which big dripleaf can be placed on.Tag.BIRCH_LOGS
Vanilla block tag representing all birch log and bark variants.Vanilla block tag representing all blocks which block wind charge explosions.Tag.BUTTONS
Vanilla block tag representing all buttons (inherits fromTag.WOODEN_BUTTONS
.Vanilla block tag representing all blocks that play step sounds with camels on sand.Tag.CAMPFIRES
Vanilla block tag representing all campfires.Tag.CANDLE_CAKES
Vanilla block tag representing all candle cakes.Tag.CANDLES
Vanilla block tag representing all candles.Tag.CARPETS
Deprecated.Tag.CAULDRONS
Vanilla block tag representing all cauldrons.Tag.CAVE_VINES
Vanilla block tag representing all cave vines.Vanilla block tag representing all ceiling signs.Tag.CHERRY_LOGS
Vanilla block tag representing all cherry log and bark variants.Tag.CLIMBABLE
Vanilla block tag representing all climbable blocks.Vanilla item tag representing all items which are preferred for harvesting clusters (unused).Tag.COAL_ORES
Vanilla block tag representing all coal ores.Vanilla block tag representing all blocks that play combination step sounds.Vanilla block tag representing all blocks which complete the find tree tutorial.Tag.CONCRETE_POWDER
Vanilla block tag representing all concrete powder.Vanilla block tag representing all blocks which may be converted to mud.Tag.COPPER_ORES
Vanilla block tag representing all copper ores.Tag.CORAL_BLOCKS
Vanilla block tag representing all coral blocks.Tag.CORAL_PLANTS
Vanilla block tag representing all coral plants.Tag.CORALS
Vanilla block tag representing all coral.Tag.CRIMSON_STEMS
Vanilla block tag representing all crimson stems.Tag.CROPS
Vanilla block tag representing all crops.Vanilla block tag representing all blocks that make crystal sounds.Vanilla block tag representing all blocks that dampen the propagation of vibration signals.Tag.DARK_OAK_LOGS
Vanilla block tag representing all dark oak log and bark variants.Vanilla block tag representing all blocks which dead bushes may be placed on.Vanilla block tag representing all blocks that may be replaced by deepslate ores.Tag.DIAMOND_ORES
Vanilla block tag representing all diamond ores.Tag.DIRT
Vanilla block tag representing all dirt.Vanilla block tag representing solid blocks which do not block hopper operation.Tag.DOORS
Vanilla block tag representing all doors (inherits fromTag.WOODEN_DOORS
.Tag.DRAGON_IMMUNE
Vanilla block tag representing all blocks immune to dragons.Vanilla block tag representing all blocks transparent to the ender dragon.Vanilla block tag representing all blocks that are replaceable by dripstone.Tag.EMERALD_ORES
Vanilla block tag representing all emerald ores.Vanilla block tag representing all blocks which provide enchantment power.Vanilla block tag representing all blocks which transmit enchantment power.Vanilla block tag denoting blocks that enderman may pick up and hold.Vanilla block tag representing all blocks which reset fall damage.Vanilla block tag representing all blocks which will not be replaced by world generation features.Tag.FENCE_GATES
Vanilla block tag representing all fence gates.Tag.FENCES
Vanilla block tag representing all fences.Tag.FIRE
Vanilla block tag representing all fire blocks.Tag.FLOWER_POTS
Vanilla block tag representing all empty and filled flower pots.Tag.FLOWERS
Vanilla block tag representing all flowers.Tag.FOX_FOOD
Deprecated.Vanilla block tag representing all blocks which foxes will spawn on.Vanilla item tag representing all items that confer freeze immunity on the wearer.Vanilla block tag representing all blocks which frogs prefer to jump to.Vanilla block tag representing all blocks which frogs will spawn on.Vanilla block tag representing all blocks which geodes will not spawn in.Vanilla block tag representing all blocks which goats will spawn on.Tag.GOLD_ORES
Vanilla block tag representing all gold ores.Vanilla block tag representing all blocks guarded by piglins.Vanilla block tag representing all hoglin repellents.Tag.ICE
Vanilla block tag denoting ice blocks.Vanilla item tag representing all items ignored by piglin babies.Tag.IMPERMEABLE
Vanilla block tag denoting impermeable blocks which do not drip fluids.Vanilla block tag representing all blocks which will not drop items with a diamond tool.Vanilla block tag representing all blocks which will not drop items with a gold tool.Vanilla block tag representing all blocks which will not drop items with a iron tool.Vanilla block tag representing all blocks which will not drop items with a netherite tool.Vanilla block tag representing all blocks which will not drop items with a stone tool.Vanilla block tag representing all blocks which will not drop items with a wooden tool.Tag.INFINIBURN_END
Vanilla block tag representing all blocks that burn forever in the end.Vanilla block tag representing all blocks that burn forever in the nether.Vanilla block tag representing all blocks that burn forever in the overworld.Vanilla block tag representing all blocks that play muffled step sounds.Vanilla block tag representing blocks which cannot be dismounted into.Tag.IRON_ORES
Vanilla block tag representing all iron ores.Vanilla item tag representing all armadillo food.Tag.ITEMS_ARROWS
Vanilla item tag representing all arrow items.Tag.ITEMS_AXES
Vanilla item tag representing all axes.Vanilla item tag representing all axolotl food.Tag.ITEMS_BANNERS
Vanilla item tag representing all banner items.Vanilla item tag representing all items that may be placed in beacons.Tag.ITEMS_BEE_FOOD
Vanilla item tag representing all bee food.Tag.ITEMS_BOATS
Vanilla item tag representing all boat items.Vanilla item tag representing all books that may be placed on bookshelves.Vanilla item tag representing all items which break decorated pots.Vanilla item tag representing all brewing stand fuel items.Tag.ITEMS_BUNDLES
Vanilla item tag representing all bundle items.Tag.ITEMS_CAMEL_FOOD
Vanilla item tag representing all camel food.Tag.ITEMS_CAT_FOOD
Vanilla item tag representing all cat food.Vanilla item tag representing all chest armor.Vanilla item tag representing all chest boat items.Vanilla item tag representing all chicken food.Tag.ITEMS_COALS
Vanilla item tag representing all coal items.Tag.ITEMS_COMPASSES
Vanilla item tag representing all compasses.Tag.ITEMS_COW_FOOD
Vanilla item tag representing all cow food.Vanilla item tag representing all music disc items dropped by creepers.Vanilla item tag representing all items which will ignite creepers when interacted with.Vanilla item tag representing all decorated pot ingredients.Vanilla item tag representing all decorated pot sherds.Vanilla item tag representing all diamond tool materials.Vanilla item tag representing all drowned preferred weapons.Vanilla item tag representing all items which can be used to duplicate Allays when they are dancing.Tag.ITEMS_DYEABLE
Vanilla item tag representing all dyeable items.Vanilla item tag representing all enchantable armor.Vanilla item tag representing all items enchantable with bow enchantments.Vanilla item tag representing all enchantable chest armor.Vanilla item tag representing all items enchantable with crossbow enchantments.Vanilla item tag representing all items enchantable with durability enchantments.Vanilla item tag representing all items enchantable with the binding enchantment.Vanilla item tag representing all items enchantable with the fire aspect enchantment.Vanilla item tag representing all items enchantable with fishing enchantments.Vanilla item tag representing all enchantable foot armor.Vanilla item tag representing all enchantable head armor.Vanilla item tag representing all enchantable leg armor.Vanilla item tag representing all items enchantable with mace enchantments.Vanilla item tag representing all enchantable mining tools.Vanilla item tag representing all items enchantable with the mining_loot enchantment.Vanilla item tag representing all items enchantable with the sharpness enchantment.Vanilla item tag representing all enchantable swords.Vanilla item tag representing all items enchantable with trident enchantments.Vanilla item tag representing all items enchantable with the vanishing enchantment.Vanilla item tag representing all enchantable weapons.Tag.ITEMS_FISHES
Vanilla item tag representing all fish items.Tag.ITEMS_FOOT_ARMOR
Vanilla item tag representing all foot armor.Tag.ITEMS_FOX_FOOD
Vanilla item tag representing all fox food.Tag.ITEMS_FROG_FOOD
Vanilla item tag representing all frog food.Vanilla item tag representing all furnace materials.Vanilla item tag representing all furnace minecart fuel.Vanilla item tag representing all items which disguise the wearer's gaze from other entities.Tag.ITEMS_GOAT_FOOD
Vanilla item tag representing all goat food.Vanilla item tag representing all gold tool materials.Vanilla item tag representing all hanging signs.Tag.ITEMS_HEAD_ARMOR
Vanilla item tag representing all head armor.Tag.ITEMS_HOES
Vanilla item tag representing all hoes.Vanilla item tag representing all hoglin food.Tag.ITEMS_HORSE_FOOD
Vanilla item tag representing all horse food.Vanilla item tag representing all horse tempt items.Vanilla item tag representing all iron tool materials.Vanilla item tag representing all books that may be placed on lecterns.Tag.ITEMS_LEG_ARMOR
Vanilla item tag representing all leg armor.Tag.ITEMS_LLAMA_FOOD
Vanilla item tag representing all llama food.Vanilla item tag representing all llama tempt items.Vanilla item tag representing all items which when equipped will hide the entity from maps.Tag.ITEMS_MEAT
Vanilla item tag representing all meat.Vanilla item tag representing all netherite tool materials.Vanilla item tag representing all non flammable wood items.Vanilla item tag representing all items which modify note block sounds when placed on top.Vanilla item tag representing all ocelot food.Vanilla item tag representing all items that a panda will pick up and eat from the ground.Tag.ITEMS_PANDA_FOOD
Vanilla item tag representing all panda food.Vanilla item tag representing all parrot food.Vanilla item tag representing all parrot poisonous food.Tag.ITEMS_PICKAXES
Vanilla item tag representing all pickaxes.Tag.ITEMS_PIG_FOOD
Vanilla item tag representing all pig food.Vanilla item tag representing all piglin food.Vanilla item tag representing all items loved by piglins.Vanilla item tag representing all piglin preferred weapons.Vanilla item tag representing all items which will prevent piglins from being angered.Vanilla item tag representing all pillager preferred weapons.Vanilla item tag representing all rabbit food.Vanilla item tag representing all items which repair chain armor.Vanilla item tag representing all items which repair diamond armor.Vanilla item tag representing all items which repair gold armor.Vanilla item tag representing all items which repair iron armor.Vanilla item tag representing all items which repair leather armor.Vanilla item tag representing all items which repair netherite armor.Vanilla item tag representing all items which repair turtle helmets.Vanilla item tag representing all items which repair wolf armor.Tag.ITEMS_SHEEP_FOOD
Vanilla item tag representing all sheep food.Tag.ITEMS_SHOVELS
Vanilla item tag representing all shovels.Vanilla item tag representing all skeleton preferred weapons.Tag.ITEMS_SKULLS
Vanilla item tag representing all skulls.Vanilla item tag representing all sniffer food.Vanilla item tag representing all stone tool materials.Vanilla item tag representing all strider food.Vanilla item tag representing all strider tempt items.Tag.ITEMS_SWORDS
Vanilla item tag representing all swords.Tag.ITEMS_TOOLS
Deprecated, for removal: This API element is subject to removal in a future version.removed in Minecraft 1.20.5.Vanilla item tag representing all materials which can be used for trimming armor.Vanilla item tag representing all trimmable armor items.Vanilla item tag representing all turtle food.Vanilla item tag representing all items which villagers pick up.Vanilla item tag representing all seeds plantable by villagers.Vanilla item tag representing all wither skeleton disliked weapons.Tag.ITEMS_WOLF_FOOD
Vanilla item tag representing all wolf food.Vanilla item tag representing all wooden tool materials.Tag.JUNGLE_LOGS
Vanilla block tag representing all jungle log and bark variants.Tag.LAPIS_ORES
Vanilla block tag representing all lapis ores.Vanilla block tag representing all blocks which lava pools will not replace.Tag.LEAVES
Vanilla block tag representing all leaves fans.Tag.LOGS
Vanilla block tag representing all log and bark variants.Tag.LOGS_THAT_BURN
Vanilla block tag representing all log and bark variants that burn.Vanilla block tag representing all blocks replaceable by lush ground.Vanilla block tag representing all blocks which do not destroy farmland when placed.Tag.MANGROVE_LOGS
Vanilla block tag representing all mangrove log and bark variants.Vanilla block tag representing all blocks which mangrove logs can grow through.Vanilla block tag representing all blocks which mangrove roots can grow through.Registry.MATERIAL
Server materials.Tag.MINEABLE_AXE
Vanilla block tag representing all blocks mineable with an axe.Tag.MINEABLE_HOE
Vanilla block tag representing all blocks mineable with a hoe.Tag.MINEABLE_PICKAXE
Vanilla block tag representing all blocks mineable with a pickaxe.Tag.MINEABLE_SHOVEL
Vanilla block tag representing all blocks mineable with a shovel.Vanilla block tag representing all doors which can be opened by mobs.Vanilla block tag representing all blocks which mooshrooms will spawn on.Tag.MOSS_REPLACEABLE
Vanilla block tag representing all blocks replaceable by moss.Vanilla block tag representing all blocks which require a diamond tool.Tag.NEEDS_IRON_TOOL
Vanilla block tag representing all blocks which require an iron tool.Tag.NEEDS_STONE_TOOL
Vanilla block tag representing all blocks which require a stone tool.Vanilla block tag representing all blocks replaceable by the nether carver.Tag.NYLIUM
Vanilla block tag representing all nylium blocks.Tag.OAK_LOGS
Vanilla block tag representing all oak log and bark variants.Vanilla block tag representing all blocks that block vibration signals.Vanilla block tag representing all blocks replaceable by the overworld carver.Tag.PALE_OAK_LOGS
Vanilla block tag representing all pale oak log and bark variants.Vanilla block tag representing all blocks which parrots will spawn on.Tag.PIGLIN_FOOD
Deprecated.Vanilla block tag representing all piglin repellents.Tag.PLANKS
Vanilla block tag representing all plank variants.Vanilla block tag representing all blocks which polar bears will spawn on.Tag.PORTALS
Vanilla block tag representing all portals.Tag.PRESSURE_PLATES
Vanilla block tag representing all pressure plates.Vanilla block tag representing all blocks that prevent inside mob spawning.Vanilla block tag representing all blocks which rabbits will spawn on.Tag.RAILS
Vanilla block tag representing all Minecart rails.Tag.REDSTONE_ORES
Vanilla block tag representing all redstone ores.Tag.REPLACEABLE
Vanilla block tag representing all blocks which are replaceable.Vanilla block tag representing all blocks replaceable by growing trees.Tag.SAND
Vanilla block tag representing all sand blocks.Tag.SAPLINGS
Vanilla block tag representing all sapling variants.Vanilla block tag representing all blocks which can be replaced by skulk.Vanilla block tag representing all blocks which can be replaced by skulk during world generation.Tag.SHULKER_BOXES
Vanilla block tag representing all shulker boxes.Tag.SIGNS
Vanilla block tag representing all regular signs.Tag.SLABS
Vanilla block tag representing all slabs.Vanilla block tag representing all blocks which small dripleaf can be placed on.Tag.SMALL_FLOWERS
Vanilla block tag representing all small flowers.Tag.SMELTS_TO_GLASS
Vanilla block tag representing all blocks which smelt to glass in a furnace.Tag.SNAPS_GOAT_HORN
Vanilla block tag representing all blocks which snap dropped goat horns.Vanilla block tag representing blocks which can be dug by sniffers.Vanilla block tag representing all blocks which booster sniffer egg hatching.Tag.SNOW
Vanilla block tag representing all snow blocks.Vanilla block tag representing blocks which snow can survive on.Vanilla block tag representing blocks which snow cannot survive on.Vanilla block tag representing all soul fire base blocks.Vanilla block tag representing all blocks affected by the soul speed enchantment.Tag.SPRUCE_LOGS
Vanilla block tag representing all spruce log and bark variants.Tag.STAIRS
Vanilla block tag representing all stairs.Tag.STANDING_SIGNS
Vanilla block tag representing all standing signs.Tag.STONE_BRICKS
Vanilla block tag representing all regular/mossy/cracked/chiseled stone bricks.Tag.STONE_BUTTONS
Vanilla block tag representing all stone buttons.Vanilla block tag representing all blocks that may be replaced by ores.Vanilla block tag representing all stone pressure plates.Vanilla block tag representing all warm strider blocks.Tag.SWORD_EFFICIENT
Vanilla block tag representing all blocks that can be efficiently mined with a sword.Tag.TERRACOTTA
Vanilla block tag representing all terracotta.Vanilla block tag representing all blocks which can be replaced by trail ruins.Tag.TRAPDOORS
Vanilla block tag representing all trapdoors (inherits fromTag.WOODEN_TRAPDOORS
.Vanilla block tag denoting all underwater blocks which may be bonemealed.Vanilla block tag representing all unstable bottom center blocks.Tag.VALID_SPAWN
Vanilla block tag denoting all valid mob spawn positions.Vanilla block tag representing all blocks which resonate vibrations.Tag.WALL_CORALS
Vanilla block tag representing all wall corals.Vanilla block tag representing all wall hanging signs.Vanilla block tag representing all wall post overrides.Tag.WALL_SIGNS
Vanilla block tag representing all wall signs.Tag.WALLS
Vanilla block tag representing all walls.Tag.WARPED_STEMS
Vanilla block tag representing all warped stems.Tag.WART_BLOCKS
Vanilla block tag representing all wart blocks.Tag.WITHER_IMMUNE
Vanilla block tag representing all blocks immune to withers.Vanilla block tag representing all base blocks used for wither summoning.Vanilla block tag representing all blocks which wolves will spawn on.Tag.WOODEN_BUTTONS
Vanilla block tag representing all wooden buttons.Tag.WOODEN_DOORS
Vanilla block tag representing all wooden doors.Tag.WOODEN_FENCES
Vanilla block tag representing all wooden fences.Vanilla block tag representing all wooden pressure plates.Tag.WOODEN_SLABS
Vanilla block tag representing all wooden slabs.Tag.WOODEN_STAIRS
Vanilla block tag representing all wooden stairs.Tag.WOODEN_TRAPDOORS
Vanilla block tag representing all wooden trapdoors.Tag.WOOL
Vanilla block tag representing all colors of wool.Tag.WOOL_CARPETS
Vanilla block tag representing all colors of carpet.Modifier and TypeMethodDescriptionUnsafeValues.fromLegacy
(Material material) Deprecated.UnsafeValues.fromLegacy
(MaterialData material) Deprecated.UnsafeValues.fromLegacy
(MaterialData material, boolean itemPriority) Deprecated.ChunkSnapshot.getBlockType
(int x, int y, int z) Get block type for block at corresponding coordinate in the chunkMaterial.getCraftingRemainingItem()
Determines the remaining item in a crafting grid after crafting with this ingredient.Material.getMaterial
(@NotNull String name) Attempts to get the Material with the given name.Material.getMaterial
(@NotNull String name, boolean legacyName) Attempts to get the Material with the given name.UnsafeValues.getMaterial
(String material, int version) Deprecated.RegionAccessor.getType
(int x, int y, int z) Gets the type of the block at the given coordinates.Gets the type of the block at the givenLocation
.Material.matchMaterial
(@NotNull String name) Attempts to match the Material with the given name.Material.matchMaterial
(@NotNull String name, boolean legacyName) Attempts to match the Material with the given name.Deprecated.static Material
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.Modifier and TypeMethodDescriptionWorld.getInfiniburn()
Gets the collection of materials that burn infinitely in this world.Modifier and TypeMethodDescriptionstatic void
Add an Item as fuel for furnacesvoid
Add an Item as fuel for furnacesBukkit.createBlockData
(@NotNull Material material) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults.Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults.Bukkit.createBlockData
(@Nullable Material material, @Nullable String data) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults, except for those provided in data.Server.createBlockData
(@NotNull Material material) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults.Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults.Server.createBlockData
(@Nullable Material material, @Nullable String data) Creates a newBlockData
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.UnsafeValues.fromLegacy
(Material material) Deprecated.UnsafeValues.fromLegacy
(Material material, byte data) Deprecated.UnsafeValues.getBlockTranslationKey
(Material material) Deprecated, for removal: This API element is subject to removal in a future version.UnsafeValues.getCreativeCategory
(Material material) Deprecated, for removal: This API element is subject to removal in a future version.UnsafeValues.getDefaultAttributeModifiers
(Material material, EquipmentSlot slot) Deprecated, for removal: This API element is subject to removal in a future version.UnsafeValues.getItemTranslationKey
(Material material) Deprecated, for removal: This API element is subject to removal in a future version.int
OfflinePlayer.getStatistic
(@NotNull Statistic statistic, @NotNull Material material) Gets the value of the given statistic for this player.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.static void
Bukkit.removeFuel
(@NotNull Material material) Remove an item as fuel for furnacesvoid
Server.removeFuel
(@NotNull Material material) Remove an item as fuel for furnacesvoid
OfflinePlayer.setStatistic
(@NotNull Statistic statistic, @NotNull Material material, int newValue) Sets the given statistic for this player for the given material.void
Sets theMaterial
at the given coordinates.void
World.spawnFallingBlock
(@NotNull Location location, @NotNull Material material, byte data) Deprecated.Magic value.Deprecated. -
Uses of Material in org.bukkit.block
Modifier and TypeMethodDescriptionBlockType.asMaterial()
Deprecated.only for internal useJukebox.getPlaying()
Gets the record inserted into the jukebox.DecoratedPot.getSherd
(@NotNull DecoratedPot.Side side) Get the sherd on the provided side.Block.getType()
Gets the type of this blockBlockState.getType()
Gets the type of this block state.Modifier and TypeMethodDescriptionDecoratedPot.getShards()
Deprecated.in favor ofDecoratedPot.getSherds()
DecoratedPot.getSherds()
Gets a Map of all sides on this decorated pot and the sherds on them.Modifier and TypeMethodDescriptionvoid
Jukebox.setPlaying
(@Nullable Material record) Sets the record being played.void
DecoratedPot.setSherd
(@NotNull DecoratedPot.Side side, @Nullable Material sherd) Set the sherd on the provided side.void
Sets the type of this blockvoid
Sets the type of this block
Note that applyPhysics = false is not in general safe.void
Sets the type of this block state. -
Uses of Material in org.bukkit.block.data
Modifier and TypeMethodDescriptionBlockData.getMaterial()
Get the Material represented by this block data.BlockData.getPlacementMaterial()
Gets the material that a player would use to place this block. -
Uses of Material in org.bukkit.enchantments
-
Uses of Material in org.bukkit.entity
Modifier and TypeMethodDescriptionBoat.getBoatMaterial()
Gets theMaterial
that represents this Boat type.Boat.Type.getMaterial()
Deprecated.Gets the material of the boat type.FallingBlock.getMaterial()
Deprecated.Minecart.getMinecartMaterial()
Gets theMaterial
that represents this Minecart type.Steerable.getSteerMaterial()
Get the material used to steer this entity when ridden by a player.Modifier and TypeMethodDescriptionPiglin.getBarterList()
Returns a immutable set of materials the piglins will barter with.Piglin.getInterestList()
Returns a immutable set of materials the piglins will pickup.Modifier and TypeMethodDescriptionboolean
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 valuevoid
HumanEntity.setCooldown
(@NotNull Material material, int ticks) Set a cooldown on the specified material for a certain amount of ticks.Modifier and TypeMethodDescriptionLivingEntity.getLastTwoTargetBlocks
(@Nullable Set<Material> transparent, int maxDistance) Gets the last two blocks along the living entity's line of sight.LivingEntity.getLineOfSight
(@Nullable Set<Material> transparent, int maxDistance) Gets all blocks along the living entity's line of sight.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
Modifier and TypeMethodDescriptionBlockPhysicsEvent.getChangedType()
Gets the type of block that changed, causing this event.BlockCanBuildEvent.getMaterial()
Gets the Material that we are trying to place. -
Uses of Material in org.bukkit.event.entity
-
Uses of Material in org.bukkit.event.inventory
Modifier and TypeMethodDescriptionFurnaceExtractEvent.getItemType()
Get the Material of the item being retrieved -
Uses of Material in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerBucketEvent.getBucket()
Returns the bucket used in this eventPlayerInteractEvent.getMaterial()
Convenience method.PlayerStatisticIncrementEvent.getMaterial()
Gets the Material ifgetStatistic()
is a block or item statistic otherwise returns null.ModifierConstructorDescriptionPlayerBucketEmptyEvent
(@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
Modifier and TypeMethodDescriptionChunkGenerator.ChunkData.getType
(int x, int y, int z) Get the type of the block at x, y, z.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionItemType.asMaterial()
Deprecated.only for internal useItemFactory.getSpawnEgg
(@NotNull EntityType type) Gets aMaterial
representing the spawn egg for the providedEntityType
.ItemStack.getType()
Gets the type of this itemModifier and TypeMethodDescriptionShapelessRecipe.addIngredient
(int count, @NotNull Material ingredient) Adds multiples of the specified ingredient.ShapelessRecipe.addIngredient
(int count, @NotNull Material ingredient, int rawdata) Deprecated.Magic valueShapelessRecipe.addIngredient
(@NotNull Material ingredient) Adds the specified ingredient.ShapelessRecipe.addIngredient
(@NotNull Material ingredient, int rawdata) Deprecated.Magic valueReturns a HashMap with all slots and ItemStacks in the inventory with the given Material.Returns an appropriate item meta for the specified material.boolean
Checks if the inventory contains any ItemStacks with the given material.boolean
Checks if the inventory contains any ItemStacks with the given material, adding to at least the minimum amount specified.int
Finds the first slot in the inventory containing an ItemStack with the given materialItemStack.getBlockData
(@NotNull Material material) Returns the currently attached block data for this item or creates a new one if one doesn't exist.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.Creates an itemstack with the specified item type and a count of 1.Creates an itemstack with the specified item type and count.void
Removes all stacks in the inventory matching the given material.ShapelessRecipe.removeIngredient
(int count, @NotNull Material ingredient) Removes multiple instances of an ingredient from the list.ShapelessRecipe.removeIngredient
(int count, @NotNull Material ingredient, int rawdata) Deprecated.Magic valueShapelessRecipe.removeIngredient
(@NotNull Material ingredient) Removes an ingredient from the list.ShapelessRecipe.removeIngredient
(@NotNull Material ingredient, int rawdata) Deprecated.Magic valueShapedRecipe.setIngredient
(char key, @NotNull Material ingredient) Sets the material that a character in the recipe shape refers to.ShapedRecipe.setIngredient
(char key, @NotNull Material ingredient, int raw) Deprecated.Magic valueSets the input of this cooking recipe.Deprecated.Magic valueSets the input of this Stonecutting recipe.void
Deprecated.Setting the material type of ItemStacks is no longer supported.Creates a new ItemStack with the specified Material type, where the item count and item meta is preserved.ModifierConstructorDescriptionBlastingRecipe
(@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 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.FurnaceRecipe
(@NotNull ItemStack result, @NotNull Material source) Deprecated.FurnaceRecipe
(@NotNull ItemStack result, @NotNull Material source, int data) Deprecated.Defaults stack size to 1, with no extra data.An item stack with no extra data.Deprecated.Deprecated, for removal: This API element is subject to removal in a future version.this method uses an ambiguous data byte objectMaterialChoice
(@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.TransmuteRecipe
(@NotNull NamespacedKey key, @NotNull Material result, @NotNull RecipeChoice input, @NotNull RecipeChoice material) Create a transmute recipe to produce a result of the specified type.ModifierConstructorDescriptionMaterialChoice
(@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
Modifier and TypeMethodDescriptionItemMeta.getCanDestroy()
Deprecated, for removal: This API element is subject to removal in a future version.this API is unsupported and will be replaced, its usage may result in data loss related to place/destroy predicates.ItemMeta.getCanPlaceOn()
Deprecated, for removal: This API element is subject to removal in a future version.this API is unsupported and will be replaced, its usage may result in data loss related to place/destroy predicates.Modifier and TypeMethodDescriptionBlockDataMeta.getBlockData
(@NotNull Material material) Returns the currently attached block data for this item or creates a new one if one doesn't exist.Modifier and TypeMethodDescriptionvoid
ItemMeta.setCanDestroy
(Set<Material> canDestroy) Deprecated, for removal: This API element is subject to removal in a future version.this API is unsupported and will be replaced, its usage may result in data loss related to place/destroy predicates.void
ItemMeta.setCanPlaceOn
(Set<Material> canPlaceOn) Deprecated, for removal: This API element is subject to removal in a future version.this API is unsupported and will be replaced, its usage may result in data loss related to place/destroy predicates. -
Uses of Material in org.bukkit.inventory.meta.components
Modifier and TypeMethodDescriptionToolComponent.ToolRule.getBlocks()
Get a collection of the block types to which this tool rule applies.Modifier and TypeMethodDescriptionToolComponent.addRule
(@NotNull Material block, @Nullable Float speed, @Nullable Boolean correctForDrops) Add a new rule to this tool component, which provides further information about a specific block type.void
Set the block type to which this rule applies.Modifier and TypeMethodDescriptionToolComponent.addRule
(@NotNull Collection<Material> blocks, @Nullable Float speed, @Nullable Boolean correctForDrops) Add a new rule to this tool component, which provides further information about a collection of block types.ToolComponent.addRule
(@NotNull Tag<Material> tag, @Nullable Float speed, @Nullable Boolean correctForDrops) Add a new rule to this tool component, which provides further information about a collection of block types represented by a blockTag
.void
ToolComponent.ToolRule.setBlocks
(@NotNull Collection<Material> blocks) Set the block types to which this rule applies.void
Set the block types (represented as a blockTag
) to which this rule applies. -
Uses of Material in org.bukkit.material
Modifier and TypeFieldDescriptionprotected static final Material
Crops.DEFAULT_TYPE
Deprecated, for removal: This API element is subject to removal in a future version.protected static final Material
Leaves.DEFAULT_TYPE
Deprecated, for removal: This API element is subject to removal in a future version.protected static final Material
Tree.DEFAULT_TYPE
Deprecated, for removal: This API element is subject to removal in a future version.protected static final Material
Wood.DEFAULT_TYPE
Deprecated, for removal: This API element is subject to removal in a future version.protected static final Material
WoodenStep.DEFAULT_TYPE
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionMaterialData.getItemType()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the Material that this MaterialData representsTexturedMaterial.getMaterial()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the current Material this block is made ofstatic Material
Door.getWoodDoorOfSpecies
(TreeSpecies species) Deprecated, for removal: This API element is subject to removal in a future version.Returns the item type of a wooden door for the given tree species.Modifier and TypeMethodDescriptionMonsterEggs.getTextures()
Deprecated, for removal: This API element is subject to removal in a future version.SmoothBrick.getTextures()
Deprecated, for removal: This API element is subject to removal in a future version.Step.getTextures()
Deprecated, for removal: This API element is subject to removal in a future version.TexturedMaterial.getTextures()
Deprecated, for removal: This API element is subject to removal in a future version.Retrieve a list of possible textures.Modifier and TypeMethodDescriptionvoid
TexturedMaterial.setMaterial
(Material material) Deprecated, for removal: This API element is subject to removal in a future version.Sets the material this block is made ofModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueCocoaPlant
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueComparator
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.Comparator
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Constructs a crop block of the given type and in the seeded stateDeprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Constructs a crop block of the given type and in the given growth stateDetectorRail
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.DetectorRail
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDirectionalContainer
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.DirectionalContainer
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Constructs the top half of door of the given material type and with the hinge on the left or rightDeprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Constructs the bottom half of a door of the given material type, facing the specified direction and set to closedDeprecated, for removal: This API element is subject to removal in a future version.Constructs the bottom half of a door of the given material type, facing the specified direction and set to open or closedDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueEnderChest
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.EnderChest
(Material type, byte data) Deprecated.Magic valueExtendedRails
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.ExtendedRails
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueFurnaceAndDispenser
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.FurnaceAndDispenser
(Material type, byte data) Deprecated.Magic valueDeprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Constructs a leaf block of the given type.Deprecated.Magic valueLeaves
(Material type, TreeSpecies species) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a leaf block of the given type and tree species.Leaves
(Material type, TreeSpecies species, boolean isDecayable) Deprecated, for removal: This API element is subject to removal in a future version.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.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueMaterialData
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.MaterialData
(Material type, byte data) Deprecated.Magic valueMonsterEggs
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.MonsterEggs
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Constructs a brown/red mushroom block with all sides set to pores.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Constructs a brown/red mushroom cap block with the specified face or faces set to cap texture.Mushroom
(Material shroom, MushroomBlockTexture texture) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a brown/red mushroom block with the specified textures.NetherWarts
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.NetherWarts
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valuePistonBaseMaterial
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.PistonBaseMaterial
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.PistonExtensionMaterial
(Material type, byte data) Deprecated.Magic valuePoweredRail
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.PoweredRail
(Material type, byte data) Deprecated.Magic valuePressurePlate
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.PressurePlate
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueRedstoneTorch
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.RedstoneTorch
(Material type, byte data) Deprecated.Magic valueRedstoneWire
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.RedstoneWire
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Constructs a sapling of the given type.Deprecated.Magic valueSapling
(Material type, TreeSpecies species) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a sapling of the given type and tree species.Sapling
(Material type, TreeSpecies species, boolean isInstantGrowable) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a sapling of the given type and tree species and if is it instant growableDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.SimpleAttachableMaterialData
(Material type, byte data) Deprecated.Magic valueSimpleAttachableMaterialData
(Material type, BlockFace direction) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueSmoothBrick
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.SmoothBrick
(Material type, byte data) Deprecated.Magic valueDeprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.TexturedMaterial
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Constructs a tree block of the given type.Deprecated.Magic valueTree
(Material type, TreeSpecies species) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a tree block of the given type and tree species.Tree
(Material type, TreeSpecies species, BlockFace dir) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a tree block of the given type and tree species, and facing the given direction.Deprecated.Magic valueTripwireHook
(Material type, byte data) Deprecated.Magic valueDeprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Constructs a wood block of the given type.Deprecated.Magic valueWood
(Material type, TreeSpecies species) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a wood block of the given type and tree species.WoodenStep
(Material type, byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic value -
Uses of Material in org.bukkit.packs
Modifier and TypeMethodDescriptionboolean
DataPackManager.isEnabledByFeature
(@NotNull Material material, @NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Gets if the Material is enabled for use by the features in World. -
Uses of Material in org.bukkit.scoreboard