toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.material
/
Leaves
Leaves
public
class
Leaves
extends
MaterialData
Represents the different types of leaves.
Members
Constructors
Leaves
Link copied to clipboard
public
void
Leaves
(
)
public
void
Leaves
(
TreeSpecies
species
)
public
void
Leaves
(
Material
type
)
Properties
data
Link copied to clipboard
public
byte
data
Functions
clone
Link copied to clipboard
public
Leaves
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
get
Species
Link copied to clipboard
public
TreeSpecies
getSpecies
(
)
Gets the current species of this leave
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
set
Species
Link copied to clipboard
public
void
setSpecies
(
TreeSpecies
species
)
Sets the species of this leave
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
(
)