Minecraft 26.3, 26.2
Commands Reference
Complete verified reference of /portal commands and bundled DimLib /dims commands in Immersive Portals Continued for Minecraft 26.2 and 26.3.
Every command on this page has been verified directly against the Immersive Portals Continued (26.2 / 26.3) and bundled DimLib 1.2.0 command dispatchers.
Permissions & Targeting Rules
- Who can run
/portal: Operators (Gamemaster permission level 2+) can run all/portalcommands. Players in Creative mode can also run most non-global/portalcommands wheneaseCreativePermissionistrue(default). - Operator-only branches:
/portal global ...,/portal tp ...,/portal dimension_stack,/portal create_command_stick,/portal add_command_on_teleported(and its edit/remove variants),/portal euler make_portal,/portal euler set_this_side, and all/dimscommands always require Gamemaster / Operator permission. - How portal-targeted commands work: Commands that modify an existing portal automatically target the non-global portal entity you are looking at (up to 100 blocks away). You can also run any portal-targeted command from a command block or function by executing as the portal entity:
/execute as @e[type=immersive_portals:portal,limit=1,sort=nearest] run portal make_portal_round Creating Portals
Quick Wall / View Portals
Creates a one-way, one-faced portal directly in front of you facing your direction:
/portal make_portal 4 4 minecraft:overworld 0 80 0 /portal make_portal 4 4 minecraft:overworld shift 20 Command-Block & Entity-Based Creation
Spawns a portal at from entity’s position/orientation pointing to to entity’s position and dimension (with optional custom name):
/portal cb_make_portal 3 4 @e[tag=portal_a,limit=1] @e[tag=portal_b,limit=1] my_portal Diagonal & Euler-Oriented Portals
/portal create_diagonal_portal 0 64 0 5 69 5 y /portal euler make_portal 0 70 0 0 45 4 4 1.0 {} Non-Euclidean Room & Cube Generators
/portal create_connected_rooms roomSize 6 4 6 roomNumber 5 /portal create_cube_surface_unwrapping 0 64 0 10 74 10 5 Bi-Way, Bi-Faced & Removing Portals
A newly spawned /portal make_portal entity is one-way and one-faced (only visible from one side, with no return portal). Use these commands while looking at it:
/portal complete_bi_way_portal /portal complete_bi_faced_portal /portal complete_bi_way_bi_faced_portal /portal remove_connected_portals /portal delete_portal /portal eradicate_portal_cluster /portal eradicate_portal_clutter Moving, Resizing & Scaling
Position & Destination
/portal set_portal_destination minecraft:the_nether 10 70 -20 /portal set_portal_destination_to @p /portal set_portal_position minecraft:overworld 100 65 100 /portal set_portal_position_to @p /portal move_portal 0.5 /portal move_portal_destination 0.5 /portal relatively_move_portal 1 0 0 /portal relatively_move_portal_destination 0 1 0 Size & Scale
/portal set_portal_size 6 4 /portal adjust_portal_to_fit_square_frame /portal set_portal_scale 2.0 /portal multiply_portal_scale 2 /portal divide_portal_scale 2 /portal scale_portals_relative_to_point @e[type=immersive_portals:portal,distance=..10] ~ ~ ~ 0.5 Rotation & Orientation
Each rotation command comes in two forms: arbitrary 3D axis vector (<x> <y> <z> <degrees>) or cardinal axis shortcut (_along x|y|z <degrees>):
/portal set_portal_rotation_along y 90 /portal rotate_portal_rotation_along y 15 /portal rotate_portal_body_along x 45 /portal set_portal_rotation 0 1 0 180 /portal rotate_portals_around @e[type=immersive_portals:portal,distance=..10] ~ ~ ~ 0 1 0 90 /portal adjust_rotation_to_connect @e[tag=p1,limit=1] @e[tag=p2,limit=1] /portal reset_portal_orientation Euler Orientation Helpers
/portal euler set_orientation 0 45 /portal euler set_this_side 0 70 0 0 90 4 4 {} /portal euler set_other_side 20 70 0 0 180 Custom Portal Shapes & Mirrors
/portal make_portal_round /portal shape sculpt /portal shape reset /portal debug simplify_portal_mesh /portal turn_info_fake_enterable_mirror Portal Animations (/portal animation)
Animate portals continuously or build smooth keyframe loops! Supported easing curves (timingFunction) are linear, sine (default), sineFlipped, circle, and easeInOutCubic.
Quick Presets & Playback Controls
/portal animation expand_from_center 20 /portal animation rotate_along_normal 1.5 /portal animation rotate_infinitely @s 0 1 0 1.0 /portal animation rotate_infinitely_random /portal animation rotate_portals @e[type=immersive_portals:portal,distance=..8] ~ ~ ~ 0 1 0 90 40 /portal animation rotate_portals_infinitely @e[type=immersive_portals:portal,distance=..8] ~ ~ ~ 0 1 0 1.0 /portal animation view /portal animation pause /portal animation resume /portal animation all_pause /portal animation remove_last /portal animation remove_at 0 /portal animation clear /portal animation clear_both_sides Keyframe Animation Builder
- Look at a portal and run
/portal animation build begin(pauses and saves the reference state). - Move, resize, or rotate the portal (with the Portal Wand or commands), then snapshot a phase with
/portal animation build append_phase <durationTicks> [timingFunction]. Repeat for as many keyframes as you like. - Finish and start looping with
/portal animation build finish [loopCount](omittingloopCountloops100000times).
/portal animation build begin /portal animation build append_phase 40 easeInOutCubic /portal animation build finish /portal animation build jump_to_phase 0 Portal Properties, NBT, Access & Triggers
Inspecting, Naming & Quick Toggles
/portal view_portal_data /portal set_portal_custom_name "Hub Portal" /portal nbt {fuseView:true,unbreakable:true} Quick boolean toggles (/portal toggle <property>) flip a property on the targeted portal without writing NBT:
/portal toggle interactable/portal toggle teleportable/portal toggle teleportChangesScale/portal toggle teleportChangesGravity/portal toggle fuseView/portal toggle visible/portal toggle crossPortalCollisionEnabled/portal toggle doRenderPayer(note the exact upstream spellingdoRenderPayerin the command parser)
Commands Executed on Teleportation (Op Only)
Run server commands automatically as any entity that walks through the targeted portal:
/portal add_command_on_teleported /effect give @s minecraft:speed 10 1 /portal set_command_on_teleported_at 0 /say Crossed! /portal remove_command_on_teleported_at 0 /portal clear_commands_on_teleported Player-Specific Portals & Multi-Destination
Make a portal visible and accessible to only one player, or give different players different destinations through the exact same frame:
/portal set_portal_specific_accessor @p /portal multidest Steve minecraft:the_nether 0 70 0 true true /portal multidest Steve Teleportation, Global Portals & Debug Utilities
Cross-Dimension Teleportation
/portal tpme minecraft:the_end 0 80 0 /portal tp @a minecraft:overworld 0 80 0 /portal goback Global Portals, Wrapping & Scaled Boxes
See Dimension Stack & World Wrapping for full explanations of:
/portal dimension_stack/portal global connect_floor <from> <to>&/portal global connect_ceil <from> <to>/portal global connection_floor_remove <dim>&/portal global connection_ceil_remove <dim>/portal global create_inward_wrapping <x1> <z1> <x2> <z2>&create_outward_wrapping/portal global view_wrapping_zones,remove_wrapping_zone [id],clear_wrapping_border [id]/portal global view_global_portals,convert_normal_portal_to_global_portal,convert_global_portal_to_normal_portal,delete_global_portal/portal create_small_inward_wrapping <p1> <p2>&create_small_outward_wrapping <p1> <p2>/portal create_scaled_box_view_optimized <p1> <p2> <scale> <targetEntity>&create_scaled_box_view
Diagnostics, Isometric & Fun Utilities (/portal debug)
/portal debug isometric_enable 50 /portal debug isometric_disable /portal debug align /portal debug nofog_enable /portal debug accelerate 50 /portal debug report_resource_consumption /portal debug report_per_player_chunk_loading /portal debug report_chunk_at minecraft:overworld 0 64 0 /portal debug list_portals /portal create_command_stick /portal goback Bundled DimLib Commands (/dims)
Immersive Portals Continued bundles DimLib 1.2.0, allowing server operators (Gamemaster permission level 2+) to create, clone, inspect, and remove dimensions dynamically without restarting the server!
/dims add_dimension "custom:void_room" void /dims clone_dimension minecraft:overworld "custom:overworld_2" /dims list /dims view_dim_config minecraft:overworld /dims remove_dimension custom:void_room Note that /dims clone_dimension clones the dimension type and chunk generator, not existing blocks or entities. Removing a dimension does not delete its region folder on disk, and if a datapack defines that dimension it will be re-added on next server restart.