Datapack Portals: Custom Portal Creation in Minecraft

Unlocking New Dimensions with Datapack Portals Minecraft has always been about exploration, but what if you could bend the rules of travel and create gateways to any dimension you desire? With Datapack Portals, that power is entirely in your hands. This clever system uses the CustomPortalApi and ...

Download datapackportals for Minecraft 1.21, 1.20.1, 1.19.4, 1.19.3, 1.19.2, 1.19

Original name: datapackportals

Minecraft: 1.16.3, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.2, 1.19, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.21

Loaders: Fabric

FileVersionLoaderSize
datapackportals-1.0.1-1.16.jar1.16.3Fabric252 КБDownload
datapackportals-1.0.2-1.16.jar1.16.3Fabric255 КБDownload
customportals-1.0.0-1.16.jar1.16.3Fabric252 КБDownload
datapackportals-1.0.3-1.16.jar1.16.5Fabric275 КБDownload
datapackportals-1.0.4-1.17.jar1.17Fabric279 КБDownload
datapackportals-1.1.0-1.17.jar1.17.1Fabric300 КБDownload
datapackportals-1.1.0-1.18.jar1.18Fabric300 КБDownload
datapackportals-1.1.1-1.18.jar1.18.2Fabric300 КБDownload
datapackportals-1.1.1-1.19.jar1.19Fabric300 КБDownload
datapackportals-1.2.0-1.19.jar1.19.2Fabric237 КБDownload
datapackportals-1.2.1-1.19.jar1.19.2Fabric237 КБDownload
datapackportals-1.2.2-1.19.jar1.19.2Fabric237 КБDownload
datapackportals-1.2.2-1.19.3.jar1.19.3Fabric237 КБDownload
datapackportals-1.2.3-1.19.3.jar1.19.3Fabric236 КБDownload
datapackportals-1.2.3-1.19.4.jar1.19.4Fabric237 КБDownload
datapackportals-1.2.3-1.20.jar1.20.1Fabric237 КБDownload
datapackportals-1.2.3-1.21.jar1.21Fabric230 КБDownload

Unlocking New Dimensions with Datapack Portals

Minecraft has always been about exploration, but what if you could bend the rules of travel and create gateways to any dimension you desire? With Datapack Portals, that power is entirely in your hands. This clever system uses the CustomPortalApi and simple JSON files to let you design portals that look and behave exactly how you want—no modding expertise required. Whether you're building an adventure map, a server hub, or just want to surprise your friends, custom portals add a whole new layer of creativity.

What Are Datapack Portals?

Datapack Portals are a lightweight, vanilla-friendly way to add fully functional teleportation gates to your world. Instead of relying on complex command blocks or modded blocks, you define everything inside a datapack. The magic happens through the CustomPortalApi, which reads your configuration files and turns ordinary blocks into shimmering gateways. The best part? There's no hard limit on how many unique portals you can create, as long as each one uses a distinct frame block.

Think of it as giving the classic Nether portal a complete makeover. You pick the frame material, the destination dimension, and even the color of the portal's glow. The result functions just like a vanilla portal—light it, step through, and you're instantly transported—but with your own personal twist. For those looking to streamline the installation process, the foxygame.net launcher offers a convenient way to add datapacks directly from its menu, making custom portal creation even more accessible.

How the System Works

At its core, Datapack Portals reads a special folder inside your datapack. All you need to do is create a directory called portals and place JSON files inside it. Each file represents one custom portal, and the game loads them automatically when the datapack is active. The structure is refreshingly simple, yet flexible enough to handle complex scenarios like one-way trips or conditional ignition.

The Basic JSON Blueprint

Every portal definition starts with a few essential fields. Here's a minimal example that creates a portal from stone blocks leading to the End, tinted in a cool blue:

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

Let's break down what each part does:

  • block – The material used for the portal frame (e.g., stone, diamond block, or any solid block).
  • dim – The dimension ID you'll travel to, such as minecraft:the_end or minecraft:the_nether.
  • r, g, b – Red, green, and blue values (0–255) that tint the portal's swirling interior.

That's all you need to get started. Build a frame just like a Nether portal—any size from the minimum 4x5 interior—and ignite it to watch the magic happen.

Creating Your First Custom Portal

