Uses of Class
org.bukkit.util.BlockVector
Package
Description
Classes used to manipulate the voxels in a
world
,
including special states.Classes related to creating or using
structures
without creating Structure
blocks
in the world.Multi and single purpose classes to facilitate various programmatic
concepts.
-
Uses of BlockVector in org.bukkit.block
Modifier and TypeMethodDescriptionStructure.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.Modifier and TypeMethodDescriptionvoid
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. -
Uses of BlockVector in org.bukkit.structure
Modifier and TypeMethodDescriptionvoid
Structure.fill(Location origin, BlockVector size, boolean includeEntities)
Fills the Structure from an area in a world, starting at the specified origin and extending in each axis according to the specified size vector.void
Structure.place(RegionAccessor regionAccessor, BlockVector location, boolean includeEntities, StructureRotation structureRotation, Mirror mirror, int palette, float integrity, Random random)
Place a structure in the world. -
Uses of BlockVector in org.bukkit.util
Modifier and TypeMethodDescriptionBlockVector.clone()
Get a new block vector.static BlockVector
BlockVector.deserialize(Map<String,Object> args)
Vector.toBlockVector()
Get the block vector of this vector.