程序包 | 说明 |
---|---|
org.bukkit.material |
代表每种体素(意义可参考维基百科或百度百科相关条目,即物品被抽象为体素)的种类和状态.
|
org.bukkit.material.types |
限定符和类型 | 方法和说明 |
---|---|
MushroomBlockTexture |
Mushroom.getBlockTexture()
Gets the mushroom texture of this block.
|
限定符和类型 | 方法和说明 |
---|---|
void |
Mushroom.setBlockTexture(MushroomBlockTexture texture)
Sets the mushroom texture of this block.
|
构造器和说明 |
---|
Mushroom(Material shroom,
MushroomBlockTexture texture)
Constructs a brown/red mushroom block with the specified textures.
|
限定符和类型 | 方法和说明 |
---|---|
static MushroomBlockTexture |
MushroomBlockTexture.getByData(byte data)
已过时。
不安全的参数
|
static MushroomBlockTexture |
MushroomBlockTexture.getCapByFace(BlockFace face)
获取关于指定方块朝向的蘑菇盖的 MushroomBlockType.
|
static MushroomBlockTexture |
MushroomBlockTexture.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static MushroomBlockTexture[] |
MushroomBlockTexture.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|