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