类的使用
org.bukkit.util.BlockVector
-
org.bukkit.block中BlockVector的使用
修饰符和类型方法说明Structure.getRelativePosition()
The relative position of the structure outline based on the position of the structure block.Structure.getStructureSize()
The distance to the opposite corner of this structure.修饰符和类型方法说明void
Structure.setRelativePosition
(BlockVector vector) Set the relative position from the structure block.void
Structure.setStructureSize
(BlockVector vector) Set the maximum size of this structure from the origin point. -
org.bukkit.util中BlockVector的使用
修饰符和类型方法说明BlockVector.clone()
克隆生成新的方块向量.static BlockVector
BlockVector.deserialize
(Map<String, Object> args) Vector.toBlockVector()
获取这个向量所在的方块的向量.