public class DoublePlant extends MaterialData
Constructor and Description |
---|
DoublePlant() |
DoublePlant(DoublePlantSpecies species) |
DoublePlant(int type)
Deprecated.
Magic value
|
DoublePlant(int type,
byte data)
Deprecated.
Magic value
|
DoublePlant(Material type) |
DoublePlant(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
DoublePlant |
clone() |
DoublePlantSpecies |
getSpecies()
Gets the current species of this double plant.
|
void |
setSpecies(DoublePlantSpecies species)
Sets the species of this double plant.
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public DoublePlant()
public DoublePlant(DoublePlantSpecies species)
@Deprecated public DoublePlant(int type)
type
- the typepublic DoublePlant(Material type)
@Deprecated public DoublePlant(int type, byte data)
type
- the typedata
- the data@Deprecated public DoublePlant(Material type, byte data)
type
- the typedata
- the datapublic DoublePlantSpecies getSpecies()
public void setSpecies(DoublePlantSpecies species)
species
- The new species of this double plantpublic String toString()
toString
in class MaterialData
public DoublePlant clone()
clone
in class MaterialData
Copyright © 2021. All rights reserved.