Fabric API

Fabric API

112M Downloads

Screen initialization events are not called for resized windows on 1.19.4

haykam821 opened this issue ยท 0 comments

commented

Screen initialization events such as ScreenEvents.AFTER_INIT are used to add buttons to vanilla screens. For example, Mod Menu uses ScreenEvents.AFTER_INIT to add a mods button to the title and pause screens.

However, a regression in Minecraft 1.19.4 causes these events to not be called when the screen resizes and is rebuilt. As a result, added buttons will disappear when the screen resizes.