Crops

public class Crops extends MaterialData

Represents the different types of crops.

Constructors

Link copied to clipboard
public void Crops()
public void Crops(CropState state)
public void Crops(Material type)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
public Crops clone()
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
Gets the Material that this MaterialData represents
Link copied to clipboard
Gets the current growth state of this crop
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public void setState(CropState state)
Sets the growth state of this crop
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()