Package | Description |
---|---|
org.bukkit.material |
Classes that represents various voxel types and states.
|
org.bukkit.material.types |
Modifier and Type | Method and Description |
---|---|
DirtType |
Dirt.getType()
Gets the current type of this dirt.
|
Modifier and Type | Method and Description |
---|---|
void |
Dirt.setType(DirtType type)
Sets the type of this dirt.
|
Constructor and Description |
---|
Dirt(DirtType dirt) |
Modifier and Type | Method and Description |
---|---|
static DirtType |
DirtType.getByData(byte data)
Deprecated.
Magic value
|
static DirtType |
DirtType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DirtType[] |
DirtType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2021. All rights reserved.