diff --git a/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/BookEditScreenMixin.java b/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/BookEditScreenMixin.java index daab84c1..dd0c04a9 100644 --- a/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/BookEditScreenMixin.java +++ b/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/BookEditScreenMixin.java @@ -12,7 +12,7 @@ import org.spongepowered.asm.mixin.injection.ModifyArg; // Compared to the original patch, we use / 3 here since it seems to line up better. Else, in a windowed screen the Done button appears at the very bottom / slightly off-screen. -@BugFix(id = "MC-61489", category = FixCategory.BASIC, env = BugFix.Env.CLIENT, modConflicts = {"fixbookgui", "scribble"}, description = "Book GUI is not vertically centered") +@BugFix(id = "MC-61489", category = FixCategory.BASIC, env = BugFix.Env.CLIENT, enabled = false, modConflicts = {"fixbookgui", "stendhal", "scribble"}, description = "Book GUI is not vertically centered") @Mixin(BookEditScreen.class) public class BookEditScreenMixin extends Screen { @Shadow diff --git a/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/BookViewScreenMixin.java b/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/BookViewScreenMixin.java index 53d90875..59bdcdd0 100644 --- a/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/BookViewScreenMixin.java +++ b/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/BookViewScreenMixin.java @@ -15,7 +15,7 @@ import org.spongepowered.asm.mixin.injection.ModifyArg; // Compared to the original patch, we use / 3 here since it seems to line up better. Else, in a windowed screen the Done button appears at the very bottom / slightly off-screen. -@BugFix(id = "MC-61489", category = FixCategory.BASIC, env = BugFix.Env.CLIENT, modConflicts = {"fixbookgui", "scribble"}, description = "Book GUI is not vertically centered") +@BugFix(id = "MC-61489", category = FixCategory.BASIC, env = BugFix.Env.CLIENT, enabled = false, modConflicts = {"fixbookgui", "stendhal", "scribble"}, description = "Book GUI is not vertically centered") @Mixin(BookViewScreen.class) public class BookViewScreenMixin extends Screen { @Shadow diff --git a/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/LecternScreenMixin.java b/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/LecternScreenMixin.java index 3b15b500..e0af235b 100644 --- a/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/LecternScreenMixin.java +++ b/src/client/java/dev/isxander/debugify/client/mixins/basic/mc61489/LecternScreenMixin.java @@ -9,7 +9,7 @@ import org.spongepowered.asm.mixin.injection.ModifyArg; // Compared to the original patch, we use / 3 here since it seems to line up better. Else, in a windowed screen the Done button appears at the very bottom / slightly off-screen. -@BugFix(id = "MC-61489", category = FixCategory.BASIC, env = BugFix.Env.CLIENT, modConflicts = {"fixbookgui", "scribble"}, description = "Book GUI is not vertically centered") +@BugFix(id = "MC-61489", category = FixCategory.BASIC, env = BugFix.Env.CLIENT, enabled = false, modConflicts = {"fixbookgui", "stendhal", "scribble"}, description = "Book GUI is not vertically centered") @Mixin(LecternScreen.class) public class LecternScreenMixin extends BookViewScreen { @ModifyArg(method = "createMenuControls", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/components/Button$Builder;bounds(IIII)Lnet/minecraft/client/gui/components/Button$Builder;"), index = 1) diff --git a/src/main/resources/assets/debugify/lang/en_us.json b/src/main/resources/assets/debugify/lang/en_us.json index 145efe73..c3f1065c 100644 --- a/src/main/resources/assets/debugify/lang/en_us.json +++ b/src/main/resources/assets/debugify/lang/en_us.json @@ -33,6 +33,7 @@ "debugify.fix_explanation.mc-46503": "Clears shader effects on respawn.", "debugify.fix_explanation.mc-55347": "Clears titles on disconnect.", + "debugify.fix_explanation.mc-61489": "Disabled by default because some players or mods might prefer the original book GUI position.", "debugify.fix_explanation.mc-79545": "Clamps the experience level to the integer limit only when rendering.", "debugify.fix_explanation.mc-93384": "Adds the eye height to the particle spawn location.", "debugify.fix_explanation.mc-105068": "Make shield break sound a local sound.",