Uses of Class
org.bukkit.material.MaterialData
-
Packages that use MaterialData Package Description org.bukkit More generalized classes in the API.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 facilitateworld
generation 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 MaterialData
Material. getNewData(byte raw)
Deprecated.Magic valueMethods in org.bukkit that return types with arguments of type MaterialData Modifier and Type Method Description 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 Material
UnsafeValues. fromLegacy(MaterialData material)
Deprecated.Material
UnsafeValues. fromLegacy(MaterialData material, boolean itemPriority)
Deprecated.FallingBlock
World. spawnFallingBlock(Location location, MaterialData data)
-
Uses of MaterialData in org.bukkit.block
Methods in org.bukkit.block that return MaterialData Modifier and Type Method Description MaterialData
FlowerPot. getContents()
Deprecated.Gets the item present in this flower pot.MaterialData
BlockState. getData()
Gets the metadata for this block state.Methods in org.bukkit.block with parameters of type MaterialData Modifier and Type Method Description void
FlowerPot. setContents(MaterialData item)
Deprecated.Sets the item present in this flower pot.void
BlockState. setData(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 MaterialData
Enderman. getCarriedMaterial()
Gets the id and data of the block that the Enderman is carrying.MaterialData
Minecart. getDisplayBlock()
Gets the display block for this minecart.Methods in org.bukkit.entity with parameters of type MaterialData Modifier and Type Method Description void
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
Methods in org.bukkit.generator that return MaterialData Modifier and Type Method Description MaterialData
ChunkGenerator.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 void
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
Methods in org.bukkit.inventory that return MaterialData Modifier and Type Method Description MaterialData
ItemStack. getData()
Gets the MaterialData for this stack of itemsMethods in org.bukkit.inventory with parameters of type MaterialData Modifier and Type Method Description ShapelessRecipe
ShapelessRecipe. addIngredient(int count, MaterialData ingredient)
Adds multiples of the specified ingredient.ShapelessRecipe
ShapelessRecipe. addIngredient(MaterialData ingredient)
Adds the specified ingredient.ShapelessRecipe
ShapelessRecipe. removeIngredient(int count, MaterialData ingredient)
Removes multiple instances of an ingredient from the list.ShapelessRecipe
ShapelessRecipe. removeIngredient(MaterialData ingredient)
Removes an ingredient from the list.void
ItemStack. setData(MaterialData data)
Sets the MaterialData for this stack of itemsShapedRecipe
ShapedRecipe. setIngredient(char key, MaterialData ingredient)
Sets the material that a character in the recipe shape refers to.FurnaceRecipe
FurnaceRecipe. setInput(MaterialData input)
Sets the input of this furnace recipe.Constructors in org.bukkit.inventory with parameters of type MaterialData Constructor Description FurnaceRecipe(ItemStack result, MaterialData source)
Deprecated.FurnaceRecipe(ItemStack result, MaterialData source, float experience)
Deprecated. -
Uses of MaterialData in org.bukkit.material
Subclasses of MaterialData in org.bukkit.material Modifier and Type Class Description class
Banner
class
Bed
Represents a bed.class
Button
Represents a buttonclass
Cake
class
Cauldron
Represents a cauldronclass
Chest
Represents a chestclass
Coal
Represents the different types of coals.class
CocoaPlant
Represents the cocoa plantclass
Command
Represents a command blockclass
Comparator
Represents a comparator in the on or off state, in normal or subtraction mode and facing in a specific direction.class
Crops
Represents the different types of crops in different states of growth.class
DetectorRail
Represents a detector railclass
Diode
Represents a diode/repeater in the on or off state, with a delay and facing in a specific direction.class
DirectionalContainer
Represents a furnace or a dispenser.class
Dispenser
Represents a dispenser.class
Door
Represents a door.class
Dye
Represents dyeclass
EnderChest
Represents an ender chestclass
ExtendedRails
This is the superclass for theDetectorRail
andPoweredRail
classesclass
FlowerPot
Deprecated.Flower pots are now tile entities, useFlowerPot
.class
Furnace
Represents a furnace.class
FurnaceAndDispenser
Represents a furnace or dispenser, two types of directional containersclass
Gate
Represents a fence gateclass
Hopper
Represents a hopper in an active or deactivated state and facing in a specific direction.class
Ladder
Represents Ladder dataclass
Leaves
Represents the different types of leaf block that may be permanent or can decay when too far from a log.class
Lever
Represents a leverclass
LongGrass
Represents the different types of long grasses.class
MonsterEggs
Represents the different types of monster eggsclass
Mushroom
Represents a huge mushroom block with certain combinations of faces set to cap, pores or stem.class
NetherWarts
Represents nether wartclass
Observer
Represents an observer.class
PistonBaseMaterial
Material data for the piston base blockclass
PistonExtensionMaterial
Material data for the piston extension blockclass
PoweredRail
Represents a powered railclass
PressurePlate
Represents a pressure plateclass
Pumpkin
Represents a pumpkin.class
Rails
Represents minecart rails.class
RedstoneTorch
Represents a redstone torchclass
RedstoneWire
Represents redstone wireclass
Sandstone
Represents the different types of sandstone.class
Sapling
Represents the different types of Tree block that face a direction.class
Sign
MaterialData for signsclass
SimpleAttachableMaterialData
Simple utility class for attachable MaterialData subclassesclass
Skull
Represents a skull.class
SmoothBrick
Represents the different types of smooth bricks.class
SpawnEgg
Deprecated.useSpawnEggMeta
class
Stairs
Represents stairs.class
Step
Represents the different types of steps.class
TexturedMaterial
Represents textured materials like steps and smooth bricksclass
Torch
MaterialData for torchesclass
TrapDoor
Represents a trap doorclass
Tree
Represents the different types of Tree block that face a direction.class
Tripwire
Represents the tripwireclass
TripwireHook
Represents the tripwire hookclass
Vine
Represents a vineclass
Wood
Represents wood blocks of different species.class
WoodenStep
Represents the different types of wooden steps.class
Wool
Represents a Wool/Cloth blockMethods in org.bukkit.material that return MaterialData Modifier and Type Method Description MaterialData
MaterialData. clone()
Deprecated.MaterialData
FlowerPot. getContents()
Deprecated.Get the material in the flower potMethods in org.bukkit.material with parameters of type MaterialData Modifier and Type Method Description void
FlowerPot. setContents(MaterialData materialData)
Deprecated.Set the contents of the flower pot
-