KubeJS REI 运行时

KubeJS REI 运行时

允许KubeJS动态地从REI中隐藏和显示物品

基础库

KubeJS REI Runtime 允许你在 REI 中动态显示/隐藏物品,默认提供以下方法:

// 在 client_scripts 中

REIRuntime.showItem(item); // 在 REI 中显示一个物品
REIRuntime.showItems([item, item, ...]); // 在 REI 中显示多个物品
REIRuntime.hideItem(item); // 在 REI 中隐藏一个物品
REIRuntime.hideItems([item, item, ...]); // 在 REI 中隐藏多个物品