Fix the None cloak and reorder the sidebar and title dock #12
@@ -26,8 +26,8 @@ import org.saturnclient.ui.resources.Textures;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Saturn's title screen: the logo over the game's menus in the middle, the
|
* Saturn's title screen: the logo over the game's menus in the middle, the
|
||||||
* player and a quit button in the top corners, and along the bottom a dock of
|
* player and a quit button in the top corners, and along the bottom a dock
|
||||||
* Saturn's screens, the shift menu and Minecraft's options, and the version.
|
* (Saturn's settings, its mods and cosmetics, then Minecraft's options) and the version.
|
||||||
*/
|
*/
|
||||||
public class TitleMenu extends SaturnScreen {
|
public class TitleMenu extends SaturnScreen {
|
||||||
// The logo and wordmark as the shift menu has them: the wordmark over the logo's foot
|
// The logo and wordmark as the shift menu has them: the wordmark over the logo's foot
|
||||||
@@ -106,12 +106,12 @@ public class TitleMenu extends SaturnScreen {
|
|||||||
.position(width - TOP_EDGE - QUIT_SIZE, TOP_EDGE)
|
.position(width - TOP_EDGE - QUIT_SIZE, TOP_EDGE)
|
||||||
.animation(step(new SlideFade(AnimationConfig.mainMenu, 8), STEP_QUIT)));
|
.animation(step(new SlideFade(AnimationConfig.mainMenu, 8), STEP_QUIT)));
|
||||||
|
|
||||||
// Along the bottom: the dock of Saturn's screens, the shift menu and Minecraft's options, and the version
|
// Along the bottom: the dock, Saturn first (its settings) and Minecraft's options last, and the version
|
||||||
Dock dock = new Dock(List.of(
|
Dock dock = new Dock(List.of(
|
||||||
|
new Dock.Item(Textures.LOGO, () -> Providers.saturn.getClient().setScreen(new ClientSettings())),
|
||||||
new Dock.Item(Textures.ICON_MODS, () -> Providers.saturn.getClient().setScreen(new ModMenu())),
|
new Dock.Item(Textures.ICON_MODS, () -> Providers.saturn.getClient().setScreen(new ModMenu())),
|
||||||
new Dock.Item(Textures.ICON_COSMETICS,
|
new Dock.Item(Textures.ICON_COSMETICS,
|
||||||
() -> Providers.saturn.getClient().setScreen(new CosmeticsMenu())),
|
() -> Providers.saturn.getClient().setScreen(new CosmeticsMenu())),
|
||||||
new Dock.Item(Textures.LOGO, () -> Providers.saturn.getClient().setScreen(new ShiftMenu())),
|
|
||||||
new Dock.Item(Textures.ICON_SETTINGS,
|
new Dock.Item(Textures.ICON_SETTINGS,
|
||||||
() -> Providers.saturn.getClient().setScreen(MinecraftScreen.Options))));
|
() -> Providers.saturn.getClient().setScreen(MinecraftScreen.Options))));
|
||||||
draw(dock.position((width - dock.width) / 2, height - EDGE - Dock.HEIGHT)
|
draw(dock.position((width - dock.width) / 2, height - EDGE - Dock.HEIGHT)
|
||||||
|
|||||||
Reference in New Issue
Block a user