ZenUtils icon indicating copy to clipboard operation
ZenUtils copied to clipboard

Client example in NativeMethodHandling error

Open sneetsnart opened this issue 4 months ago • 1 comments

When attempting to replicate the example for inheriting a class documented here, the client script throws errors and does not register the item model. I am consistently able to extend other classes in the main script and make functional blocks, but the client script and item models never seem to work.

The two different code blocks are stored in different scripts labeled preinit.zs and client.zs and were copied verbatim from the examples.

Here is the full log on a barebones instance https://mclo.gs/zrSE3xP

Image

sneetsnart avatar Jul 11 '26 15:07 sneetsnart

client.zs line 8: import scripts.preinit.crops.seeds;

two scripts should be saved in scripts/preinit

friendlyhj avatar Jul 12 '26 01:07 friendlyhj