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

SettingDefaultRangeEffect
DISPLACEMENT_BARRIER_MANA_COSTmahoutsukai-server.tomlboundarydisplacement10–100000000 mana per paymentMana spent by an operational Displacement Boundary at each mana interval.
DISPLACEMENT_BARRIER_MANA_CYCLEmahoutsukai-server.tomlboundarydisplacement51–100000000 secondsSeconds between Displacement Boundary mana payments; the minimum is 1 second.
DISPLACEMENT_BARRIER_RADIUSmahoutsukai-server.tomlboundarydisplacement110–100000000 blocks along each axisDistance from the circle to each edge of the Displacement Boundary scan cube and its smaller trigger area.
DISPLACEMENT_BARRIER_CYCLEmahoutsukai-server.tomlboundarydisplacement41–100000000 ticksTicks between Displacement Boundary teleport checks; the minimum is 1 tick.