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 TypeMethodDescription@NotNull Class<? 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(@NotNull Location location, @NotNull MaterialData data)
-
Uses of MaterialData in org.bukkit.block
Modifier and TypeMethodDescriptionvoid
BlockState.setData(@NotNull 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(@NotNull MaterialData material)
Sets the id and data of the block that the Enderman is carrying.void
Minecart.setDisplayBlock(@Nullable 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, @NotNull 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, @NotNull 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, @NotNull MaterialData ingredient)
Adds multiples of the specified ingredient.ShapelessRecipe.addIngredient(@NotNull MaterialData ingredient)
Adds the specified ingredient.ShapelessRecipe.removeIngredient(int count, @NotNull MaterialData ingredient)
Removes multiple instances of an ingredient from the list.ShapelessRecipe.removeIngredient(@NotNull MaterialData ingredient)
Removes an ingredient from the list.void
ItemStack.setData(@Nullable MaterialData data)
Sets the MaterialData for this stack of itemsShapedRecipe.setIngredient(char key, @NotNull MaterialData ingredient)
Sets the material that a character in the recipe shape refers to.FurnaceRecipe.setInput(@NotNull MaterialData input)
Sets the input of this furnace recipe.ModifierConstructorDescriptionFurnaceRecipe(@NotNull ItemStack result, @NotNull MaterialData source)
Deprecated.FurnaceRecipe(@NotNull ItemStack result, @NotNull 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