Package | Description |
---|---|
org.bukkit.material |
Classes that represents various voxel types and states.
|
org.bukkit.material.types |
Modifier and Type | Method and Description |
---|---|
MushroomBlockTexture |
Mushroom.getBlockTexture()
Gets the mushroom texture of this block.
|
Modifier and Type | Method and Description |
---|---|
void |
Mushroom.setBlockTexture(MushroomBlockTexture texture)
Sets the mushroom texture of this block.
|
Constructor and Description |
---|
Mushroom(Material shroom,
MushroomBlockTexture texture)
Constructs a brown/red mushroom block with the specified textures.
|
Modifier and Type | Method and Description |
---|---|
static MushroomBlockTexture |
MushroomBlockTexture.getByData(byte data)
Deprecated.
Magic value
|
static MushroomBlockTexture |
MushroomBlockTexture.getCapByFace(BlockFace face)
Gets the MushroomBlockType with cap texture on the given block face.
|
static MushroomBlockTexture |
MushroomBlockTexture.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MushroomBlockTexture[] |
MushroomBlockTexture.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2017. All rights reserved.