code genration errors for guis

Started by gameingallen on Tue, 08/20/2019 - 01:18

Topic category: Bugs and solutions

Last seen on 23:19, 22. Aug 2019
Joined Sep 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
code genration errors for guis
Tue, 08/20/2019 - 01:18

hay im trying to create a gui in 1.9.0 of mcreator and gradle failed

it says that missing it can't find a symbol error: cannot find symbol protected void actionPerformed(GuiButton button)

src:

@Override
        protected void actionPerformed(GuiButton button) {
            MinecraftServer server = FMLCommonHandler.instance().getMinecraftServerInstance();
            World world = server.getWorld(entity.dimension);
            if (button.id == 0) {
                {
                    java.util.HashMap<String, Object> $_dependencies = new java.util.HashMap<>();
                    $_dependencies.put("entity", entity);
                    $_dependencies.put("guiinventory", guiinventory);
                    $_dependencies.put("world", world);
                    MCreatorMagicOrbBlockGuiMain.executeProcedure($_dependencies);
                }
            }
        }

 

and this is pasted from the console:

symbol: class GuiButton
location: class GuiWindow

 

and anthor error:

note: i can fix this error in the sorce code in my mod but not mcreator

@Override protected void drawGuiContainerForegroundLayer(int par1, int par2) {
                this.fontRenderer.drawString("----+"",
                    92, 43, -16777216);
        }

 

this cossed 3 errors a number: 9 a charactor: " and a coma

the error is the: "

thare was an extra one

 

Last seen on 18:58, 16. Sep 2019
Joined Mar 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
This is properly a build…
Thu, 09/12/2019 - 17:43

This is properly a build error and is properly fixed in 1.9.1.