You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LevelScreenProvider.WORLD_PRESET_TO_SCREEN_PROVIDER field is initialized using Map.of; a helper similar to other Map.of helpers would be useful for mods adding their own world presets that should have a screen like superflat and single biome worlds do for customization.
An event could also be used so that mods can control multiple world presets at once.
There are two parts required for level screen providers: declaring that a button should be shown and creating the screen that is opened by activating the button.
The text was updated successfully, but these errors were encountered:
haykam821
added a commit
to haykam821/fabric
that referenced
this issue
Sep 24, 2024
The
LevelScreenProvider.WORLD_PRESET_TO_SCREEN_PROVIDER
field is initialized usingMap.of
; a helper similar to otherMap.of
helpers would be useful for mods adding their own world presets that should have a screen like superflat and single biome worlds do for customization.An event could also be used so that mods can control multiple world presets at once.
There are two parts required for level screen providers: declaring that a button should be shown and creating the screen that is opened by activating the button.
The text was updated successfully, but these errors were encountered: