这是用于我的 Hex Casting 模组的库。作为普通玩家,你只需将其作为依赖项安装即可。
你仅有两个理由独立安装此模组:
- Iotaworks 使用的地图 iota 在此模组中存储和定义,且功能完整。该模组还会根据需要转换由 Hexic 创建的地图 iota。
- 此模组添加了
/gimmeiota命令,拥有 2 级权限的操作者可以使用它向你的法杖施法栈中添加任意数据类型的 iota。
面向开发者
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")
}
功能
除了上述面向用户的特性外,phlib 还为 Scala 模组开发者提供了一些实用工具:
ne"qaq"会被转换为HexPattern.fromAngles("qaq", HexDir.NORTH_EAST)Patterns.register允许使用???作为角度签名或实现而不会导致游戏崩溃Patterns.mkAction、Patterns.mkConstAction和Patterns.mkLiteral用于创建常见的动作类型propagateMishaps捕获来自某些施法环境的小事故,并使用 Scala 魔法将它们重新抛出到外部(用于 Lani's gambits )- 其他杂项实用函数
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
下载 PhLib
下载 PhLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PhLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PhLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PhLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 修复了虚拟注册表条目未出现在注册表中的问题
- 将
/gimmeiota重命名为/pushIota
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