类的使用
org.bukkit.util.BlockVector
使用BlockVector的程序包
-
org.bukkit.block中BlockVector的使用
返回BlockVector的org.bukkit.block中的方法修饰符和类型方法说明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.参数类型为BlockVector的org.bukkit.block中的方法修饰符和类型方法说明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的org.bukkit.util中的方法修饰符和类型方法说明BlockVector.clone()
克隆生成新的方块向量.static BlockVector
BlockVector.deserialize
(Map<String, Object> args) Vector.toBlockVector()
获取这个向量所在的方块的向量.