mirror of
https://github.com/PuzzleMC/Puzzle.git
synced 2025-12-18 04:45:09 +01:00
Puzzle 0.4.0 - 1.17.1, more mods supported, Text and Slider fields
This commit is contained in:
@@ -23,7 +23,7 @@ public class MixinOptionsScreen extends Screen {
|
||||
@Inject(at = @At("TAIL"),method = "init")
|
||||
public void init(CallbackInfo ci) {
|
||||
PuzzleOptionsScreen puzzleScreen = new PuzzleOptionsScreen(this);
|
||||
this.addDrawableChild(new ButtonWidget(this.width / 2 - 155, this.height / 6 + 144 - 6, 150, 20, new TranslatableText("puzzle.screen.title").append("..."), (button) -> Objects.requireNonNull(this.client).openScreen(puzzleScreen)));
|
||||
this.addDrawableChild(new ButtonWidget(this.width / 2 - 155, this.height / 6 + 144 - 6, 150, 20, new TranslatableText("puzzle.screen.title").append("..."), (button) -> Objects.requireNonNull(this.client).setScreen(puzzleScreen)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user