KubeJS Extras 1.18/1.17.1 is a mod that offers extra features that are currently available to use. These are effective for you to apply to KubeJS scripts.

About KubeJS Extras
It is a design that the author made for the AOF4 pack. You are able to utilize it in other packs without charge.
One of the main abilities is to allow the user to hide entries from REI. Besides, they can hide recipe outputs from REI. KubeJS scripts control all.
Others
You can visit the GitHub page to check out more information about the existing features. However, you can take a look over them here.
KubeJS Tag event: list all ids
It’s not hard to search for every present Id inside the tag by using kjsextras_getAllIds() on a tag wrapper.
KubeJS remove ores
KJS Extra patches the event so it can operate in 1.17.
KubeJS Extras is a server utility mod. It requires Minecraft Forge.