Skip to content

Datapack Portals Mod for Minecraft 1.21.1, 1.21

Create custom portals using CustomPortalApi with datapacks

views
8 views
Updated
Updated 18.10.2026

Datapack Portals

Create custom portals using CustomPortalApi with datapacks.

Inside your datapack create a "portals" folder, this is where you'll put all your custom portals. There is no set limit of allowed portals, as long as there aren't any duplicate frame blocks. See an example datapack here

Here is an example file: stoneendportal.json

{ "block": "minecraft:stone", "dim": "minecraft:the_end", "r": 66, "g": 135, "b": 245 }

  • block: the block used for the frame.
  • dim: the dim id to travel to
  • r, g, b: the color to tint the portal

There are also some optional arguments

  • ignitionType: the type of ignition to use. Options are "BLOCK", "FLUID", "ITEM".
  • ignitionSource: the id for block/item/fluid for ignition of the portal, the only supported block being fire : "minecraft:fire". All items and fluids are supported.
  • returnDim: the dimmension to return to, allows for specifying a location other than the overworld to return to

That is all! Portals will function exactly like vanilla nether portals do

How to install Datapack Portals

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.21–1.21.1 on Fabric automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric

    The loader must match the game version of the mod file, for example Minecraft 1.21.1. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file datapackportals-1.2.3-1.21.jar (230 KB) for your game version.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: Datapack Portals should be in the list.

Minecraft 1.21.1 runs on Java 21: with a different Java version the game may close right after launch.

Versions

With dependencies

MinecraftLoaderFileDateActions
1.21Fabricdatapackportals-1.2.3-1.21.jar230 KB

Reviews

Be the first to rate Datapack Portals

Comments 0

Sign in to commentSign in

Similar mods

All mods

More on this