Перейти к содержимому
Mineforgian

PhLib

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

Загрузки
1K
Подписчики
1
Обновлён
27 июня 2026 г.
Лицензия
LGPL-3.0-or-later

Опубликован 11 декабря 2025 г.

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

Ченджлог

0.1.3Релиз1.20.1 · 27 июня 2026 г.
  • 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Релиз1.20.1 · 1 апреля 2026 г.
  • Added portals
  • Documented Flock's Disintegration and Speaker's Distillation for maps
  • Made maps insertion-ordered
0.1.1Релиз1.20.1 · 11 января 2026 г.

removed the mod-tools dep, oops

0.1.0Релиз1.20.1 · 11 января 2026 г.

initial release; nothing interesting

Комментарии

Загружаем…