Jump to content

[SOLVED][1.7.10]GUI won't open


xXxKanemanxXx

Recommended Posts

hey Guys.

 

when i try to open by GUI i get this error.

http://pastebin.com/iEqU7YzX

 

this one occurs when the game gets closed.

http://pastebin.com/Jhd6vPSc

 

http://pastebin.com/uvSe80Ca : my Block Class.

http://pastebin.com/sKTY42PV : my Tile Entity.

http://pastebin.com/FJ6mxWR5: my GUI.

http://pastebin.com/H8zD2GkF : my Container.

http://pastebin.com/bDmb74rF : my GUI Handler.

 

 

hope you can help me guys...

Link to comment
Share on other sites

hey Guys.

 

when i try to open by GUI i get this error.

http://pastebin.com/iEqU7YzX

 

this one occurs when the game gets closed.

http://pastebin.com/Jhd6vPSc

 

http://pastebin.com/uvSe80Ca : my Block Class.

http://pastebin.com/sKTY42PV : my Tile Entity.

http://pastebin.com/FJ6mxWR5: my GUI.

http://pastebin.com/H8zD2GkF : my Container.

http://pastebin.com/bDmb74rF : my GUI Handler.

 

 

hope you can help me guys...

 

You need to return your Container on your Server and GUI on your Client.

Link to comment
Share on other sites

At first thanks for your reply.

 

Okay i think i've found my problem :|

 

It was right in the GuiHandler right ? xD

 

EDIT:

 

Now i've got a new Problem.

Thats the first error.

 

 

[14:01:39] [server thread/ERROR]: Encountered an unexpected exception

net.minecraft.util.ReportedException: Ticking memory connection

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?]

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?]

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[integratedServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]

Caused by: java.lang.ArrayIndexOutOfBoundsException: 9

at crystalrevolution.gameobjs.tileentities.TileEntitySmeltery.getStackInSlot(TileEntitySmeltery.java:42) ~[TileEntitySmeltery.class:?]

at net.minecraft.inventory.Slot.getStack(Slot.java:88) ~[slot.class:?]

at net.minecraft.inventory.Container.getInventory(Container.java:67) ~[Container.class:?]

at net.minecraft.inventory.Container.addCraftingToCrafters(Container.java:53) ~[Container.class:?]

at crystalrevolution.gameobjs.container.ContainerSmeltery.addCraftingToCrafters(ContainerSmeltery.java:44) ~[ContainerSmeltery.class:?]

at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:88) ~[FMLNetworkHandler.class:?]

at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2501) ~[EntityPlayer.class:?]

at crystalrevolution.gameobjs.blocks.BlockSmeltery.onBlockActivated(BlockSmeltery.java:109) ~[blockSmeltery.class:?]

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:409) ~[itemInWorldManager.class:?]

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:593) ~[NetHandlerPlayServer.class:?]

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) ~[C08PacketPlayerBlockPlacement.class:?]

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) ~[C08PacketPlayerBlockPlacement.class:?]

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) ~[NetworkManager.class:?]

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?]

... 5 more

 

 

here follows the second

 

 

[14:01:39] [server thread/ERROR] [FML]: A TileEntity type crystalrevolution.gameobjs.tileentities.TileEntitySmeltery has throw an exception trying to write state. It will not persist. Report this to the mod author

java.lang.RuntimeException: class crystalrevolution.gameobjs.tileentities.TileEntitySmeltery is missing a mapping! This is a bug!

at net.minecraft.tileentity.TileEntity.writeToNBT(TileEntity.java:96) ~[TileEntity.class:?]

at crystalrevolution.gameobjs.tileentities.TileEntitySmeltery.writeToNBT(TileEntitySmeltery.java:124) ~[TileEntitySmeltery.class:?]

at net.minecraft.world.chunk.storage.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:395) [AnvilChunkLoader.class:?]

at net.minecraft.world.chunk.storage.AnvilChunkLoader.saveChunk(AnvilChunkLoader.java:204) [AnvilChunkLoader.class:?]

at net.minecraft.world.gen.ChunkProviderServer.safeSaveChunk(ChunkProviderServer.java:287) [ChunkProviderServer.class:?]

at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:340) [ChunkProviderServer.class:?]

at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:863) [WorldServer.class:?]

at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:370) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:405) [MinecraftServer.class:?]

at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:266) [integratedServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:538) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]

 

 

and the last one i think

 

 

[14:01:40] [Client thread/FATAL]: Reported exception thrown!

net.minecraft.util.ReportedException: Rendering screen

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1168) ~[EntityRenderer.class:?]

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1057) ~[Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_67]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]

at GradleStart.main(GradleStart.java:45) [start/:?]

Caused by: java.lang.ArrayIndexOutOfBoundsException: 9

at crystalrevolution.gameobjs.tileentities.TileEntitySmeltery.getStackInSlot(TileEntitySmeltery.java:42) ~[TileEntitySmeltery.class:?]

at net.minecraft.inventory.Slot.getStack(Slot.java:88) ~[slot.class:?]

at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:219) ~[GuiContainer.class:?]

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:114) ~[GuiContainer.class:?]

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) ~[EntityRenderer.class:?]

... 11 more

 

 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.