Library for my (and your; idc) Hex Casting addons.
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:
/gimmeiota command, which as a level 2 operator allows you to add any iota with arbitrary data to your staffcasting stack.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")
}
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 gamePatterns.mkAction, Patterns.mkConstAction, and Patterns.mkLiteral for creating common action typespropagateMishaps catches mishaps from some casting env and re-throws them outside using Scala magic (used in Lani's gambits )
Conversation