Package | Description |
---|---|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.block.structure |
Classes relevant to structure blocks.
|
org.bukkit.structure |
Classes related to creating or using
structures without creating Structure
blocks in the world. |
Modifier and Type | Method and Description |
---|---|
StructureRotation |
Structure.getRotation()
Get how this structure is rotated.
|
Modifier and Type | Method and Description |
---|---|
void |
Structure.setRotation(StructureRotation rotation)
Set how this structure is rotated.
|
Modifier and Type | Method and Description |
---|---|
static StructureRotation |
StructureRotation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructureRotation[] |
StructureRotation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Structure.place(Location location,
boolean includeEntities,
StructureRotation structureRotation,
Mirror mirror,
int palette,
float integrity,
Random random)
Place a structure in the world.
|
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.
|
Copyright © 2022. All rights reserved.