promotional bannermobile promotional banner

OpenPortals

A simple-to-use library for implementing custom dimension portals.
AnonymousHacker1279 | OpenPortals
Create a server, get 25% off your first monthaffiliate logo
Create Server
affiliate banner image

OpenPortals Logo

A simple-to-use library for implementing custom dimension portals.

OpenPortals is a lightweight library mod that makes it easy to create custom portals. It's ideal for Jar-in-Jar purposes.

Setup

To use OpenPortals in your mod, add it as a dependency in your build.gradle file:

repositories {
    maven {
        name "AnonymousHacker1279"
        url "https://maven.anonymoushacker1279.tech/releases"
    }

}

dependencies {
    implementation "tech.anonymoushacker1279.openportals:OpenPortals:<version>"
}

The latest version can be found in the releases section of the repository.

Usage

Creating a portal can be done in a single step during mod setup, for example:

@SubscribeEvent
public static void onCommonStartUp(FMLCommonSetupEvent event) {
    new CustomPortalBuilder()
            .frame(Blocks.GLOWSTONE)
            .destination(Identifier.withDefaultNamespace("the_nether"))
            .lightWithFluid(Fluids.WATER)
            .tintColor(255, 0, 255)
            .build();
}

All portal builder methods are documented, so refer to the Javadocs for additional information.

License

OpenPortals is MIT licensed.

The OpenPortals Team

profile avatar
  • 3
    Followers
  • 4
    Projects
  • 471.4K
    Downloads

I'm an avid programmer and engineer, who also enjoys gaming, rock and heavy metal, and critical thinking.

More from AnonymousHacker1279

  • Immersive Weapons Compatibility Bridge project image

    Immersive Weapons Compatibility Bridge

    • 124.2K
    • Mods

    The Immersive Weapons Compatibility Bridge adds compatibility to several mods.

    • 124.2K
    • May 16, 2026
    • Mods
    • +1
  • Immersive Weapons project image

    Immersive Weapons

    • 344.6K
    • Mods

    Immersive Weapons is more than just a weapons mod aiming to spice up your combat skills.

    • 344.6K
    • May 13, 2026
    • Mods
    • +4
  • Cobalt Config project image

    Cobalt Config

    • 1.2K
    • Mods

    Cobalt Config is a simple library that makes dealing with configurations easier.

    • 1.2K
    • February 1, 2024
    • Mods
  • Immersive Weapons Compatibility Bridge project image

    Immersive Weapons Compatibility Bridge

    • 124.2K
    • Mods

    The Immersive Weapons Compatibility Bridge adds compatibility to several mods.

    • 124.2K
    • May 16, 2026
    • Mods
    • +1
  • Immersive Weapons project image

    Immersive Weapons

    • 344.6K
    • Mods

    Immersive Weapons is more than just a weapons mod aiming to spice up your combat skills.

    • 344.6K
    • May 13, 2026
    • Mods
    • +4
  • Cobalt Config project image

    Cobalt Config

    • 1.2K
    • Mods

    Cobalt Config is a simple library that makes dealing with configurations easier.

    • 1.2K
    • February 1, 2024
    • Mods