public class Prismarine extends MaterialData
| Constructor and Description |
|---|
Prismarine() |
Prismarine(int type)
Deprecated.
Magic value
|
Prismarine(int type,
byte data)
Deprecated.
Magic value
|
Prismarine(Material type) |
Prismarine(Material type,
byte data)
Deprecated.
Magic value
|
Prismarine(PrismarineType type) |
| Modifier and Type | Method and Description |
|---|---|
Prismarine |
clone() |
PrismarineType |
getType()
Gets the current type of this prismarine
|
void |
setType(PrismarineType type)
Sets the type of this prismarine
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Prismarine()
public Prismarine(PrismarineType type)
@Deprecated public Prismarine(int type)
type - the typepublic Prismarine(Material type)
@Deprecated public Prismarine(int type, byte data)
type - the typedata - the data@Deprecated public Prismarine(Material type, byte data)
type - the typedata - the datapublic PrismarineType getType()
public void setType(PrismarineType type)
type - New type of this prismarinepublic String toString()
toString in class MaterialDatapublic Prismarine clone()
clone in class MaterialDataCopyright © 2021. All rights reserved.