Function
Displacement
Every DISPLACEMENT_BARRIER_CYCLE ticks, the boundary checks living entities inside its configured cube. Armor Stands and entities protected from the caster are excluded. An entity well inside the horizontal interior is moved along its own horizontal look direction until reaching the opposite outer edge.
The trigger area is slightly smaller than the scan area. With radius R, an entity's block position must be strictly inside R−1 blocks on both X and Z.
Obstructed destinations
At the far edge, the spell searches upward for enough room and uses the first open position.
Mana
Cost: DISPLACEMENT_BARRIER_MANA_COST mana.
Payment cycle: Every DISPLACEMENT_BARRIER_MANA_CYCLE seconds.
Nearby Mana Circuits are used before personal mana.
Redstone
Redstone power inverts the circle's saved on/off state.
Configuration
| Setting | Default | Range | Effect |
|---|---|---|---|
DISPLACEMENT_BARRIER_MANA_COSTmahoutsukai-server.tomlboundarydisplacement | 1 | 0–100000000 mana per payment | Mana spent by an operational Displacement Boundary at each mana interval. |
DISPLACEMENT_BARRIER_MANA_CYCLEmahoutsukai-server.tomlboundarydisplacement | 5 | 1–100000000 seconds | Seconds between Displacement Boundary mana payments; the minimum is 1 second. |
DISPLACEMENT_BARRIER_RADIUSmahoutsukai-server.tomlboundarydisplacement | 11 | 0–100000000 blocks along each axis | Distance from the circle to each edge of the Displacement Boundary scan cube and its smaller trigger area. |
DISPLACEMENT_BARRIER_CYCLEmahoutsukai-server.tomlboundarydisplacement | 4 | 1–100000000 ticks | Ticks between Displacement Boundary teleport checks; the minimum is 1 tick. |



