WIKI:
描述:GatewaysJS 是一个 KubeJS 插件模组,旨在将 GatewaysToEternity 模组与 Minecraft 1.20.1 Forge 的 KubeJS 脚本功能连接起来。它允许服务器所有者和整合包开发者通过 JavaScript 自定义传送门行为,而无需编写 Java 代码。
特性:事件系统:通过 KubeJS 事件监听所有传送门事件(开启、完成、失败、波次开始/结束、实体生成);传送门 API:查询已注册的传送门、检查存在性、获取传送门配置和类型;实体操作:访问传送门实体属性、生成物品、播放声音等;动态奖励:在波次完成后添加自定义奖励。


版本 1.1 新增内容:
自定义传送门珍珠允许你通过 KubeJS 动态创建并生成传送门。你可以配置传送门 ID、颜色、大小、波次、奖励以及完整的规则行为设置。
如果再次使用相同的 ID 注册传送门,旧的注册将被新的配置替换。换句话说,具有相同 ID 的最新注册将成为活跃版本。

版本 1.4 允许玩家自定义传送门实体纹理和 Boss 血条样式。示例如下:

**版本 1.5
此更新扩展了自定义传送门构建器的实体修改器系统。你现在可以全局应用属性、药水效果、装备套装、NBT、描述和生成初始化设置到所有波次、特定波次中的每个实体或单独的实体条目。新的 API 使复杂的传送门波次构建更加容易,并支持 ProbeJS 对属性、效果和属性操作的补全提示。

**
WIKI:
Description: GatewaysJS is a KubeJS addon mod designed to bridge the GatewaysToEternity mod with KubeJS scripting capabilities for Minecraft 1.20.1 Forge. It enables server owners and modpack developers to customize gateway behavior through JavaScript without writing Java code.Key
Features: Event System: Listen to all gateway events (opened, completed, failed, wave started/ended, entity spawned) via KubeJS events Gateway API: Query registered gateways, check existence, get gateway configurations and types Entity Manipulation: Access gateway entity properties, spawn items, play sounds, and more Dynamic Rewards: Add custom rewards when waves complete


version 1.1 add
Custom Gateway Pearls allow you to dynamically create and spawn Gateways through KubeJS. You can configure the gateway ID, color, size, waves, rewards, and the full rules behavior settings.
If a gateway is registered again with the same ID, the old registration is replaced by the new configuration. In other words, the latest registration with the same ID becomes the active version.

Version 1.4 allows players to customize the gateway entity texture and boss bar style. Here's an example:

**version 1.5
This update expands the entity modifier system for the custom Gateway Builder. You can now apply attributes, potion effects, gear sets, NBT, descriptions, and spawn initialization settings globally to all waves, to every entity in a specific wave, or to individual entity entries. The new API makes complex gateway waves easier to build and supports ProbeJS completions for attributes, effects, and attribute operations.

**
评论 0
登录后参与评分
还没有评论,来抢沙发吧