CodeChicken Lib 1.8.+

CodeChicken Lib 1.8.+

141M Downloads

[1.16.5] Client crash

zISKo666 opened this issue ยท 3 comments

commented

Hello there,

after reporting a crash in 2 diefferent locations i was sent here by @KnightMiner

SlimeKnights/TinkersConstruct#4667 (comment)

commented

This should be resolved in CCL 4.0.5.438, which is currently pending curse approval.

Alternatively download it from maven over here.

commented

To make this crash more interesting, the static intitialization creating the ItemEntity with a null world (which is invalid per the java docs) is never even used in the mod, its a private static variable. Deleting it would fix this problem with no downsides assuming no reflection.

commented

Minecraft does not have Javadocs as you are aware, these are community-driven docs and do not fully represent the 'API'. Not everyone uses these in their dev env, they are not always up-to-date and are frequently incorrect. (Maybe not with Parchment, but still).

In previous versions of Minecraft, 1.12 etc, it was possible to create entities with null worlds explicitly for rendering purposes, this was commonly used by many mods, Forge even had patches to this effect.

At some point this changed and now entities require non-null worlds.

Yes, the code in question is dead, I haven't had time to nuke it.

This will be resolved in a future release of CCL.