Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions PATCHED.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
| Basic | [MC-122627](https://bugs.mojang.com/browse/MC-122627) | Tab suggestion box has missing padding on right side |
| Basic | [MC-122477](https://bugs.mojang.com/browse/MC-122477) | Linux/GNU: Opening chat sometimes writes 't |
| Basic | [MC-127970](https://bugs.mojang.com/browse/MC-127970) | Using riptide on a trident with an item in your off-hand causes visual glitch with the item in your offhand |
| Basic | [MC-129556](https://bugs.mojang.com/browse/MC-129556) | GUI logic is included in "root.tick.textures" |
| Basic | [MC-143474](https://bugs.mojang.com/browse/MC-143474) | Respawning causes your hotbar to reset to the first space |
| Gameplay | [MC-159163](https://bugs.mojang.com/browse/MC-159163) | Quickly pressing the sneak key causes the sneak animation to play twice |
| Basic | [MC-165306](https://bugs.mojang.com/browse/MC-165306) | Beacon beams are transparent from the inside |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package dev.isxander.debugify.client.mixins.basic.mc129556;

import com.llamalad7.mixinextras.sugar.Local;
import dev.isxander.debugify.fixes.BugFix;
import dev.isxander.debugify.fixes.FixCategory;
import net.minecraft.client.Minecraft;
import net.minecraft.util.profiling.ProfilerFiller;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@BugFix(id = "MC-129556", category = FixCategory.BASIC, env = BugFix.Env.CLIENT, description = "GUI logic is included in \"root.tick.textures\"")
@Mixin(Minecraft.class)
public class MinecraftMixin {
@Inject(method = "tick", at = @At(value = "FIELD", target = "Lnet/minecraft/client/Minecraft;screen:Lnet/minecraft/client/gui/screens/Screen;", ordinal = 0))
private void switchProfilerToGui(CallbackInfo ci, @Local ProfilerFiller profilerFiller) {
profilerFiller.popPush("gui");
}
}
3 changes: 2 additions & 1 deletion src/client/resources/debugify.client.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"basic.mc122477.RenderSystemMixin",
"basic.mc122627.CommandSuggestionsMixin",
"basic.mc127970.ItemInHandRendererMixin",
"basic.mc129556.MinecraftMixin",
"basic.mc143474.ClientPacketListenerMixin",
"basic.mc165305.RenderPipelinesMixin",
"basic.mc165381.LocalPlayerMixin",
Expand All @@ -44,9 +45,9 @@
"basic.mc251068.WorldSelectionListMixin",
"basic.mc263865.KeyboardHandlerMixin",
"basic.mc267376.GameRendererMixin",
"basic.mc267469.AbstractSelectionListMixin",
"basic.mc268420.GuiMixin",
"basic.mc280220.DolphinCarryingItemLayerMixin",
"basic.mc267469.AbstractSelectionListMixin",
"basic.mc298225.GameRendererMixin",
"basic.mc298558.AtmosphericFogEnvironmentMixin",
"basic.mc35361.MinecraftMixin",
Expand Down