Skip to content
JasperLorelai edited this page May 19, 2024 · 3 revisions

Source Code

spell-class: ".targeted.StructureSpell"

Warning

Introduced in 4.0 Beta 14.

Value Supported
entity false
location true
entity_from_location false

Description:

Capable of placing Minecraft structures in the world. You can use built-in structures and structures from the world file.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Type Default
structure-key NamespacedKey
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
Clone this wiki locally