Uses of Class
org.bukkit.material.MaterialData
-
Packages that use MaterialData Package Description org.bukkit The root package of the Bukkit API, contains generalized API classes.org.bukkit.block Classes used to manipulate the voxels in aworld, including special states.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld, including all players, monsters, projectiles, etc.org.bukkit.generator Classes to facilitateworldgeneration implementation.org.bukkit.inventory Classes involved in manipulating player inventories and item interactions.org.bukkit.material Classes that represents various voxel types and states. -
-
Uses of MaterialData in org.bukkit
Methods in org.bukkit that return MaterialData Modifier and Type Method Description @NotNull MaterialDataMaterial. getNewData(byte raw)Deprecated.Magic valueMethods in org.bukkit that return types with arguments of type MaterialData Modifier and Type Method Description @NotNull Class<? extends MaterialData>Material. getData()Gets the MaterialData class associated with this MaterialMethods in org.bukkit with parameters of type MaterialData Modifier and Type Method Description MaterialUnsafeValues. fromLegacy(MaterialData material)Deprecated.MaterialUnsafeValues. fromLegacy(MaterialData material, boolean itemPriority)Deprecated.@NotNull FallingBlockWorld. spawnFallingBlock(@NotNull Location location, @NotNull MaterialData data) -
Uses of MaterialData in org.bukkit.block
Methods in org.bukkit.block that return MaterialData Modifier and Type Method Description @NotNull MaterialDataBlockState. getData()Gets the metadata for this block state.Methods in org.bukkit.block with parameters of type MaterialData Modifier and Type Method Description voidBlockState. setData(@NotNull MaterialData data)Sets the metadata for this block state. -
Uses of MaterialData in org.bukkit.entity
Methods in org.bukkit.entity that return MaterialData Modifier and Type Method Description @NotNull MaterialDataEnderman. getCarriedMaterial()Gets the id and data of the block that the Enderman is carrying.@NotNull MaterialDataMinecart. getDisplayBlock()Gets the display block for this minecart.Methods in org.bukkit.entity with parameters of type MaterialData Modifier and Type Method Description voidEnderman. setCarriedMaterial(@NotNull MaterialData material)Sets the id and data of the block that the Enderman is carrying.voidMinecart. setDisplayBlock(@Nullable MaterialData material)Sets the display block for this minecart. -
Uses of MaterialData in org.bukkit.generator
Methods in org.bukkit.generator that return MaterialData Modifier and Type Method Description @NotNull MaterialDataChunkGenerator.ChunkData. getTypeAndData(int x, int y, int z)Get the type and data of the block at x, y, z.Methods in org.bukkit.generator with parameters of type MaterialData Modifier and Type Method Description voidChunkGenerator.ChunkData. setBlock(int x, int y, int z, @NotNull MaterialData material)Set 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, @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
Methods in org.bukkit.inventory that return MaterialData Modifier and Type Method Description @Nullable MaterialDataItemStack. getData()Gets the MaterialData for this stack of itemsMethods in org.bukkit.inventory with parameters of type MaterialData Modifier and Type Method Description @NotNull ShapelessRecipeShapelessRecipe. addIngredient(int count, @NotNull MaterialData ingredient)Adds multiples of the specified ingredient.@NotNull ShapelessRecipeShapelessRecipe. addIngredient(@NotNull MaterialData ingredient)Adds the specified ingredient.@NotNull ShapelessRecipeShapelessRecipe. removeIngredient(int count, @NotNull MaterialData ingredient)Removes multiple instances of an ingredient from the list.@NotNull ShapelessRecipeShapelessRecipe. removeIngredient(@NotNull MaterialData ingredient)Removes an ingredient from the list.voidItemStack. setData(@Nullable MaterialData data)Sets the MaterialData for this stack of items@NotNull ShapedRecipeShapedRecipe. setIngredient(char key, @NotNull MaterialData ingredient)Sets the material that a character in the recipe shape refers to.@NotNull FurnaceRecipeFurnaceRecipe. setInput(@NotNull MaterialData input)Sets the input of this furnace recipe.Constructors in org.bukkit.inventory with parameters of type MaterialData Constructor Description FurnaceRecipe(@NotNull ItemStack result, @NotNull MaterialData source)Deprecated.FurnaceRecipe(@NotNull ItemStack result, @NotNull MaterialData source, float experience)Deprecated. -
Uses of MaterialData in org.bukkit.material
Subclasses of MaterialData in org.bukkit.material Modifier and Type Class Description classBannerDeprecated.all usage of MaterialData is deprecated and subject to removal.classBedDeprecated.all usage of MaterialData is deprecated and subject to removal.classButtonDeprecated.all usage of MaterialData is deprecated and subject to removal.classCakeDeprecated.all usage of MaterialData is deprecated and subject to removal.classCauldronDeprecated.all usage of MaterialData is deprecated and subject to removal.classChestDeprecated.all usage of MaterialData is deprecated and subject to removal.classCoalDeprecated.all usage of MaterialData is deprecated and subject to removal.classCocoaPlantDeprecated.all usage of MaterialData is deprecated and subject to removal.classCommandDeprecated.all usage of MaterialData is deprecated and subject to removal.classComparatorDeprecated.all usage of MaterialData is deprecated and subject to removal.classCropsDeprecated.all usage of MaterialData is deprecated and subject to removal.classDetectorRailDeprecated.all usage of MaterialData is deprecated and subject to removal.classDiodeDeprecated.all usage of MaterialData is deprecated and subject to removal.classDirectionalContainerDeprecated.all usage of MaterialData is deprecated and subject to removal.classDispenserDeprecated.all usage of MaterialData is deprecated and subject to removal.classDoorDeprecated.all usage of MaterialData is deprecated and subject to removal.classDyeDeprecated.all usage of MaterialData is deprecated and subject to removal.classEnderChestDeprecated.all usage of MaterialData is deprecated and subject to removal.classExtendedRailsDeprecated.all usage of MaterialData is deprecated and subject to removal.classFlowerPotDeprecated.all usage of MaterialData is deprecated and subject to removal.classFurnaceDeprecated.all usage of MaterialData is deprecated and subject to removal.classFurnaceAndDispenserDeprecated.all usage of MaterialData is deprecated and subject to removal.classGateDeprecated.all usage of MaterialData is deprecated and subject to removal.classHopperDeprecated.all usage of MaterialData is deprecated and subject to removal.classLadderDeprecated.all usage of MaterialData is deprecated and subject to removal.classLeavesDeprecated.all usage of MaterialData is deprecated and subject to removal.classLeverDeprecated.all usage of MaterialData is deprecated and subject to removal.classLongGrassDeprecated.all usage of MaterialData is deprecated and subject to removal.classMonsterEggsDeprecated.all usage of MaterialData is deprecated and subject to removal.classMushroomDeprecated.all usage of MaterialData is deprecated and subject to removal.classNetherWartsDeprecated.all usage of MaterialData is deprecated and subject to removal.classObserverDeprecated.all usage of MaterialData is deprecated and subject to removal.classPistonBaseMaterialDeprecated.all usage of MaterialData is deprecated and subject to removal.classPistonExtensionMaterialDeprecated.all usage of MaterialData is deprecated and subject to removal.classPoweredRailDeprecated.all usage of MaterialData is deprecated and subject to removal.classPressurePlateDeprecated.all usage of MaterialData is deprecated and subject to removal.classPumpkinDeprecated.all usage of MaterialData is deprecated and subject to removal.classRailsDeprecated.all usage of MaterialData is deprecated and subject to removal.classRedstoneTorchDeprecated.all usage of MaterialData is deprecated and subject to removal.classRedstoneWireDeprecated.all usage of MaterialData is deprecated and subject to removal.classSandstoneDeprecated.all usage of MaterialData is deprecated and subject to removal.classSaplingDeprecated.all usage of MaterialData is deprecated and subject to removal.classSignDeprecated.all usage of MaterialData is deprecated and subject to removal.classSimpleAttachableMaterialDataDeprecated.all usage of MaterialData is deprecated and subject to removal.classSkullDeprecated.all usage of MaterialData is deprecated and subject to removal.classSmoothBrickDeprecated.all usage of MaterialData is deprecated and subject to removal.classSpawnEggDeprecated.useSpawnEggMetaclassStairsDeprecated.all usage of MaterialData is deprecated and subject to removal.classStepDeprecated.all usage of MaterialData is deprecated and subject to removal.classTexturedMaterialDeprecated.all usage of MaterialData is deprecated and subject to removal.classTorchDeprecated.all usage of MaterialData is deprecated and subject to removal.classTrapDoorDeprecated.all usage of MaterialData is deprecated and subject to removal.classTreeDeprecated.all usage of MaterialData is deprecated and subject to removal.classTripwireDeprecated.all usage of MaterialData is deprecated and subject to removal.classTripwireHookDeprecated.all usage of MaterialData is deprecated and subject to removal.classVineDeprecated.all usage of MaterialData is deprecated and subject to removal.classWoodDeprecated.all usage of MaterialData is deprecated and subject to removal.classWoodenStepDeprecated.all usage of MaterialData is deprecated and subject to removal.classWoolDeprecated.all usage of MaterialData is deprecated and subject to removal.Methods in org.bukkit.material that return MaterialData Modifier and Type Method Description MaterialDataMaterialData. clone()Deprecated.MaterialDataFlowerPot. getContents()Deprecated.Get the material in the flower potMethods in org.bukkit.material with parameters of type MaterialData Modifier and Type Method Description voidFlowerPot. setContents(MaterialData materialData)Deprecated.Set the contents of the flower pot
-