一款适用于 Forge 和 Fabric 的模组,旨在扩展 Hex Casting 的功能,新增两种 iota 类型:字符串(Strings)和矩阵(Matrices)。
- 字符串! 你可以从告示牌、聊天窗口以及其他 iota 中获取字符串;支持拼接、分割、比较、解析为数字等操作,满足你的各种需求。
- 矩阵! 支持加法、乘法、求逆和转置运算,其功能符合预期;同时提供垂直与水平方向的拼接功能,以及若干实用的 Actions 用于创建各类矩阵(如单位矩阵、零矩阵、旋转矩阵),并支持通过
num | vec | [num] | [vec] | [[num]] 构建任意矩阵。
本模组定位为库模组,供其他 Addon 开发者在其模组中调用。如果你对此有任何疑问,或认为有有助于该用途的额外功能,欢迎加入 Hex Casting 的 Discord 服务器并私信我!
A mod for Forge and Fabric extending Hex Casting to add some new iota types, namely Strings and Matrices.
- Strings! You can get strings from signs, from chat, and from other iotas; combine them, split them, compare them, parse them into numbers, whatever you need.
- Matrices! addition, multiplication, inverse, and transpose which will function how you expect, as well as vertical and horizontal concatenation and useful some Actions to make matrices of various types (identity, zero, rotation, and constructing arbitrary matrices from
num | vec | [num] | [vec] | [[num]].
This mod is intended to be a library that other Addon developers can make use of in their own mods, so if you have any questions about doing that or extra features which would be helpful for it join the Hex Casting discord and send me a message!
评论 0
登录后参与评分
还没有评论,来抢沙发吧