ScreenEvent.BackgroundRendered is not fired from most GUIs in 1.20.6 #1077
Labels
1.20.6
Targeted at Minecraft 1.20.6
1.21
Targeted at Minecraft 1.21
bug
A bug or error
regression
Worked previously but doesn't anymore
triage
Needs triaging and confirmation
Minecraft Version: 1.20.6
NeoForge Version: 20.6.113-beta
Logs:
N/A
Steps to Reproduce:
N/A
Description of issue:
NeoForge fires the
ScreenEvent.BackgroundRendered
event at the end ofScreen.renderBackground
Unfortunately, most (all?) vanilla GUIs override the
renderBackground
method and do not callsuper.renderBackground
, so the event is not fired from most GUIs.There seems to be a similar problem with
ContainerScreenEvent.Render.Background
, which is only fired fromAbstractContainerScreen.render
and not always fired from child classes likeAbstractFurnaceScreen
,CraftingScreen
, etc.It seems like the events need to be fired from many new places in order to be consistent.
I do not have a great solution for this problem, so I opened an issue instead of a PR.
The text was updated successfully, but these errors were encountered: