Back to mods
HexJS project artwork

CurseForge · Minecraft mod

HexJS

Adds Hexcasting support for KubeJS!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which HexJS release should I use?

Updated 2 years ago
Latest stable file HexJS 1.1.1 [FORGE]
Game version 1.19.2, 1.19.3, 1.19.4
Loader Forge

HexJS 1.1.1 [FORGE] targets 1.19.2, 1.19.3, 1.19.4 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 7 required mods have matching files.

Where it goes

Is HexJS required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does HexJS 1.1.1 [FORGE] need?

HexJS 1.1.1 [FORGE]. Change the file and its required mods may change too.

All 7 required mods have matching files

Install Hex Casting, KubeJS, Kotlin for Forge, Patchouli and 3 more first. We found matching files for this game-version and loader setup. 5 come through another mod in the chain.

2 listed on this file 5 pulled in by those mods
Hex Casting Needed by HexJS 1.1.1 [FORGE]
required
Matching file found Matched file: hexcasting-forge-1.19.2-0.10.3.jar
KubeJS Needed by HexJS 1.1.1 [FORGE]
required
Matching file found Matched file: KubeJS Forge 1902.6.2-build.73
Kotlin for Forge Needed by Hex Casting
pulled in
Matching file found Matched file: Kotlin for Forge 4.12.0
Patchouli Needed by Hex Casting
pulled in
Matching file found Matched file: Patchouli-1.19.4-79.1-FORGE.jar
PAUCAL Needed by Hex Casting
pulled in
Matching file found Matched file: paucal-forge-1.19.2-0.5.0.jar
Rhino Needed by KubeJS
pulled in
Matching file found Matched file: Rhino Forge 1902.2.3-build.284
Architectury API Needed by KubeJS
pulled in
Matching file found Matched file: [Forge 1.19.2] v6.6.92

5 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add HexJS without breaking your instance.

Built for HexJS 1.1.1 [FORGE]. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use HexJS 1.1.1 [FORGE]. It targets 1.19.2, 1.19.3, 1.19.4 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Hex Casting, KubeJS, Kotlin for Forge, Patchouli and 3 more first. We found matching files for this game-version and loader setup. 5 come through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside HexJS 1.1.1 [FORGE]. It opens that exact file at the source.

About this project

What does HexJS add?

About

HexJS is a mod integrating Hexcasting and KubeJS for modpack makers and server owners.

Features

Whitelists and Blacklists

The server and each player has their own list of patterns they can cast, this list can either be a whitelist, or a blacklist. (Default is an empty blacklist)

The per-player lists are persistent, while the global list is not. If there is a conflict, the per-player list takes priority.

Tip: Blocking the base number literal (0) for either positive or negative numbers will block all numbers of that type

Redirects

The server and each player has their own list of redirects which redirect a drawn pattern to another pattern, this is handled after the whitelists and blacklists.

Only 1 pass is done so it is easily possible to swap the effects of 2 patterns. If there is a conflict, the per-player redirect takes priority.

Custom Patterns

This is probably what most of you are here for, the ability to make your own patterns and spells, all from inside KubeJS!

This happens in 2 parts, first you register the pattern with a name and such, and then you check if the pattern in question was the one cast in the registeredPatternCastEvent to do your logic. This can be used to override existing patterns.

Pre-Imbued Casting Items

Create cyphers, trinkets, and artifacts with pre-imbued spells and media!

This can be used for loot chests, mob drops, and more!

Force Casting

Cast any list of patterns as any player from KubeJS!

This can be used for proxies as well as making fake players from CarpetMod cast spells!

Misc

  • Ability to create custom ancient scrolls.
  • Ability to get the angle signature of Great Spells from KubeJS.
  • Ability to set a max length for Bookkeeper's Gambit. (Global and/or Per-Player, as per Whitelists and Blacklists)

Disclaimer

Due to most of my testing happening on Fabric, there may be a lot more bugs on the Forge version of this mod.

Please do report any bugs you find on the Github. Thank you in advance!

Project description from CurseForge.

Pick your setup

HexJS by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

5 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

HexJS versions and loaders

6 of 6 releases match

Looking for an older file? The official CurseForge project page is in Resources.