Uses of Class
org.bukkit.material.MaterialData
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.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.
Classes that represents various voxel types and states.
-
Uses of MaterialData in org.bukkit
Modifier and TypeMethodDescriptionClass<? extends MaterialData>
Material.getData()
Gets the MaterialData class associated with this MaterialModifier and TypeMethodDescriptionUnsafeValues.fromLegacy
(MaterialData material) Deprecated.UnsafeValues.fromLegacy
(MaterialData material, boolean itemPriority) Deprecated.World.spawnFallingBlock
(Location location, MaterialData data) -
Uses of MaterialData in org.bukkit.block
Modifier and TypeMethodDescriptionvoid
BlockState.setData
(MaterialData data) Sets the metadata for this block state. -
Uses of MaterialData in org.bukkit.entity
Modifier and TypeMethodDescriptionEnderman.getCarriedMaterial()
Gets the id and data of the block that the Enderman is carrying.Minecart.getDisplayBlock()
Gets the display block for this minecart.Modifier and TypeMethodDescriptionvoid
Enderman.setCarriedMaterial
(MaterialData material) Sets the id and data of the block that the Enderman is carrying.void
Minecart.setDisplayBlock
(MaterialData material) Sets the display block for this minecart. -
Uses of MaterialData in org.bukkit.generator
Modifier and TypeMethodDescriptionChunkGenerator.ChunkData.getTypeAndData
(int x, int y, int z) Get the type and data of the block at x, y, z.Modifier and TypeMethodDescriptionvoid
ChunkGenerator.ChunkData.setBlock
(int x, int y, int z, MaterialData 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, MaterialData material) Set a region of this chunk from xMin, yMin, zMin (inclusive) to xMax, yMax, zMax (exclusive) to material. -
Uses of MaterialData in org.bukkit.inventory
Modifier and TypeMethodDescriptionItemStack.getData()
Gets the MaterialData for this stack of itemsModifier and TypeMethodDescriptionShapelessRecipe.addIngredient
(int count, MaterialData ingredient) Adds multiples of the specified ingredient.ShapelessRecipe.addIngredient
(MaterialData ingredient) Adds the specified ingredient.ShapelessRecipe.removeIngredient
(int count, MaterialData ingredient) Removes multiple instances of an ingredient from the list.ShapelessRecipe.removeIngredient
(MaterialData ingredient) Removes an ingredient from the list.void
ItemStack.setData
(MaterialData data) Sets the MaterialData for this stack of itemsShapedRecipe.setIngredient
(char key, MaterialData ingredient) Sets the material that a character in the recipe shape refers to.FurnaceRecipe.setInput
(MaterialData input) Sets the input of this furnace recipe.ModifierConstructorDescriptionFurnaceRecipe
(ItemStack result, MaterialData source) Deprecated.FurnaceRecipe
(ItemStack result, MaterialData source, float experience) Deprecated. -
Uses of MaterialData in org.bukkit.material
Modifier and TypeClassDescriptionclass
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.useSpawnEggMeta
class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.class
Deprecated.all usage of MaterialData is deprecated and subject to removal.Modifier and TypeMethodDescriptionMaterialData.clone()
Deprecated.FlowerPot.getContents()
Deprecated.Get the material in the flower potModifier and TypeMethodDescriptionvoid
FlowerPot.setContents
(MaterialData materialData) Deprecated.Set the contents of the flower pot