Fixed SignEdit Mixin

This commit is contained in:
Frank 2022-05-26 23:54:45 +02:00
parent 3bc2018333
commit e08d85b605

View file

@ -40,16 +40,16 @@ public abstract class SignEditScreenMixin extends Screen {
super(component); super(component);
} }
@Inject(method = "render(Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V", at = @At( @Inject(method = "render(Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V", locals = LocalCapture.CAPTURE_FAILSOFT, at = @At(
value = "INVOKE", value = "INVOKE",
target = "Lcom/mojang/blaze3d/vertex/PoseStack;pushPose()V", target = "Lcom/mojang/blaze3d/vertex/PoseStack;pushPose()V",
shift = Shift.BEFORE shift = Shift.BEFORE
), locals = LocalCapture.CAPTURE_FAILSOFT) ))
private void bclib_checkOffset(PoseStack poseStack, private void bclib_checkOffset(PoseStack poseStack,
int i, int i,
int j, int j,
float f, float f,
CallbackInfo info, CallbackInfo ci,
float g, float g,
BlockState blockState, BlockState blockState,
boolean bl, boolean bl,