Ready to try it yourself? Follow these steps to build a portal that whisks you from a cozy oak plank frame straight to the Nether.

  1. Create a new datapack or open an existing one. Inside the data folder, make a folder named after your namespace (e.g., custom_portals).
  2. Inside that namespace folder, create a folder called portals.
  3. Create a new JSON file—let's call it oak_to_nether.json—and paste the following:
    {
      "block": "minecraft:oak_planks",
      "dim": "minecraft:the_nether",
      "r": 180,
      "g": 50,
      "b": 50
    }
  4. Save the file, load the datapack in your world, and build a rectangular frame out of oak planks.
  5. Use a flint and steel on the inside of the frame to ignite it. A deep red portal should appear, ready to take you to the Nether.

If you ever want to change the portal's color or destination, simply edit the JSON file and reload the datapack. No need to rebuild anything.

Advanced Configuration Options

The real power of Datapack Portals shines when you start using the optional arguments. These let you control exactly how a portal is lit and where it sends you on the return trip.

Custom Ignition Types

By default, portals ignite just like Nether portals—with fire. But you can require a specific item, block, or fluid instead. The ignitionType field accepts three values:

  • "BLOCK" – Ignite using a placed block (only minecraft:fire is supported for blocks).
  • "FLUID" – Ignite by pouring a fluid, such as water or lava, into the frame.
  • "ITEM" – Ignite by using an item, like a blaze powder or a custom item from another datapack.

Pair this with ignitionSource to specify the exact ID. For example, to make a portal that only activates when you pour water into an iron block frame:

{
  "block": "minecraft:iron_block",
  "dim": "minecraft:overworld",
  "r": 100,
  "g": 200,
  "b": 255,
  "ignitionType": "FLUID",
  "ignitionSource": "minecraft:water"
}

Now players can't just use flint and steel; they need a water bucket. This opens up puzzle possibilities and adds a layer of discovery to your maps.

Setting a Return Dimension

Normally, stepping back through a custom portal brings you to the Overworld. The returnDim field overrides that behavior, allowing you to chain dimensions together or create a portal network that doesn't lead home. For instance, a portal in the End could send you directly to a custom dimension instead of the Overworld:

{
  "block": "minecraft:end_stone",
  "dim": "minecraft:the_end",
  "r": 255,
  "g": 255,
  "b": 100,
  "returnDim": "your_datapack:custom_dimension"
}

This is perfect for adventure maps where the story demands a one-way journey or a hub world that connects several realms.

Tips and Tricks for Portal Builders

  • Use unique frame blocks. The system checks for duplicate frame blocks, so if you want multiple portal types, give each a different material—like gold blocks for one, diamond for another.
  • Color coding helps players. Tint your portals with distinct colors to hint at their destination. A green portal might lead to a lush custom dimension, while a purple one goes to the End.
  • Combine with other datapacks. You can use custom dimensions, custom items for ignition, or even custom blocks as frames, as long as they're registered in the same world.
  • Test in creative mode. Build your frames quickly, test the ignition, and tweak the JSON until everything works smoothly before adding it to a survival world.

Why Datapack Portals Belong in Your Toolkit

Custom portals breathe life into stale travel mechanics. Instead of typing commands or walking for ages, players can step through a beautifully crafted gateway that feels like a natural part of the world. For server owners, it's a fantastic way to link spawn areas, minigame lobbies, and resource worlds without cluttering chat with teleport commands. For map makers, the ignition conditions and return dimension options turn portals into narrative devices—imagine a portal that only lights when a player holds a specific artifact, or a one-way trip into a boss arena.

The simplicity of the JSON format means you don't need to be a coder to get started. With just a text editor and a basic understanding of Minecraft's block and dimension IDs, you can build a portal network that rivals any modded experience. And because it's all contained in a datapack, sharing your creations is as easy as sending a single folder.

Conclusion

Datapack Portals turn the familiar act of stepping through a gateway into a canvas for your imagination. From the frame material to the ignition ritual, every detail is yours to command. Whether you're crafting a simple shortcut or a multi-dimensional adventure, this system delivers the flexibility of mods with the stability of vanilla Minecraft. So grab your favorite blocks, write a quick JSON file, and watch your world expand one portal at a time. The only limit is your creativity—and maybe the number of unique blocks you can find.