File tree Expand file tree Collapse file tree
src/main/java/traben/entity_model_features/mixin/mixins/accessor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212public 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//$$ }
You can’t perform that action at this time.
0 commit comments