Skip to content
TIGXR Labs
Dimension Stack & World Wrapping
Dimension Stack & World Wrapping

Minecraft 26.3, 26.2

Dimension Stack & World Wrapping

Stack dimensions vertically with Dimension Stack, connect floors and ceilings globally, build inward or outward World Wrapping zones, and create miniature Scaled Box Views.

Beyond doorway portals, Immersive Portals Continued supports global portals: dimension-wide portals stored in GlobalPortalStorage that never unload with chunk distance. They power Dimension Stack, seamless floor/ceiling connections, and World Wrapping.

Dimension Stack (Vertical World Layers)

Dimension Stack places multiple dimensions vertically on top of one another. For example, you can place the Nether physically underneath the Overworld bedrock layer and The End high above the clouds, letting you dig straight down into the Nether or fly up into another realm without a loading screen.

Setting Up a Dimension Stack

You can configure Dimension Stack in two ways:

  1. During World Creation: Click the Dimension Stack button on the Create New World screen before generating the world. This ensures bedrock replacement applies from chunk zero.
  2. In an Existing World (Operator Command): Run /portal dimension_stack in-game to open the same Dimension Stack screen.
Open the Dimension Stack configuration GUI in an existing world
/portal dimension_stack

Per-Dimension Entry Settings

Click Edit on any dimension in the stack to customize its parameters:

OptionDefaultDescription
Scale1.0Relative coordinate ratio between stacked layers (e.g., 8 vs 1 for Nether-like compression).
FlippedfalseTurns the dimension upside-down relative to its neighbors.
Horizontal Rotation0Rotates horizontal alignment (X/Z) between connected dimensions in degrees.
Top Y / Bottom YDimension limitsOverrides the exact Y coordinates where the ceiling and floor portals attach.
Bedrock Replacementminecraft:obsidianBlock ID that replaces naturally generated floor/ceiling bedrock in new chunks (leave blank to keep bedrock).
Connects Previous / NexttrueEnables or disables the connection to the layer above (Previous) or below (Next).

Global Stack Options

  • Loop: Connects the bottom of the last dimension back to the top of the first dimension, creating an endless vertical loop.
  • Set as Default: Saves your current stack configuration into dimStackPreset inside config/immersive_portals.json for future worlds.
  • Gravity (Relative to View / Relative to World): Controls whether flipped layers set teleportChangesGravity.

Manual Floor & Ceiling Connections

If you prefer scripting vertical connections directly instead of using the GUI, use the /portal global commands (Operator permission required):

Connect the Overworld's floor to the Nether's ceiling
/portal global connect_floor minecraft:overworld minecraft:the_nether
Connect the Overworld's ceiling to The End's floor
/portal global connect_ceil minecraft:overworld minecraft:the_end
Remove the floor connecting portal in the Overworld
/portal global connection_floor_remove minecraft:overworld
Remove the ceiling connecting portal in the Overworld
/portal global connection_ceil_remove minecraft:overworld

To inspect or manage any global portals in your current dimension:

List all global portals in your current dimension
/portal global view_global_portals
Promote the targeted portal to a dimension-wide global portal
/portal global convert_normal_portal_to_global_portal
Convert a nearby global portal (within 64 blocks) back to a normal portal
/portal global convert_global_portal_to_normal_portal
Delete the global portal you are aiming at
/portal global delete_global_portal

World Wrapping (Looping Spaces)

World Wrapping turns a rectangular region into a seamless looping torus. Walk off the north edge and arrive smoothly at the south edge, while seeing repeating copies of your build stretching into the distance.

Inward vs. Outward Wrapping

  • Inward Wrapping: Portals face inside the box. You stay inside a seamlessly repeating world (classic wrap-around space).
  • Outward Wrapping: Portals face outside the box. Walking toward the region wraps you straight across to the far side, making the boxed interior invisible and unenterable from outside. This works well for hidden pockets or spatial illusions.

Global World Wrapping Zones (Full World Height)

Global wrapping zones take two 2D column coordinates (x1 z1 and x2 z2) and span the entire vertical height of the dimension:

Create a 64x64 inward wrapping zone spanning full world height
/portal global create_inward_wrapping 0 0 64 64
Create a 32x32 outward wrapping zone
/portal global create_outward_wrapping 100 100 132 132
List active wrapping zones and their numeric IDs
/portal global view_wrapping_zones
Remove the wrapping zone you are currently standing inside (or pass an ID)
/portal global remove_wrapping_zone

Clearing the Wrapping Border

Because Minecraft still generates terrain outside a wrapping zone’s perimeter, chunks just past the border can occasionally cast shadows or interfere with lighting. You can clear the outer border blocks with:

Clear blocks along the outer border of your current wrapping zone (requires confirmation)
/portal global clear_wrapping_border

Small 3D Wrapping Rooms (Local Portals)

To wrap a finite 3D room (including floor and ceiling, using 6 normal portal entities instead of global portals), pass full 3D coordinates (x1 y1 z1 and x2 y2 z2):

Wrap a 16x16x16 interior room on all 6 faces
/portal create_small_inward_wrapping 0 64 0 16 80 16
Create a 16x16x16 outward-wrapped spatial skip box
/portal create_small_outward_wrapping 0 64 0 16 80 16

Scaled Box Views (Miniature Dioramas)

A Scaled Box View projects a large 3D volume of your world into a tabletop miniature diorama.

Uses a single outward-facing BoxPortalShape portal entity (plus its reverse portal) with fuseView: true for clean edges and minimal overhead:

Project a 32x32x32 area into a 4x4x4 miniature box at your feet (8x scale)
/portal create_scaled_box_view_optimized 0 60 0 32 92 32 8 @s
  • p1 and p2: Opposite block corners of the full-size source region in your current dimension.
  • scale: Shrink factor (e.g., 8 turns a 32x32x32 area into a 4x4x4 diorama).
  • placeTargetEntity: Entity whose position and dimension determine where the miniature box spawns (for example @s or an armor stand in another dimension).

Legacy Six-Face Scaled Box View

Creates six separate flat portals (one per box face) and lets you toggle biWay and teleportChangesScale:

Create a 6-face bi-way scaled box view
/portal create_scaled_box_view 0 60 0 32 92 32 8 @s true false

Need help or found a bug?

Ask questions on Discord or report bugs and crashes on GitHub.