#Classes blocked by default requires allowing them? What classes are blocked?
9 messages · Page 1 of 1 (latest)
[➤](#boots message)
Some things you do require access to classes that are blocked by default, but never fear! You can disable that!
kubejs/config/common.properties –> disableClassFilter –> true
This will not unblock classes that are explicitly excluded, such as java's networking and file management classes.
Oh, the link was deleted out of it by Gnome
@stable bear What classes are blocked?
Classes blocked by default requires allowing them? What classes are blocked?
This is the default KubeJS class filter.
- before the name of a class/package means that class/package is forbidden.
+ before the name of a class/package means that class/package is allowed if it has been forbidden before.
https://github.com/KubeJS-Mods/KubeJS/blob/4829f956837d50d44dc20e06d06c01028373e57c/src/main/resources/kubejs.classfilter.txt
All classes ARE allowed by default unless explicitly forbidden by the class filter of KubeJS or any addons
Having to explicitly disable the class filter was a thing in 1.18.2 KubeJS, idk about 1.19.2 KJS, 1.20.1 KJS allows all classes that aren't explicitly forbidden, same for 1.21.1
Thanks