PhLib
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 0.1.3
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/phlib
资源信息
Minecraft 版本: 1.20.1
平台: fabric
标签: utility
资源介绍
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:
For developers ```kotlin 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
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~