关于
HexJS 是一个将 Hexcasting(六边形施法)与 KubeJS 集成的模组,专为整合包制作人和服务器管理员设计。
功能
白名单和黑名单
服务器和每个玩家都拥有各自可施展的法术列表,该列表可以是白名单或黑名单。(默认为空黑名单)
玩家专属列表是持久保存的,而全局列表则不是。
如果存在冲突,玩家专属列表优先。
提示:针对正数或负数禁用基础数字字面量(0),将阻止所有该类型的数字。
重定向
服务器和每个玩家都拥有各自的重定向列表,用于将绘制出的法术重定向到另一个法术,此过程在白名单和黑名单之后处理。
仅执行一次传递,因此很容易交换两个法术的效果。
如果存在冲突,玩家专属重定向优先。
自定义法术
这可能是大多数用户关注的内容,即完全在 KubeJS 内部制作自己的法术和咒语的能力!
这分为两部分:首先注册一个具有名称等属性的法术,然后在 registeredPatternCastEvent 中检查被施展的法术是否为所注册的那个以执行逻辑。这可用于覆盖现有法术。
预附魔施法物品
创建带有预附魔咒语和媒介的密语符、饰品和神器!
这可用于战利品箱、生物掉落物等!
强制施法
从 KubeJS 中以任意玩家的身份施展任何法术列表!
这可用作代理,也可让 CarpetMod 生成的假人施展法术!
其他
免责声明
由于我的大部分测试均在 Fabric 上进行,该模组的 Forge 版本可能存在更多错误。
请在 GitHub 上报告您发现的任何错误。提前感谢您的支持!
About
HexJS is a mod integrating Hexcasting and KubeJS for modpack makers and server owners.
Features
Whitelists and Blacklists
The server and each player has their own list of patterns they can cast, this list can either be a whitelist, or a blacklist. (Default is an empty blacklist)
The per-player lists are persistent, while the global list is not.
If there is a conflict, the per-player list takes priority.
Tip: Blocking the base number literal (0) for either positive or negative numbers will block all numbers of that type
Redirects
The server and each player has their own list of redirects which redirect a drawn pattern to another pattern, this is handled after the whitelists and blacklists.
Only 1 pass is done so it is easily possible to swap the effects of 2 patterns.
If there is a conflict, the per-player redirect takes priority.
Custom Patterns
This is probably what most of you are here for, the ability to make your own patterns and spells, all from inside KubeJS!
This happens in 2 parts, first you register the pattern with a name and such, and then you check if the pattern in question was the one cast in the registeredPatternCastEvent to do your logic. This can be used to override existing patterns.
Pre-Imbued Casting Items
Create cyphers, trinkets, and artifacts with pre-imbued spells and media!
This can be used for loot chests, mob drops, and more!
Force Casting
Cast any list of patterns as any player from KubeJS!
This can be used for proxies as well as making fake players from CarpetMod cast spells!
Misc
-
Ability to create custom ancient scrolls.
-
Ability to get the angle signature of Great Spells from KubeJS.
-
Ability to set a max length for Bookkeeper's Gambit. (Global and/or Per-Player, as per Whitelists and Blacklists)
Disclaimer
Due to most of my testing happening on Fabric, there may be a lot more bugs on the Forge version of this mod.
Please do report any bugs you find on the Github. Thank you in advance!
评论 0
登录后参与评分
还没有评论,来抢沙发吧