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
(@NotNull BlockVector vector) Set the relative position from the structure block.void
Structure.setStructureSize
(@NotNull 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
(@NotNull Location origin, @NotNull 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
(@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. -
Uses of BlockVector in org.bukkit.util
Modifier and TypeMethodDescriptionBlockVector.clone()
Get a new block vector.static @NotNull BlockVector
BlockVector.deserialize
(@NotNull Map<String, Object> args) Vector.toBlockVector()
Get the block vector of this vector.