-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
70 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/main/java/cc/woverflow/hytils/mixin/GuiIngameAccessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Hytils Reborn - Hypixel focused Quality of Life mod. | ||
* Copyright (C) 2022 W-OVERFLOW | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package cc.woverflow.hytils.mixin; | ||
|
||
import net.minecraft.client.gui.GuiIngame; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
|
||
@Mixin(GuiIngame.class) | ||
public interface GuiIngameAccessor { | ||
|
||
@Accessor("displayedTitle") | ||
void setDisplayedTitle(String title); | ||
|
||
@Accessor("displayedSubTitle") | ||
void setDisplayedSubTitle(String subtitle); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
public net.minecraft.client.renderer.BlockModelRenderer$AmbientOcclusionFace | ||
|
||
public net.minecraft.client.gui.GuiIngame field_175201_x | ||
public net.minecraft.client.gui.GuiIngame field_175200_y | ||
public net.minecraft.client.renderer.BlockModelRenderer$AmbientOcclusionFace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
{ | ||
"compatibilityLevel": "JAVA_8", | ||
"minVersion": "0.7", | ||
"package": "cc.woverflow.hytils.mixin", | ||
"plugin": "cc.woverflow.hytils.forge.HytilsMixinPlugin", | ||
"refmap": "mixins.hytils.refmap.json", | ||
"verbose": true, | ||
"client": [ | ||
"beds.ModelLoaderMixin", | ||
"CommandLimboMixin_FixCommand", | ||
"EntityLivingBaseMixin_MiningFatigue", | ||
"EntityPlayerSPMixin_MessageHandling", | ||
"GuiChatMixin_PlayAutocomplete", | ||
"GuiIngameForgeMixin_HideActionbar", | ||
"GuiIngameForgeMixin_TitleEvent", | ||
"GuiNewChatAccessor", | ||
"GuiNewChatMixin_LocrawHider", | ||
"GuiPlayerTabOverlayMixin_HideNPCs", | ||
"GuiPlayerTabOverlayMixin_HidePing", | ||
"LayerArmorBaseMixin_HideIngameArmour", | ||
"MinecraftMixin_LeftClickInteract", | ||
"MinecraftMixin_LimboLimiter", | ||
"NetHandlerPlayClientMixin_GameChecker", | ||
"RenderEntityItemMixin_UHCOverlay", | ||
"cosmetics.RenderItemMixin", | ||
"cosmetics.WorldMixin", | ||
"lineseparator.GuiNewChatMixin", | ||
"lineseparator.GuiUtilRenderComponentsMixin", | ||
"overlay.BlockModelRendererMixin_NoOptiFine", | ||
"overlay.BlockModelRendererMixin_OptiFine", | ||
"overlay.VertexLighterFlatMixin" | ||
] | ||
"compatibilityLevel": "JAVA_8", | ||
"minVersion": "0.7", | ||
"package": "cc.woverflow.hytils.mixin", | ||
"plugin": "cc.woverflow.hytils.forge.HytilsMixinPlugin", | ||
"refmap": "mixins.hytils.refmap.json", | ||
"verbose": true, | ||
"client": [ | ||
"CommandLimboMixin_FixCommand", | ||
"EntityLivingBaseMixin_MiningFatigue", | ||
"EntityPlayerSPMixin_MessageHandling", | ||
"GuiChatMixin_PlayAutocomplete", | ||
"GuiIngameAccessor", | ||
"GuiIngameForgeMixin_HideActionbar", | ||
"GuiIngameForgeMixin_TitleEvent", | ||
"GuiNewChatAccessor", | ||
"GuiNewChatMixin_LocrawHider", | ||
"GuiPlayerTabOverlayMixin_HideNPCs", | ||
"GuiPlayerTabOverlayMixin_HidePing", | ||
"LayerArmorBaseMixin_HideIngameArmour", | ||
"MinecraftMixin_LeftClickInteract", | ||
"MinecraftMixin_LimboLimiter", | ||
"NetHandlerPlayClientMixin_GameChecker", | ||
"RenderEntityItemMixin_UHCOverlay", | ||
"beds.ModelLoaderMixin", | ||
"cosmetics.RenderItemMixin", | ||
"cosmetics.WorldMixin", | ||
"lineseparator.GuiNewChatMixin", | ||
"lineseparator.GuiUtilRenderComponentsMixin", | ||
"overlay.BlockModelRendererMixin_NoOptiFine", | ||
"overlay.BlockModelRendererMixin_OptiFine", | ||
"overlay.VertexLighterFlatMixin" | ||
] | ||
} |