Language

OpenPortals

OpenPortals

Modrinth

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

777 downloads 2 followers updated 1mo ago
latest vv1.2.0 Modrinth
Neoforge 1.21.11 – 26.1.2 Library

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.

Versions

Release
v1.2.0
neoforge · 26.1.2 · 1mo ago
This release updates to MC 26.1.2. The API surface is unchanged.
248
Release
v1.1.0
neoforge · 1.21.11 · 3mo ago
This is a major internal release with significant changes to the codebase and architecture. There are no user-facing changes under the API package. ###…
317
Release
v1.0.0
neoforge · 1.21.11 · 4mo ago
Initial release.
209

Comments 0

No comments yet. Be the first to share your thoughts.

Download OpenPortals

Files are served directly from the original source. Modgrid does not host or modify them.