枚举的使用
org.bukkit.material.types.MushroomBlockTexture
使用MushroomBlockTexture的程序包
-
org.bukkit.material中MushroomBlockTexture的使用
参数类型为MushroomBlockTexture的org.bukkit.material中的方法修饰符和类型方法说明void
Mushroom.setBlockTexture
(MushroomBlockTexture texture) Sets the mushroom texture of this block.参数类型为MushroomBlockTexture的org.bukkit.material中的构造器限定符构造器说明Mushroom
(Material shroom, MushroomBlockTexture texture) Constructs a brown/red mushroom block with the specified textures. -
org.bukkit.material.types中MushroomBlockTexture的使用
修饰符和类型方法说明static MushroomBlockTexture
MushroomBlockTexture.getByData
(byte data) 已过时。不安全的参数static MushroomBlockTexture
MushroomBlockTexture.getCapByFace
(BlockFace face) 获取关于指定方块朝向的蘑菇盖的 MushroomBlockType.static MushroomBlockTexture
返回带有指定名称的该类型的枚举常量。static MushroomBlockTexture[]
MushroomBlockTexture.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。