Portal
| Command | Permission | Description |
|---|---|---|
/lasers portal delete player <player> | lasers.edit | Destroy all active portals owned by the target player. Accepts Minecraft selectors (@a, @p, @e[...]). |
/lasers portal delete location <x> <y> <z> | lasers.edit | Destroy any portal whose surface or front-air space covers the given block. Accepts relative (~) and local (^) coordinates. |
/lasers portal delete cuboid <x1> <y1> <z1> <x2> <y2> <z2> | lasers.edit | Destroy every portal intersecting the cuboid region between the two corners. The corners may be given in any order per axis. Accepts relative and local coordinates. |
Note on matching: a portal is considered at a location if any of its 4 associated blocks contains that location — the 2 surface blocks of the Portal Surface holding the portal, and the 2 air blocks immediately in front of those. The
cuboidvariant uses the same rule: a portal is destroyed when at least one of those 4 blocks lies inside the cuboid.
Note on command blocks: these commands are typically run from a puzzle-reset command block, for example
/le portal delete player @aor/le portal delete cuboid ~-10 ~-5 ~-10 ~10 ~5 ~10. Relative (~) and local (^) coordinates resolve against the command block's own position.