You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run setupDecompWorkspace with the most recent version of this, it runs fine until it hits recompileMC. Then it errors with Compile failed; see the compiler error output for details.. Running it again with the --info flag yields the following:
Error:
[ant:javac] C:\Users\Yannick\Modding\BrainStoneMod\build\tmp\recompileMc\sources\net\minecraftforge\client\model\SimpleModelFontRenderer.java:64: error: renderDefaultChar(int,boolean) in SimpleModelFontRenderer cannot override renderDefaultChar(int,boolean) in FontRenderer
[ant:javac] protected float renderDefaultChar(int pos, boolean italic)
[ant:javac] ^
[ant:javac] attempting to assign weaker access privileges; was public
[ant:javac] C:\Users\Yannick\Modding\BrainStoneMod\build\tmp\recompileMc\sources\net\minecraftforge\client\model\SimpleModelFontRenderer.java:159: error: renderUnicodeChar(char,boolean) in SimpleModelFontRenderer cannot override renderUnicodeChar(char,boolean) in FontRenderer
[ant:javac] protected abstract float renderUnicodeChar(char c, boolean italic);
[ant:javac] ^
[ant:javac] attempting to assign weaker access privileges; was public
[ant:javac] C:\Users\Yannick\Modding\BrainStoneMod\build\tmp\recompileMc\sources\net\minecraftforge\client\model\FancyMissingModel.java:60: error: renderUnicodeChar(char,boolean) in <anonymous net.minecraftforge.client.model.FancyMissingModel$1$1> cannot override renderUnicodeChar(char,boolean) in FontRenderer
[ant:javac] protected float renderUnicodeChar(char c, boolean italic)
[ant:javac] ^
[ant:javac] attempting to assign weaker access privileges; was public
I'm guessing that incompatibility arises because in recent versions of Forge they changed the corresponding methods in their code. I am using Forge 1.12.2 - 14.23.3.2655 btw
So changing the line public net.minecraft.client.gui.FontRenderer *() to protected net.minecraft.client.gui.FontRenderer *() seems to still compile and would fix it.
BrainStone
added a commit
to BrainStone/BrainStoneMod
that referenced
this issue
Apr 25, 2018
When I try to run
setupDecompWorkspace
with the most recent version of this, it runs fine until it hitsrecompileMC
. Then it errors withCompile failed; see the compiler error output for details.
. Running it again with the--info
flag yields the following:Error:
I'm guessing that incompatibility arises because in recent versions of Forge they changed the corresponding methods in their code. I am using Forge 1.12.2 - 14.23.3.2655 btw
Full log: https://gist.github.com/BrainStone/21633afc5add2e2cab7a8b45b6dd62d0
Repo: https://github.com/BrainStone/brainstone
The text was updated successfully, but these errors were encountered: