Uses of Class
org.bukkit.material.MaterialData
Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.generator |
Classes to facilitate
world 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 java.lang.Class<? extends MaterialData>
Material. getData()
Gets the MaterialData class associated with this Material -
Uses of MaterialData in org.bukkit.block
Methods in org.bukkit.block that return MaterialData Modifier and Type Method Description MaterialData
BlockState. getData()
Gets the metadata for this blockMethods in org.bukkit.block with parameters of type MaterialData Modifier and Type Method Description void
BlockState. setData(MaterialData data)
Sets the metadata for this block -
Uses of MaterialData in org.bukkit.entity
Methods in org.bukkit.entity that return MaterialData Modifier and Type Method Description MaterialData
Enderman. getCarriedMaterial()
Get 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)
Set the id and data of the block that the Enderman is carring.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)
Create a furnace recipe to craft the specified ItemStack. -
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
Crops
Represents the different types of crops.class
DetectorRail
Represents a detector railclass
Diode
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
Represents a flower pot.class
Furnace
Represents a furnace.class
FurnaceAndDispenser
Represents a furnace or dispenser, two types of directional containersclass
Gate
Represents a fence gateclass
Ladder
Represents Ladder dataclass
Leaves
Represents the different types of leaves.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 blockclass
NetherWarts
Represents nether wartclass
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
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
Represents a spawn egg that can be used to spawn mobsclass
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 Trees.class
Tripwire
Represents the tripwireclass
TripwireHook
Represents the tripwire hookclass
Vine
Represents a vineclass
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()
MaterialData
FlowerPot. getContents()
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)
Set the contents of the flower pot