
Modrinth · Minecraft mod
PhLib
Library for my (and your; idc) Hex Casting addons.
Quick answer
Which PhLib release should I use?
PhLib 0.1.4 targets 1.20.1 with Fabric. Do not install it on the client. It must be installed on the dedicated server. 4 required mods need a matching file.
Where it goes
Is PhLib required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does PhLib 0.1.4 need?
0.1.4. Change the file and its required mods may change too.
Install Hex Casting, Fabric API, Patchouli, Cardinal Components API and 8 more first, but 4 required mods have no matching file for this setup. Do not mix loader builds to force a match. 11 come through another mod in the chain.
11 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 PhLib without breaking your instance.
Built for PhLib 0.1.4. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.1.4. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Hex Casting, Fabric API, Patchouli, Cardinal Components API and 8 more first, but 4 required mods have no matching file for this setup. Do not mix loader builds to force a match. 11 come through another mod in the chain.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 0.1.4. It opens that exact file at the source.
About this project
What does PhLib add?
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
/gimmeiotacommand, 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"becomesHexPattern.fromAngles("qaq", HexDir.NORTH_EAST)Patterns.registerallows using???as an anglesig or implementation without crashng the gamePatterns.mkAction,Patterns.mkConstAction, andPatterns.mkLiteralfor creating common action typespropagateMishapscatches mishaps from some casting env and re-throws them outside using Scala magic (used in Lani's gambits )- Miscellaneous utility functions
Project description from Modrinth.
Pick your setup
PhLib by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
PhLib versions and loaders
0.1.4
phlib-0.1.4.jar
8 Aug 2026
0.1.3
phlib-0.1.3.jar
27 Jun 2026
0.1.2
phlib-0.1.2.jar
1 Apr 2026
0.1.1
phlib-0.1.1.jar
11 Jan 2026
0.1.0
phlib-0.1.0.jar
11 Jan 2026
Looking for an older file? The official Modrinth project page is in Resources.