diff --git a/neoforge/src/main/resources/META-INF/neoforge.mods.toml b/neoforge/src/main/resources/META-INF/neoforge.mods.toml index fb0e2b0..6943474 100644 --- a/neoforge/src/main/resources/META-INF/neoforge.mods.toml +++ b/neoforge/src/main/resources/META-INF/neoforge.mods.toml @@ -15,6 +15,9 @@ logoFile = "icon.png" [[mixins]] config = "craftgr-common.mixins.json" +[[accessTransformers]] +file = "accesstransformer.cfg" + [[dependencies.craftgr]] modId = "minecraft" type = "required" diff --git a/neoforge/src/main/resources/accesstransformer.cfg b/neoforge/src/main/resources/accesstransformer.cfg new file mode 100644 index 0000000..fa4decc --- /dev/null +++ b/neoforge/src/main/resources/accesstransformer.cfg @@ -0,0 +1,9 @@ +# Classes +public-f net.minecraft.client.gui.navigation.ScreenRectangle +public net.minecraft.client.gui.GuiGraphics$ScissorStack + +# Fields +public net.minecraft.client.gui.GuiGraphics scissorStack + +# Methods +public net.minecraft.client.gui.GuiGraphics applyScissor(Lnet/minecraft/client/gui/navigation/ScreenRectangle;)V \ No newline at end of file