Description
allow use accessTransformer in kubejs.
Access Transformers (ATs for short) allow for widening the visibility and modifying the flags of classes, methods, and fields. They allow modders to access and modify otherwise inaccessible members in classes outside their control -- NeoForge Doc
see Access Transformers | NeoForged docs
Start the game once after installing this mod.
Every time you modify accesstransformer. cfg, you need to restart the game for it to take effect
see kubejs/accesstransformer.cfg to use it
For safety reasons, in the latest version, class filters have been added, which will not allow you to widen all classes that kubejs or other mods do not allow to load, including the types of fields and function return values..
example:

result:



