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