All Mods Resource Packs Data Packs Shaders Modpacks Plugins
PhLib

PhLib

by poolcritter • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

How to Install PhLib (Mod)

PhLib by poolcritter is verified for Fabric across Minecraft versions 1.20.1 (latest release: 0.1.4, file size: 586 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded PhLib file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.1
Fabric
4mo ago 1
1.20.1
Fabric
5mo ago 1
1.20.1
Fabric
8mo ago 1
1.20.1
Fabric
11mo ago 1
1.20.1
Fabric
11mo ago 1
[0.1.4] PhLib 0.1.4 by poolcritter on Aug 08, 2026
Download
  • fixed virtual registry entries not appearing in the registry
  • renamed /gimmeiota to /pushIota
[0.1.3] PhLib 0.1.3 by poolcritter on Jun 27, 2026
Download
  • added FinalizedSpell
  • added a test subsystem and the /testHexes command
  • added arm and hand utils
  • added casting image and cast result updaters
  • added preempting continuation chaser
  • added tools for command stuff
  • fixed Flock's Disintegration iterating maps incorrectly
  • make map xor actually work
  • uncons or unappend on empty maps no longer throw an internal exception

[0.1.2] PhLib 0.1.2 by poolcritter on Apr 01, 2026
Download
  • Added portals
  • Documented Flock's Disintegration and Speaker's Distillation for maps
  • Made maps insertion-ordered

[0.1.1] PoolHexLib 0.1.1 by poolcritter on Jan 11, 2026
Download
removed the mod-tools dep, oops
[0.1.0] PoolHexLib 0.1.0 by poolcritter on Jan 11, 2026
Download
initial release; nothing interesting
PhLib Icon
Download PhLib
Select game version
Select platform