Download Datapack Portals — Minecraft Mods — MetaMods

Datapack Portals

Active

Downloads

18

Last update

1 year ago

Versions

1.16.3 — 1.21.1
Client and server
Fabric
Adventure
Libraries
Magic
Utils

Datapack Portals

This mod allows you to create custom portals in Minecraft using datapacks with the CustomPortalApi library. You no longer need to be limited to standard Nether or End portals - now you can customize portals for any dimensions according to your preferences.

To get started, create a "portals" folder inside your datapack. This is where all configurations for your custom portals will be stored. The number of portals is unlimited, the main condition is that the frame blocks should not be duplicated between different portals.

Here is an example configuration file stoneendportal.json:

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

Main configuration parameters:

  • block: the block used to build the portal frame
  • dim: destination dimension identifier
  • r, g, b: RGB values for portal coloring

Additional optional parameters:

  • ignitionType: portal activation method ("BLOCK", "FLUID", "ITEM")
  • ignitionSource: block/item/fluid identifier for activation (supports fire "minecraft:fire" and all items/fluids)
  • returnDim: return dimension (allows specifying an alternative dimension instead of the regular world)

Created portals work exactly like standard Nether portals in the vanilla version of the game.

Project members
kyrptonaught

kyrptonaught

Developer

Created: 28 Nov 2020

ID: 2707