Topic category: Troubleshooting, bugs, and solutions
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
This is properly a build error and is properly fixed in 1.9.1.