toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.material
/
MaterialData
Material
Data
public
class
MaterialData
implements
Cloneable
Handles specific metadata for certain items or blocks
Inheritors
Banner
Bed
Cake
Cauldron
Coal
CocoaPlant
Command
Crops
Diode
DirectionalContainer
Door
Dye
FlowerPot
Gate
Leaves
LongGrass
Mushroom
NetherWarts
PistonBaseMaterial
PistonExtensionMaterial
PressurePlate
Pumpkin
Rails
RedstoneWire
Sandstone
Sign
SimpleAttachableMaterialData
Skull
SpawnEgg
Stairs
TexturedMaterial
Tree
Tripwire
Vine
WoodenStep
Wool
Members
Constructors
Material
Data
Link copied to clipboard
public
void
MaterialData
(
Material
type
)
Properties
data
Link copied to clipboard
public
byte
data
Functions
clone
Link copied to clipboard
public
MaterialData
clone
(
)
equals
Link copied to clipboard
public
boolean
equals
(
Object
obj
)
get
Item
Type
Link copied to clipboard
public
Material
getItemType
(
)
Gets the Material that this MaterialData represents
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
to
Item
Stack
Link copied to clipboard
public
ItemStack
toItemStack
(
)
public
ItemStack
toItemStack
(
int amount
)
Creates getClassById new ItemStack based on this MaterialData
to
String
Link copied to clipboard
public
String
toString
(
)