枚举的使用
org.bukkit.material.types.MushroomBlockTexture
使用MushroomBlockTexture的程序包
程序包
说明
代表每种体素(意义可参考维基百科或百度百科相关条目,即物品被抽象为体素)的种类和状态.
与特定物种有关的类.
-
org.bukkit.material中MushroomBlockTexture的使用
参数类型为MushroomBlockTexture的org.bukkit.material中的方法修饰符和类型方法说明voidMushroom.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 @Nullable MushroomBlockTextureMushroomBlockTexture.getByData(byte data) 已过时。不安全的参数static @Nullable MushroomBlockTextureMushroomBlockTexture.getCapByFace(@Nullable BlockFace face) 获取关于指定方块朝向的蘑菇盖的 MushroomBlockType.static MushroomBlockTexture返回带有指定名称的该类型的枚举常量。static MushroomBlockTexture[]MushroomBlockTexture.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。