Posted February 28, 20187 yr Hi, I'm getting failures when I run a build of my mod saying that "GuiPedestal is not abstract and does not override abstract method drawGuiContainerBackgroundLayer(float, int, int) in GuiContainer". However, GuiPedestal is extending RebuildGuiContainer which extends GuiContainer and RebuildGuiContainer already has an override for that function. IntelliJ can see this and does not display any error in either class. public GuiPedestal extends RebuildGuiContainer { // No drawGuiContainerBackgroundLayer function } public RebuildGuiContainer extends GuiContainer { @Override protected void drawGuiContainerBackgroundLayer(float partialTick, int x, int y) { // Does basic background drawing for all mod Guis here. } } I can't work out how Gradle is happily seeing that GuiPedestal is a distant child of GuiContainer but not seeing that RebuildGuiContainer has already implemented the abstract method.
March 1, 20187 yr Author Aha, thank you. Your comment actually made me realise I was being dumb and had not put the deobfuscated jar in the lib folder. Switched over and it works fine now. Thanks!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.