toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.material
/
Crops
Crops
public
class
Crops
extends
MaterialData
Represents the different types of crops.
Members
Constructors
Crops
Link copied to clipboard
public
void
Crops
(
)
public
void
Crops
(
CropState
state
)
public
void
Crops
(
Material
type
)
Properties
data
Link copied to clipboard
public
byte
data
Functions
clone
Link copied to clipboard
public
Crops
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
State
Link copied to clipboard
public
CropState
getState
(
)
Gets the current growth state of this crop
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
set
State
Link copied to clipboard
public
void
setState
(
CropState
state
)
Sets the growth state of this crop
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
(
)