Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Datapack Portals

Datapack Portals

Create custom portals using CustomPortalApi with datapacks

46.7k
31
Adventure
Magic
Utility
AboutChangelogVersions

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.

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 portals and stuff

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20–1.20.1
1.19.x
1.18.2
1.17.x
1.16.3–1.16.4

Platforms

Fabric

Supported environments

Client and server

Links

Report issues View source
Donate on PayPal

Creators

kyrptonaught
kyrptonaught Owner

Details

Licensed MIT
Published 4 years ago
Updated 9 months ago

Modrinth is open source.

main@fafd47f

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.