forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 69
StructureSpell
JasperLorelai edited this page Jan 18, 2025
·
2 revisions
spell-class: ".targeted.StructureSpell"
Warning
Introduced in 4.0 Beta 14.
Value | Supported |
---|---|
entity |
false |
location |
true |
entity_from_location |
false |
Capable of placing Minecraft structures in the world. You can use built-in structures and structures from the world file.
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
structure-key |
Namespaced Key | ||
mirror |
Mirror | 0 |
|
rotation |
StructureRotation | none |
|
palette |
The palette index of the structure to use, starting at 0 , or -1 to pick a random palette. |
Integer | 0 |
integrity |
Determines how damaged the building should look by randomly skipping blocks to place. This value can range from 0 to 1. With 0 removing all blocks and 1 spawning the structure in pristine condition. | Float | 1 |
include-entities |
Boolean | true |
|
relative-offset |
Vector | ||
absolute-offset |
Vector | ||
point-blank |
Boolean | false |