跳到正文

PhLib

作者:poolcritter

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:

  • 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

常见问题

PhLib 支持哪些 Minecraft 版本?

PhLib 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

PhLib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

poolcritter 的其他作品

查看全部 →