KubeJS REI Runtime
This mod provides powerful tools for dynamically managing item display in the REI (Roughly Enough Items) interface. With it, you gain complete control over which elements will be visible to players in real-time.
Main Features
The following functions are available in client scripts:
// in client_scripts
REIRuntime.showItem(item); // shows an item in REI
REIRuntime.showItems([item, item, ...]); // shows multiple items in REI
REIRuntime.hideItem(item); // hides an item in REI
REIRuntime.hideItems([item, item, ...]); // hides multiple items in REI
These methods allow you to create dynamic interfaces where item visibility can change depending on various game conditions.