org.bukkit.material
Class LongGrass
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.LongGrass
- All Implemented Interfaces:
- Cloneable
public class LongGrass
- extends MaterialData
Represents the different types of long grasses.
LongGrass
public LongGrass()
LongGrass
public LongGrass(GrassSpecies species)
LongGrass
public LongGrass(int type)
LongGrass
public LongGrass(Material type)
LongGrass
public LongGrass(int type,
byte data)
LongGrass
public LongGrass(Material type,
byte data)
getSpecies
public GrassSpecies getSpecies()
- Gets the current species of this grass
- Returns:
- GrassSpecies of this grass
setSpecies
public void setSpecies(GrassSpecies species)
- Sets the species of this grass
- Parameters:
species
- New species of this grass
toString
public String toString()
- Overrides:
toString
in class MaterialData
clone
public LongGrass clone()
- Overrides:
clone
in class MaterialData
Copyright © 2013. All Rights Reserved.