接口的使用
org.bukkit.util.BlockTransformer
程序包
说明
Classes related to creating or using
structures
without creating Structure
blocks
in the world.-
org.bukkit.event.world中BlockTransformer的使用
修饰符和类型方法说明AsyncStructureGenerateEvent.getBlockTransformer
(@NotNull NamespacedKey key) Gets a block transformer by key.修饰符和类型方法说明AsyncStructureGenerateEvent.getBlockTransformers()
Gets all block transformers in a unmodifiable map.修饰符和类型方法说明void
AsyncStructureGenerateEvent.setBlockTransformer
(@NotNull NamespacedKey key, @NotNull BlockTransformer transformer) Sets a block transformer to a key. -
org.bukkit.structure中BlockTransformer的使用
修饰符和类型方法说明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, @NotNull Collection<BlockTransformer> blockTransformers, @NotNull Collection<EntityTransformer> entityTransformers) Place a structure in the world.