Skip to content

Commit

Permalink
fixed remaps
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessBullets committed Dec 26, 2023
1 parent 2b5c3df commit ad3f5bf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.spongepowered.asm.mixin.injection.Redirect;
import useless.legacyui.Gui.GuiScreens.UtilGui;

@Mixin(ArmorBarComponent.class)
@Mixin(value = ArmorBarComponent.class, remap = false)
public class ArmorBarComponentMixin {
@Redirect(method = "render(Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/gui/GuiIngame;IIF)V", at = @At(value = "INVOKE", target = "Lorg/lwjgl/opengl/GL11;glColor4f(FFFF)V"))
private void hotbarFadeout(float red, float green, float blue, float alpha){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.spongepowered.asm.mixin.injection.Redirect;
import useless.legacyui.Gui.GuiScreens.UtilGui;

@Mixin(FireBarComponent.class)
@Mixin(value = FireBarComponent.class, remap = false)
public class FireBarComponentMixin {
@Redirect(method = "render(Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/gui/GuiIngame;IIF)V", at = @At(value = "INVOKE", target = "Lorg/lwjgl/opengl/GL11;glColor4f(FFFF)V"))
private void hotbarFadeout(float red, float green, float blue, float alpha){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.spongepowered.asm.mixin.injection.Redirect;
import useless.legacyui.Gui.GuiScreens.UtilGui;

@Mixin(OxygenBarComponent.class)
@Mixin(value = OxygenBarComponent.class, remap = false)
public class OxygenBarComponentMixin {
@Redirect(method = "render(Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/gui/GuiIngame;IIF)V", at = @At(value = "INVOKE", target = "Lorg/lwjgl/opengl/GL11;glColor4f(FFFF)V"))
private void hotbarFadeout(float red, float green, float blue, float alpha){
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@

"depends": {
"fabricloader": ">=0.13.3",
"halplibe": ">=2.4.0",
"prismaticlibe": ">=2.1.1"
"halplibe": ">=3.0.1",
"prismaticlibe": ">=3.0.0"
},
"suggests": {
"modmenu": ">=2.0.0"
Expand Down

0 comments on commit ad3f5bf

Please # to comment.