CraftTweaker

CraftTweaker

151M Downloads

Inner Classes Missing

dshadowwolf opened this issue ยท 1 comments

commented

Issue description

With the following code all attempts to reference the nested/inner class inner result in a "No Class Def Found" from Java. Decompiling the class file from a #debug run shows that outer$inner does not exist in the JAR file at all and there is no sign of it in other class files containing code from this simple test.

Steps to reproduce

Run the provided code and uncomment the last line - an error will occur

Script used

https://gist.github.com/dshadowwolf/f4bd35ed8c91b7b661f803dfa9dc6d80

The crafttweaker.log file

https://gist.github.com/dshadowwolf/fc28ca7d6c8cc255fbda4bfdd72bc5d8

Minecraft version

1.18

Modloader

Forge

Modloader version

40.1.19

CraftTweaker version

9.1.140

Other relevant information

The issue appears to be internal to ZenCode so the added information from the latest.log is likely going to be of zero use.

The latest.log file

https://gist.github.com/dshadowwolf/94f37c53161c626e381bfb5a4feef1b2

commented

This issue is also present in 1.16.2 -- Forge 36.2.20 and CraftTweaker 7.1.2.510 with the exact same symptoms