Skip to content

Commit ec1fd53

Browse files
committed
backport mixin
1 parent 63a9dcf commit ec1fd53

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/traben/entity_model_features/mixin/mixins/accessor/Mixin_GuiEntityTester.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
public class Mixin_GuiEntityTester {
1313
@Inject(method = "render",
1414
at = @At("HEAD"))
15-
private static void etf$beforeRenderToTexture(final CallbackInfo ci) {
15+
private void etf$beforeRenderToTexture(final CallbackInfo ci) {
1616
EMFAnimationEntityContext.setIsInGui = true;
1717
}
1818

1919
@Inject(method = "render",
2020
at = @At("TAIL"))
21-
private static void etf$afterRenderToTexture(final CallbackInfo ci) {
21+
private void etf$afterRenderToTexture(final CallbackInfo ci) {
2222
EMFAnimationEntityContext.setIsInGui = false;
2323
}
2424
}
@@ -31,14 +31,14 @@ public class Mixin_GuiEntityTester {
3131
//$$ public class Mixin_GuiEntityTester {
3232
//$$ @ModifyArg(method = "render",
3333
//$$ at = @At(value = "INVOKE", target = "Lnet/minecraft/util/profiling/ProfilerFiller;popPush(Ljava/lang/String;)V"))
34-
//$$ private static String etf$beforeRenderToTexture(String string) {
34+
//$$ private String etf$beforeRenderToTexture(String string) {
3535
//$$ if (string.equals("gui")) EMFAnimationEntityContext.setIsInGui = true;
3636
//$$ return string;
3737
//$$ }
3838
//$$
3939
//$$ @Inject(method = "render",
4040
//$$ at = @At("TAIL"))
41-
//$$ private static void etf$afterRenderToTexture(final CallbackInfo ci) {
41+
//$$ private void etf$afterRenderToTexture(final CallbackInfo ci) {
4242
//$$ EMFAnimationEntityContext.setIsInGui = false;
4343
//$$ }
4444
//$$ }

0 commit comments

Comments
 (0)