Package | Description |
---|---|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.structure |
Classes related to creating or using
structures without creating Structure
blocks in the world. |
org.bukkit.util |
Multi and single purpose classes to facilitate various programmatic
concepts.
|
Modifier and Type | Method and Description |
---|---|
BlockVector |
Structure.getRelativePosition()
The relative position of the structure outline based on the position of
the structure block.
|
BlockVector |
Structure.getStructureSize()
The distance to the opposite corner of this structure.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
BlockVector |
Structure.getSize()
Gets the current size of the structure.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Method and Description |
---|---|
BlockVector |
BlockVector.clone()
Get a new block vector.
|
static BlockVector |
BlockVector.deserialize(Map<String,Object> args) |
BlockVector |
Vector.toBlockVector()
Get the block vector of this vector.
|
Copyright © 2022. All rights reserved.