This repository was archived by the owner on Nov 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
1.16.5/src/main/java/io/github/axolotlclient/mixin
1.16_combat-6/src/main/java/io/github/axolotlclient/mixin Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3535import net .minecraft .client .MinecraftClient ;
3636import net .minecraft .client .font .TextRenderer ;
3737import net .minecraft .client .gui .hud .InGameHud ;
38- import net .minecraft .client .util .Window ;
3938import net .minecraft .client .util .math .MatrixStack ;
39+ import net .minecraft .entity .Entity ;
4040import net .minecraft .scoreboard .ScoreboardObjective ;
4141import net .minecraft .text .StringVisitable ;
4242import net .minecraft .text .Text ;
@@ -222,7 +222,7 @@ public abstract class InGameHudMixin {
222222 }
223223
224224 @ Inject (method = "renderVignetteOverlay" , at = @ At ("HEAD" ), cancellable = true )
225- private void axolotlclient$removeVignette (float f , Window window , CallbackInfo ci ){
225+ private void axolotlclient$removeVignette (Entity entity , CallbackInfo ci ){
226226 if (AxolotlClient .CONFIG .removeVignette .get ()){
227227 ci .cancel ();
228228 }
Original file line number Diff line number Diff line change 3535import net .minecraft .client .MinecraftClient ;
3636import net .minecraft .client .font .TextRenderer ;
3737import net .minecraft .client .gui .hud .InGameHud ;
38- import net .minecraft .client .util .Window ;
3938import net .minecraft .client .util .math .MatrixStack ;
39+ import net .minecraft .entity .Entity ;
4040import net .minecraft .scoreboard .ScoreboardObjective ;
4141import net .minecraft .text .StringVisitable ;
4242import net .minecraft .text .Text ;
@@ -222,7 +222,7 @@ public abstract class InGameHudMixin {
222222 }
223223
224224 @ Inject (method = "renderVignetteOverlay" , at = @ At ("HEAD" ), cancellable = true )
225- private void axolotlclient$removeVignette (float f , Window window , CallbackInfo ci ){
225+ private void axolotlclient$removeVignette (Entity entity , CallbackInfo ci ){
226226 if (AxolotlClient .CONFIG .removeVignette .get ()){
227227 ci .cancel ();
228228 }
You can’t perform that action at this time.
0 commit comments