Incompatible with Caxton when interacting with Train Station: `java.lang.NullPointerException: Cannot invoke "java.util.function.Function.apply(Object)" because "this.field_1997" is null`
bluebear94 opened this issue · 4 comments
Context
Interacting with Create’s train station crashes when Caxton installed.
This is caused by a missing access widener to Font#getFontSet
; adding this line to Create’s access widener should solve the problem. Indeed, one workaround is to install ImmediatelyFast, which has an access widener to the same method.
extendable method net/minecraft/client/gui/Font getFontSet (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/gui/font/FontSet;
(The version of Caxton used is the latest 1.20.1 branch on the repository, which has yet to be released.)
See issue originally posted on Caxton’s repo.
Crash Report
fixed the crash with 4c28059 the text has shadows when caxton is installed, not sure if that's fixable on our side since caxton seems to be doing some stuff with fonts & text drawing