ZenUtils
ZenUtils copied to clipboard
Will be particularly useful for method overriding and mixin script. A simple way of implementing this is: - For directly blocked class, mark all its members as invalid - For...
Can not `int[]` `[int]` Can not `[int].sort(function(a as int, b as int))`, but `[int].sort(function a as native.java.lang.Integer, b as native.java.lang.Integer))` works Compile these should give an automatic box and unbox,...
Curious if this is even possible, because I couldn't figure out how to do this with native method access (if it's even possible). Ideally this would allow packmakers to customize...
With mod [RequiousFracto](https://www.curseforge.com/minecraft/mc-mods/requious-frakto) installed, `StringList.create` returns different values based on variable declaration method. test.zs: ```less #reloadable import mods.zenutils.StringList; print('~'~StringList.create(['one', 'two', 'three']).get(1)); val list = ['one', 'two', 'three'] as string[]; print('~'~StringList.create(list).get(1));...
I am debugging recently E2EE ZS mixin changes. I found this like in dedicated server's `crafttweaker.log`: ```less [CONSTRUCTING][SERVER][ERROR] [mixin | SIDE_SERVER]: Error parsing mixin/oldjavawarning.zs:4 -- class net.darkhax.oldjava.OldJavaWarning does not exist....
It would be nice if custom blocks could have defined restrictions for where they can be placed, like torches needing a solid block below them, or plants only surviving on...
## Environment | Item | Version | |--------------|-------------------------------------------------------------| | ZenUtils | 1.28.6; 1.28.9 | | CraftTweaker | 2-1.12-4.1.20.715 | | Loader | Cleanroom 0.6.11-alpha (Foundation 0.19.11) | | Java |...
``` ---- Minecraft Crash Report ---- WARNING: coremods are present: Fugue (+Fugue-0.25.4.jar) ZenUtilsPlugin (zenutils-1.28.7.jar) Contact their authors BEFORE contacting forge // You should try our sister game, Minceraft! Time: 2026-10-16...
ZenUtils `1.27.5`, same code on master (`067e5ba`), MixinExtras `0.5.3`. `#mixin Share` never reaches MixinExtras, so a shared local can't be used from a script. Tested on a dedicated server with...
如题,插件不会扫描1.12.2这个特定子目录,启动会直接崩溃。 (我修改时让它扫全部子目录,结果扫到错误jar程序也会崩溃,值得注意)