枚举的使用
org.bukkit.block.structure.StructureRotation
程序包
说明
用于操作在
世界
内的三位像素(方块),包括一些特定的状态.各种方块的 BlockData 类.
与结构方块有关的类 (Minecraft Wiki - 结构方块).
Classes related to creating or using
structures
without creating Structure
blocks
in the world.-
org.bukkit.block中StructureRotation的使用
-
org.bukkit.block.data中StructureRotation的使用
修饰符和类型方法说明void
BlockData.rotate
(@NotNull StructureRotation rotation) 使用指定的StructureRotation
旋转此方块数据。 -
org.bukkit.block.structure中StructureRotation的使用
修饰符和类型方法说明static StructureRotation
返回带有指定名称的该类型的枚举常量。static StructureRotation[]
StructureRotation.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。 -
org.bukkit.structure中StructureRotation的使用
修饰符和类型方法说明void
Structure.place
(@NotNull Location location, boolean includeEntities, @NotNull StructureRotation structureRotation, @NotNull Mirror mirror, int palette, float integrity, @NotNull Random random) Place a structure in the world.void
Structure.place
(@NotNull Location location, boolean includeEntities, @NotNull StructureRotation structureRotation, @NotNull Mirror mirror, int palette, float integrity, @NotNull Random random, @NotNull Collection<BlockTransformer> blockTransformers, @NotNull Collection<EntityTransformer> entityTransformers) Place a structure in the world.void
Structure.place
(@NotNull RegionAccessor regionAccessor, @NotNull BlockVector location, boolean includeEntities, @NotNull StructureRotation structureRotation, @NotNull Mirror mirror, int palette, float integrity, @NotNull Random random) Place a structure in the world.void
Structure.place
(@NotNull RegionAccessor regionAccessor, @NotNull BlockVector location, boolean includeEntities, @NotNull StructureRotation structureRotation, @NotNull Mirror mirror, int palette, float integrity, @NotNull Random random, @NotNull Collection<BlockTransformer> blockTransformers, @NotNull Collection<EntityTransformer> entityTransformers) Place a structure in the world.