Skip to content

PhLib

Library for my (and your; idc) Hex Casting addons.

Fabric
Loaders
Fabric
Downloads on Modrinth
3.3K
Followers on Modrinth
1
versions
5
Updated
August 8, 2026Aug 8
Published
in 2025

At a glance

Runs on Fabric
For Minecraft 1.20.1
Server only — players don't need to install it
Latest version — 0.1.4 from August 8, 2026
Requires Hex Casting
License LGPL-3.0-or-later — free
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions1.20.1

This is a library used for my Hex Casting addons. As a user, you should only install this mod as a dependency.

You only have two reasons to install this mod independently:

  • The map iotas used by [Iotaworks] are stored and defined in this mod, and are fully-functional. This mod will also convert map iotas created by [Hexic] as needed.
  • This mod adds the /gimmeiota command, which as a level 2 operator allows you to add any iota with arbitrary data to your staffcasting stack.
For developers
repositories {
    exclusiveContent {
        forRepository {
            maven("https://pool.net.eu.org/") { name = "pool maven" }
        }
        filter {
            includeGroup("org.eu.net.pool")
            includeGroup("poollovernathan.fabric")
        }
    }
}

dependencies {
    api("org.eu.net.pool:phlib:VERSION")
}

Features

In addition to the user features listed above, phlib exposes some utilities to Scala addon developers:

  • ne"qaq" becomes HexPattern.fromAngles("qaq", HexDir.NORTH_EAST)
  • Patterns.register allows using ??? as an anglesig or implementation without crashng the game
  • Patterns.mkAction, Patterns.mkConstAction, and Patterns.mkLiteral for creating common action types
  • propagateMishaps catches mishaps from some casting env and re-throws them outside using Scala magic (used in Lani's gambits )
  • Miscellaneous utility functions

FAQ

How to install PhLib?

Install Fabric for your Minecraft version, download PhLib for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does PhLib support?

PhLib has builds for Minecraft 1.20.1.

Is PhLib needed on the server?

Server only — players don't need to install it

License and source
GNU Lesser General Public License v3.0 or laterfree to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More