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, toItemStack
public 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 MaterialData
public Prismarine clone()
clone
in class MaterialData
Copyright © 2021. All rights reserved.