Uses of Enum
org.bukkit.Material
Packages that use 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.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 org.bukkit
Fields in org.bukkit with type parameters of type MaterialModifier and TypeFieldDescriptionTag.ACACIA_LOGSVanilla block tag representing all acacia log and bark variants.Vanilla block tag representing all hanging signs.Tag.ALL_SIGNSVanilla 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.ANVILVanilla block tag representing all damaged and undamaged anvils.Vanilla item tag representing all items which tempt axolotls.Vanilla block tag representing all blocks which axolotls will spawn on.Tag.AZALEA_GROWS_ONVanilla block tag representing all blocks which azaleas will grow on.Vanilla block tag representing all blocks replaceable by azalea root.Tag.BAMBOO_BLOCKSVanilla block tag representing all bamboo blocks.Vanilla block tag denoting all blocks bamboo may be planted on.Tag.BANNERSVanilla 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 beacon base blocks.Tag.BEDSVanilla block tag representing all beds.Tag.BEE_GROWABLESVanilla block tag representing all bee growables.Tag.BEEHIVESVanilla block tag representing all beehives.Vanilla block tag representing all blocks which big dripleaf can be placed on.Tag.BIRCH_LOGSVanilla block tag representing all birch log and bark variants.Tag.BUTTONSVanilla block tag representing all buttons (inherits fromTag.WOODEN_BUTTONS.Tag.CAMPFIRESVanilla block tag representing all campfires.Tag.CANDLE_CAKESVanilla block tag representing all candle cakes.Tag.CANDLESVanilla block tag representing all candles.Tag.CARPETSDeprecated.Tag.CAULDRONSVanilla block tag representing all cauldrons.Tag.CAVE_VINESVanilla block tag representing all cave vines.Vanilla block tag representing all ceiling signs.Tag.CHERRY_LOGSVanilla block tag representing all cherry log and bark variants.Tag.CLIMBABLEVanilla block tag representing all climbable blocks.Vanilla item tag representing all items which are preferred for harvesting clusters (unused).Tag.COAL_ORESVanilla 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.Vanilla block tag representing all blocks which may be converted to mud.Tag.COPPER_ORESVanilla block tag representing all copper ores.Tag.CORAL_BLOCKSVanilla block tag representing all coral blocks.Tag.CORAL_PLANTSVanilla block tag representing all coral plants.Tag.CORALSVanilla block tag representing all coral.Tag.CRIMSON_STEMSVanilla block tag representing all crimson stems.Tag.CROPSVanilla 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_LOGSVanilla 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_ORESVanilla block tag representing all diamond ores.Tag.DIRTVanilla block tag representing all dirt.Tag.DOORSVanilla block tag representing all doors (inherits fromTag.WOODEN_DOORS.Tag.DRAGON_IMMUNEVanilla 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_ORESVanilla 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_GATESVanilla block tag representing all fence gates.Tag.FENCESVanilla block tag representing all fences.Tag.FIREVanilla block tag representing all fire blocks.Tag.FLOWER_POTSVanilla block tag representing all empty and filled flower pots.Tag.FLOWERSVanilla block tag representing all flowers.Tag.FOX_FOODVanilla item tag representing all fox food.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_ORESVanilla block tag representing all gold ores.Vanilla block tag representing all blocks guarded by piglins.Vanilla block tag representing all hoglin repellents.Tag.ICEVanilla block tag denoting ice blocks.Vanilla item tag representing all items ignored by piglin babies.Tag.IMPERMEABLEVanilla block tag denoting impermeable blocks which do not drip fluids.Tag.INFINIBURN_ENDVanilla 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_ORESVanilla block tag representing all iron ores.Tag.ITEMS_ARROWSVanilla item tag representing all arrow items.Tag.ITEMS_AXESVanilla item tag representing all axes.Tag.ITEMS_BANNERSVanilla item tag representing all banner items.Vanilla item tag representing all items that may be placed in beacons.Tag.ITEMS_BOATSVanilla 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 chest boat items.Tag.ITEMS_COALSVanilla item tag representing all coal items.Tag.ITEMS_COMPASSESVanilla item tag representing all compasses.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.Tag.ITEMS_FISHESVanilla item tag representing all fish items.Vanilla item tag representing all furnace materials.Vanilla item tag representing all hanging signs.Tag.ITEMS_HOESVanilla item tag representing all hoes.Vanilla item tag representing all books that may be placed on lecterns.Vanilla item tag representing all music disc items.Vanilla item tag representing all items which modify note block sounds when placed on top.Tag.ITEMS_PICKAXESVanilla item tag representing all pickaxes.Vanilla item tag representing all items loved by piglins.Tag.ITEMS_SHOVELSVanilla item tag representing all shovels.Vanilla item tag representing all food for sniffers.Vanilla item tag representing all stone tool materials.Tag.ITEMS_SWORDSVanilla item tag representing all swords.Tag.ITEMS_TOOLSVanilla item tag representing all tools.Vanilla item tag representing all materials which can be used for trimming armor.Vanilla item tag representing all trimming templates.Vanilla item tag representing all trimmable armor items.Vanilla item tag representing all seeds planteable by villagers.Tag.JUNGLE_LOGSVanilla block tag representing all jungle log and bark variants.Tag.LAPIS_ORESVanilla block tag representing all lapis ores.Vanilla block tag representing all blocks which lava pools will not replace.Tag.LEAVESVanilla block tag representing all leaves fans.Tag.LOGSVanilla block tag representing all log and bark variants.Tag.LOGS_THAT_BURNVanilla 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_LOGSVanilla 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.MATERIALServer materials.Tag.MINEABLE_AXEVanilla block tag representing all blocks mineable with an axe.Tag.MINEABLE_HOEVanilla block tag representing all blocks mineable with a hoe.Tag.MINEABLE_PICKAXEVanilla block tag representing all blocks mineable with a pickaxe.Tag.MINEABLE_SHOVELVanilla block tag representing all blocks mineable with a shovel.Vanilla block tag representing all blocks which mooshrooms will spawn on.Tag.MOSS_REPLACEABLEVanilla block tag representing all blocks replaceable by moss.Vanilla block tag representing all blocks which require a diamond tool.Tag.NEEDS_IRON_TOOLVanilla block tag representing all blocks which require an iron tool.Tag.NEEDS_STONE_TOOLVanilla block tag representing all blocks which require a stone tool.Vanilla block tag representing all blocks replaceable by the nether carver.Tag.NYLIUMVanilla block tag representing all nylium blocks.Tag.OAK_LOGSVanilla 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.Vanilla block tag representing all blocks which parrots will spawn on.Tag.PIGLIN_FOODVanilla item tag representing all piglin food.Vanilla block tag representing all piglin repellents.Tag.PLANKSVanilla block tag representing all plank variants.Vanilla block tag representing all blocks which polar bears will spawn on.Tag.PORTALSVanilla block tag representing all portals.Tag.PRESSURE_PLATESVanilla 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.RAILSVanilla block tag representing all Minecart rails.Tag.REDSTONE_ORESVanilla block tag representing all redstone ores.Tag.REPLACEABLEVanilla block tag representing all blocks which are replaceable.Vanilla block tag representing all blocks replaceable by growing trees.Tag.SANDVanilla block tag representing all sand blocks.Tag.SAPLINGSVanilla 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_BOXESVanilla block tag representing all shulker boxes.Tag.SIGNSVanilla block tag representing all regular signs.Tag.SLABSVanilla block tag representing all slabs.Vanilla block tag representing all blocks which small dripleaf can be placed on.Tag.SMALL_FLOWERSVanilla block tag representing all small flowers.Tag.SMELTS_TO_GLASSVanilla block tag representing all blocks which smelt to glass in a furnace.Tag.SNAPS_GOAT_HORNVanilla 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.SNOWVanilla 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_LOGSVanilla block tag representing all spruce log and bark variants.Tag.STAIRSVanilla block tag representing all stairs.Tag.STANDING_SIGNSVanilla block tag representing all standing signs.Tag.STONE_BRICKSVanilla block tag representing all regular/mossy/cracked/chiseled stone bricks.Tag.STONE_BUTTONSVanilla 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_EFFICIENTVanilla block tag representing all blocks that can be efficiently mined with a sword.Tag.TALL_FLOWERSVanilla block tag representing all tall flowers.Tag.TERRACOTTAVanilla block tag representing all terracotta.Vanilla block tag representing all blocks which can be replaced by trail ruins.Tag.TRAPDOORSVanilla 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_SPAWNVanilla block tag denoting all valid mob spawn positions.Vanilla block tag representing all blocks which resonate vibrations.Tag.WALL_CORALSVanilla block tag representing all wall corals.Vanilla block tag representing all wall hanging signs.Vanilla block tag representing all wall post overrides.Tag.WALL_SIGNSVanilla block tag representing all wall signs.Tag.WALLSVanilla block tag representing all walls.Tag.WARPED_STEMSVanilla block tag representing all warped stems.Tag.WART_BLOCKSVanilla block tag representing all wart blocks.Tag.WITHER_IMMUNEVanilla 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_BUTTONSVanilla block tag representing all wooden buttons.Tag.WOODEN_DOORSVanilla block tag representing all wooden doors.Tag.WOODEN_FENCESVanilla block tag representing all wooden fences.Vanilla block tag representing all wooden pressure plates.Tag.WOODEN_SLABSVanilla block tag representing all wooden slabs.Tag.WOODEN_STAIRSVanilla block tag representing all wooden stairs.Tag.WOODEN_TRAPDOORSVanilla block tag representing all wooden trapdoors.Tag.WOOLVanilla block tag representing all colors of wool.Tag.WOOL_CARPETSVanilla block tag representing all colors of carpet.Methods in org.bukkit that return MaterialModifier 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.static MaterialMaterial.getMaterial(String name) Attempts to get the Material with the given name.static MaterialMaterial.getMaterial(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.static MaterialMaterial.matchMaterial(String name) Attempts to match the Material with the given name.static MaterialMaterial.matchMaterial(String name, boolean legacyName) Attempts to match the Material with the given name.Deprecated.static MaterialReturns the enum constant of this type with the specified name.static Material[]Material.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit with parameters of type MaterialModifier and TypeMethodDescriptionstatic BlockDataBukkit.createBlockData(Material material) Creates a newBlockDatainstance for the specified Material, with all properties initialized to unspecified defaults.static BlockDataBukkit.createBlockData(Material material, String data) Creates a newBlockDatainstance for the specified Material, with all properties initialized to unspecified defaults, except for those provided in data.static BlockDataBukkit.createBlockData(Material material, Consumer<BlockData> consumer) Creates a newBlockDatainstance for the specified Material, with all properties initialized to unspecified defaults.Server.createBlockData(Material material) Creates a newBlockDatainstance for the specified Material, with all properties initialized to unspecified defaults.Server.createBlockData(Material material, String data) Creates a newBlockDatainstance for the specified Material, with all properties initialized to unspecified defaults, except for those provided in data.Server.createBlockData(Material material, Consumer<BlockData> consumer) Creates a newBlockDatainstance for the specified Material, with all properties initialized to unspecified defaults.voidOfflinePlayer.decrementStatistic(Statistic statistic, Material material) Decrements the given statistic for this player for the given material.voidOfflinePlayer.decrementStatistic(Statistic statistic, 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.UnsafeValues.getCreativeCategory(Material material) Deprecated.UnsafeValues.getDefaultAttributeModifiers(Material material, EquipmentSlot slot) Deprecated.UnsafeValues.getItemTranslationKey(Material material) Deprecated.intOfflinePlayer.getStatistic(Statistic statistic, Material material) Gets the value of the given statistic for this player.voidOfflinePlayer.incrementStatistic(Statistic statistic, Material material) Increments the given statistic for this player for the given material.voidOfflinePlayer.incrementStatistic(Statistic statistic, Material material, int amount) Increments the given statistic for this player for the given material.voidOfflinePlayer.setStatistic(Statistic statistic, Material material, int newValue) Sets the given statistic for this player for the given material.voidSets theMaterialat the given coordinates.voidWorld.spawnFallingBlock(Location location, Material material, byte data) Deprecated.Magic valueDeprecated. -
Uses of Material in org.bukkit.block
Methods in org.bukkit.block that return MaterialModifier and TypeMethodDescriptionJukebox.getPlaying()Gets the record inserted into the jukebox.DecoratedPot.getSherd(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.Methods in org.bukkit.block that return types with arguments of type MaterialModifier 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.Methods in org.bukkit.block with parameters of type MaterialModifier and TypeMethodDescriptionvoidJukebox.setPlaying(Material record) Sets the record being played.voidDecoratedPot.setSherd(DecoratedPot.Side side, Material sherd) Set the sherd on the provided side.voidSets the type of this blockvoidSets the type of this block
Note that applyPhysics = false is not in general safe.voidSets the type of this block state. -
Uses of Material in org.bukkit.block.data
Methods in org.bukkit.block.data that return MaterialModifier 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
Methods in org.bukkit.enchantments with parameters of type Material -
Uses of Material in org.bukkit.entity
Methods in org.bukkit.entity that return MaterialModifier and TypeMethodDescriptionBoat.Type.getMaterial()Gets the material of the boat type.FallingBlock.getMaterial()Deprecated.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 MaterialModifier 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.Methods in org.bukkit.entity with parameters of type MaterialModifier and TypeMethodDescriptionbooleanPiglin.addBarterMaterial(Material material) Adds a material to the allowed list of materials to barter with.booleanPiglin.addMaterialOfInterest(Material material) Adds a material the piglin will pickup and store in his inventory.intHumanEntity.getCooldown(Material material) Get the cooldown time in ticks remaining for the specified material.booleanHumanEntity.hasCooldown(Material material) Check whether a cooldown is active on the specified material.booleanAnimals.isBreedItem(Material material) Check if the provided ItemStack is the correct item used for breeding this entity..booleanPiglin.removeBarterMaterial(Material material) Removes a material from the allowed list of materials to barter with.booleanPiglin.removeMaterialOfInterest(Material material) Removes a material from the list of materials the piglin will pickup.voidPlayer.sendBlockChange(Location loc, Material material, byte data) Deprecated.Magic valuevoidHumanEntity.setCooldown(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 MaterialModifier and TypeMethodDescriptionLivingEntity.getLastTwoTargetBlocks(Set<Material> transparent, int maxDistance) Gets the last two blocks along the living entity's line of sight.LivingEntity.getLineOfSight(Set<Material> transparent, int maxDistance) Gets all blocks along the living entity's line of sight.LivingEntity.getTargetBlock(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 MaterialModifier and TypeMethodDescriptionBlockPhysicsEvent.getChangedType()Gets the type of block that changed, causing this eventBlockCanBuildEvent.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 -
Uses of Material in org.bukkit.event.inventory
Methods in org.bukkit.event.inventory that return MaterialModifier and TypeMethodDescriptionFurnaceExtractEvent.getItemType()Get the Material of the item being retrievedConstructors in org.bukkit.event.inventory with parameters of type MaterialModifierConstructorDescriptionFurnaceExtractEvent(Player player, Block block, Material itemType, int itemAmount, int exp) -
Uses of Material in org.bukkit.event.player
Methods in org.bukkit.event.player that return MaterialModifier 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.Constructors in org.bukkit.event.player with parameters of type MaterialModifierConstructorDescriptionPlayerBucketEmptyEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand) Deprecated.PlayerBucketEmptyEvent(Player who, Block block, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand) Deprecated.PlayerBucketEmptyEvent(Player who, Block block, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand, EquipmentSlot hand) PlayerBucketEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand) Deprecated.PlayerBucketEvent(Player who, Block block, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand) Deprecated.PlayerBucketEvent(Player who, Block block, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand, EquipmentSlot hand) PlayerBucketFillEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand) Deprecated.PlayerBucketFillEvent(Player who, Block block, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand) Deprecated.PlayerBucketFillEvent(Player who, Block block, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand, EquipmentSlot hand) PlayerStatisticIncrementEvent(Player player, Statistic statistic, int initialValue, int newValue, Material material) -
Uses of Material in org.bukkit.generator
Methods in org.bukkit.generator that return MaterialModifier and TypeMethodDescriptionChunkGenerator.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 MaterialModifier and TypeMethodDescriptionvoidSet the block at x,y,z in the chunk data to material.voidChunkGenerator.ChunkData.setRegion(int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, 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 MaterialModifier and TypeMethodDescriptionItemFactory.getSpawnEgg(EntityType type) Gets aMaterialrepresenting the spawn egg for the providedEntityType.ItemStack.getType()Gets the type of this itemItemFactory.updateMaterial(ItemMeta meta, Material material) Deprecated.for internal use onlyMethods in org.bukkit.inventory that return types with arguments of type MaterialMethods in org.bukkit.inventory with parameters of type MaterialModifier and TypeMethodDescriptionShapelessRecipe.addIngredient(int count, Material ingredient) Adds multiples of the specified ingredient.ShapelessRecipe.addIngredient(int count, Material ingredient, int rawdata) Deprecated.Magic valueShapelessRecipe.addIngredient(Material ingredient) Adds the specified ingredient.ShapelessRecipe.addIngredient(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.booleanChecks if the inventory contains any ItemStacks with the given material.booleanChecks if the inventory contains any ItemStacks with the given material, adding to at least the minimum amount specified.intFinds the first slot in the inventory containing an ItemStack with the given materialItemFactory.getItemMeta(Material material) This creates a new item meta for the material.booleanItemFactory.isApplicable(ItemMeta meta, Material material) This method checks the item meta to confirm that it is applicable (no data lost if applied) to the specified Material.voidRemoves all stacks in the inventory matching the given material.ShapelessRecipe.removeIngredient(int count, Material ingredient) Removes multiple instances of an ingredient from the list.ShapelessRecipe.removeIngredient(int count, Material ingredient, int rawdata) Deprecated.Magic valueShapelessRecipe.removeIngredient(Material ingredient) Removes an ingredient from the list.ShapelessRecipe.removeIngredient(Material ingredient, int rawdata) Deprecated.Magic valueShapedRecipe.setIngredient(char key, Material ingredient) Sets the material that a character in the recipe shape refers to.ShapedRecipe.setIngredient(char key, Material ingredient, int raw) Deprecated.Magic valueSets the input of this cooking recipe.Deprecated.Magic valueSets the input of this cooking recipe.voidSets the type of this itemItemFactory.updateMaterial(ItemMeta meta, Material material) Deprecated.for internal use onlyConstructors in org.bukkit.inventory with parameters of type MaterialModifierConstructorDescriptionBlastingRecipe(NamespacedKey key, ItemStack result, Material source, float experience, int cookingTime) CampfireRecipe(NamespacedKey key, ItemStack result, Material source, float experience, int cookingTime) CookingRecipe(NamespacedKey key, ItemStack result, Material source, float experience, int cookingTime) Create a cooking recipe to craft the specified ItemStack.FurnaceRecipe(ItemStack result, Material source) Deprecated.FurnaceRecipe(ItemStack result, Material source, int data) Deprecated.FurnaceRecipe(NamespacedKey key, ItemStack result, Material source, float experience, int cookingTime) Create a furnace recipe to craft the specified ItemStack.FurnaceRecipe(NamespacedKey key, ItemStack result, Material source, int data, float experience, int cookingTime) Deprecated.Defaults stack size to 1, with no extra data.An item stack with no extra data.Deprecated.Deprecated.this method uses an ambiguous data byte objectMaterialChoice(Material choice) MaterialChoice(Material... choices) SmokingRecipe(NamespacedKey key, ItemStack result, Material source, float experience, int cookingTime) StonecuttingRecipe(NamespacedKey key, ItemStack result, Material source) Create a Stonecutting recipe to craft the specified ItemStack.Constructor parameters in org.bukkit.inventory with type arguments of type MaterialModifierConstructorDescriptionMaterialChoice(List<Material> choices) MaterialChoice(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 with parameters of type MaterialModifier and TypeMethodDescriptionBlockDataMeta.getBlockData(Material material) Returns the currently attached block data for this item or creates a new one if one doesn't exist. -
Uses of Material in org.bukkit.material
Fields in org.bukkit.material declared as MaterialModifier and TypeFieldDescriptionprotected static final MaterialCrops.DEFAULT_TYPEDeprecated.protected static final MaterialLeaves.DEFAULT_TYPEDeprecated.protected static final MaterialTree.DEFAULT_TYPEDeprecated.protected static final MaterialWood.DEFAULT_TYPEDeprecated.protected static final MaterialWoodenStep.DEFAULT_TYPEDeprecated.Methods in org.bukkit.material that return MaterialModifier and TypeMethodDescriptionMaterialData.getItemType()Deprecated.Gets the Material that this MaterialData representsTexturedMaterial.getMaterial()Deprecated.Gets the current Material this block is made ofstatic MaterialDoor.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 MaterialModifier and TypeMethodDescriptionMonsterEggs.getTextures()Deprecated.SmoothBrick.getTextures()Deprecated.Step.getTextures()Deprecated.TexturedMaterial.getTextures()Deprecated.Retrieve a list of possible textures.Methods in org.bukkit.material with parameters of type MaterialModifier and TypeMethodDescriptionvoidTexturedMaterial.setMaterial(Material material) Deprecated.Sets the material this block is made ofConstructors in org.bukkit.material with parameters of type MaterialModifierConstructorDescriptionDeprecated.Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Deprecated.Magic valueCocoaPlant(Material type, byte data) Deprecated.Magic valueDeprecated.Deprecated.Magic valueComparator(Material type) Deprecated.Comparator(Material type, byte data) Deprecated.Magic valueDeprecated.Constructs a crop block of the given type and in the seeded stateDeprecated.Magic valueDeprecated.Constructs a crop block of the given type and in the given growth stateDetectorRail(Material type) Deprecated.DetectorRail(Material type, byte data) Deprecated.Magic valueDeprecated.Deprecated.Magic valueDirectionalContainer(Material type) Deprecated.DirectionalContainer(Material type, byte data) Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Deprecated.Constructs the top half of door of the given material type and with the hinge on the left or rightDeprecated.Magic valueDeprecated.Constructs the bottom half of a door of the given material type, facing the specified direction and set to closedDeprecated.Constructs the bottom half of a door of the given material type, facing the specified direction and set to open or closedDeprecated.Deprecated.Magic valueEnderChest(Material type) Deprecated.EnderChest(Material type, byte data) Deprecated.Magic valueExtendedRails(Material type) Deprecated.ExtendedRails(Material type, byte data) Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Deprecated.Magic valueFurnaceAndDispenser(Material type) Deprecated.FurnaceAndDispenser(Material type, byte data) Deprecated.Magic valueDeprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Constructs a leaf block of the given type.Deprecated.Magic valueLeaves(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.Deprecated.Deprecated.Magic valueDeprecated.Deprecated.Magic valueMaterialData(Material type) Deprecated.MaterialData(Material type, byte data) Deprecated.Magic valueMonsterEggs(Material type) Deprecated.MonsterEggs(Material type, byte data) Deprecated.Magic valueDeprecated.Constructs a brown/red mushroom block with all sides set to pores.Deprecated.Magic valueDeprecated.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 valueDeprecated.Deprecated.Magic valuePistonBaseMaterial(Material type) Deprecated.PistonBaseMaterial(Material type, byte data) Deprecated.Magic valueDeprecated.PistonExtensionMaterial(Material type, byte data) Deprecated.Magic valuePoweredRail(Material type) Deprecated.PoweredRail(Material type, byte data) Deprecated.Magic valuePressurePlate(Material type) Deprecated.PressurePlate(Material type, byte data) Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Deprecated.Magic valueRedstoneTorch(Material type) Deprecated.RedstoneTorch(Material type, byte data) Deprecated.Magic valueRedstoneWire(Material type) Deprecated.RedstoneWire(Material type, byte data) Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Constructs a sapling of the given type.Deprecated.Magic valueSapling(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 growableDeprecated.Deprecated.Magic valueDeprecated.SimpleAttachableMaterialData(Material type, byte data) Deprecated.Magic valueSimpleAttachableMaterialData(Material type, BlockFace direction) Deprecated.Deprecated.Deprecated.Magic valueSmoothBrick(Material type) Deprecated.SmoothBrick(Material type, byte data) Deprecated.Magic valueDeprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.TexturedMaterial(Material type, byte data) Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Deprecated.Magic valueDeprecated.Constructs a tree block of the given type.Deprecated.Magic valueTree(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.Deprecated.Magic valueTripwireHook(Material type, byte data) Deprecated.Magic valueDeprecated.Magic valueDeprecated.Constructs a wood block of the given type.Deprecated.Magic valueWood(Material type, TreeSpecies species) Deprecated.Constructs a wood block of the given type and tree species.WoodenStep(Material type, byte data) Deprecated.Magic valueDeprecated.Deprecated.Magic value -
Uses of Material in org.bukkit.packs
Methods in org.bukkit.packs with parameters of type MaterialModifier and TypeMethodDescriptionbooleanDataPackManager.isEnabledByFeature(Material material, World world) Gets if the Material is enabled for use by the features in World. -
Uses of Material in org.bukkit.scoreboard
Methods in org.bukkit.scoreboard with parameters of type Material
Tag.WOOL_CARPETS.