gatewaysjs: Script Custom Gateways in Minecraft

Use gatewaysjs for Minecraft to script custom GatewaysToEternity waves, rewards, and pearls with KubeJS. Download gatewaysjs and build dynamic encounters.

Download gatewaysjs for Minecraft 26.1.2, 1.21.1, 1.20.1

Original name: gatewaysjs

Minecraft: 1.20.1, 1.21.1, 26.1.2

Loaders: Forge, NeoForge

FileVersionLoaderSize
gatewaysjs-1.1.jar1.20.1Forge39 КБDownload
1.20.1-forge-GatewaysJS-1.8.jar1.20.1Forge91 КБDownload
1.20.1-forge-GatewaysJS-1.7.jar1.20.1Forge91 КБDownload
gatewaysjs-1.6.jar1.20.1Forge88 КБDownload
gatewaysjs-1.6.jar1.20.1Forge88 КБDownload
gatewaysjs-1.5.2.jar1.20.1Forge78 КБDownload
gatewaysjs-1.5.1.jar1.20.1Forge67 КБDownload
gatewaysjs-1.5.jar1.20.1Forge65 КБDownload
gatewaysjs-1.4.jar1.20.1Forge56 КБDownload
gatewaysjs-1.3.jar1.20.1Forge47 КБDownload
gatewaysjs-1.2.jar1.20.1Forge39 КБDownload
gatewaysjs-1.0.jar1.20.1Forge29 КБDownload
gatewaysjs-1.7-neoforge.jar1.21.1NeoForge93 КБDownload
gatewaysjs-1.8-neoforge.jar1.21.1NeoForge94 КБDownload
1.21.1-neoforge-GatewaysJS-1.9.jar1.21.1NeoForge94 КБDownload
1.21.1-neoforge-GatewaysJS-2.0.jar1.21.1NeoForge95 КБDownload
26.1.2-neoforge-GatewaysJS-1.9.jar26.1.2NeoForge100 КБDownload

gatewaysjs: Script Custom Gateways in Minecraft

If you have ever built a wave-based arena in Minecraft and wished you could tweak every spawn, reward, and boss bar without touching a line of Java, gatewaysjs is the add-on you have been waiting for. This KubeJS addon bridges the GatewaysToEternity mod with KubeJS scripting, letting server owners and modpack developers shape gateway encounters entirely through JavaScript. Whether you are designing a brutal endgame trial or a gentle starter wave, the whole system bends to your script.

What gatewaysjs Actually Does

At its core, gatewaysjs exposes the internals of GatewaysToEternity to KubeJS. That means you can listen to gateway events, query registered gateways, manipulate entities mid-wave, and hand out custom rewards when a wave clears. No recompiling, no decompiling, no wrestling with a Java IDE at two in the morning.

Event System

Every meaningful moment in a gateway's lifecycle fires a KubeJS event you can hook into: opened, completed, failed, wave started, wave ended, and entity spawned. React to a failed run by spawning a consolation chest, or announce wave transitions in chat with custom formatting.

Gateway API and Entity Manipulation

The Gateway API lets you check whether a gateway exists, pull its configuration, and inspect its type. From there, entity manipulation opens the door to spawning items, playing sounds, and reading entity properties during combat. Dynamic rewards slot neatly on top, so clearing a wave can trigger loot tables, commands, or anything else your script can dream up.

Custom Gateway Pearls

Version 1.1 introduced Custom Gateway Pearls, which let you create and spawn gateways dynamically through KubeJS. You configure the gateway ID, color, size, waves, rewards, and the full rules behavior. Register the same ID again and the newest configuration replaces the old one, so the latest registration always wins. Version 1.4 added custom gateway entity textures and boss bar styles, while version 1.5 expanded the entity modifier system so you can apply attributes, potion effects, gear sets, NBT, descriptions, and spawn initialization globally to all waves, to a single wave, or to individual entity entries. ProbeJS completions cover attributes, effects, and attribute operations, which makes complex wave building far less error-prone.

Supported Versions and Loader

gatewaysjs targets Minecraft 1.20.1 on Forge, matching the GatewaysToEternity and KubeJS builds for that release. If your modpack lives on 1.20.1 Forge, you are in the right place. Before you download gatewaysjs, confirm that your GatewaysToEternity and KubeJS versions line up, since the addon leans on both APIs directly.

How to Install gatewaysjs

Installation follows the usual Forge add-on pattern, with one important prerequisite: KubeJS and GatewaysToEternity must already be present.

  • Download gatewaysjs for Minecraft 1.20.1 Forge from the project's GitHub releases or your preferred mod repository.
  • Drop the jar into your mods folder alongside KubeJS and GatewaysToEternity.
  • Launch the game once so the addon generates its script folders.
  • Write your gateway scripts in the KubeJS server scripts directory and reload with /reload or restart the server.
  • Test with a Custom Gateway Pearl and watch the events fire in your logs.

For players who prefer a hands-off setup, the foxygame.net launcher bundles gatewaysjs into its add-on catalog, so you can add it to a 1.20.1 Forge instance with a single click and let the launcher handle version matching and updates automatically.

Practical Ideas for Your Scripts

Server owners get the most mileage out of gatewaysjs by treating gateways as reusable encounter templates. A few directions worth exploring:

  • Scale difficulty by applying attribute modifiers per wave, ramping health and damage as players progress.
  • Attach potion effects to specific entity entries for themed waves, like a frost gateway where every mob carries slowness auras.
  • Reward completion with scripted loot, currency, or command triggers instead of static chests.
  • Use custom textures and boss bar colors to give each gateway a distinct identity in your world.

Because the entity modifier system in version 1.5 supports global, per-wave, and per-entity scopes, you can build layered encounters without duplicating configuration across every wave entry.

Final Thoughts

gatewaysjs turns GatewaysToEternity from a fixed feature into a scripting playground. If you already know KubeJS, the learning curve is gentle; if you are new to it, the event system and ProbeJS completions make experimentation painless. Grab the addon for Minecraft 1.20.1 Forge, pair it with your existing KubeJS setup, and start building gateways that feel genuinely yours.