help me please GUI Crash + Crash report

Started by zefut on

Topic category: Help with modding (Java Edition)

Last seen on 20:04, 8. Dec 2022
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help me please GUI Crash + Crash report

Thank you ...

 

---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 2/19/19 9:10 PM
Description: Ticking player

java.lang.ArrayIndexOutOfBoundsException: 3

      at java.util.Arrays$ArrayList.get(Arrays.java:3841)

      at net.minecraft.util.NonNullList.get(NonNullList.java:51)

      at mod.mcreator.mcreator_gemTransmutation$TileEntityCustom.getStackInSlot(mcreator_gemTransmutation.java:152)

      at net.minecraft.inventory.Slot.getStack(Slot.java:81)

      at net.minecraft.inventory.Container.detectAndSendChanges(Container.java:97)

      at net.minecraft.entity.player.EntityPlayerMP.onUpdate(EntityPlayerMP.java:365)

      at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2171)

      at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871)

      at net.minecraft.world.World.updateEntity(World.java:2130)

      at net.minecraft.world.WorldServer.tickPlayers(WorldServer.java:672)

      at net.minecraft.world.World.updateEntities(World.java:1906)

      at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643)

      at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842)

      at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743)

      at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192)

      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592)

      at java.lang.Thread.run(Thread.java:748)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
      at java.util.Arrays$ArrayList.get(Arrays.java:3841)
      at net.minecraft.util.NonNullList.get(NonNullList.java:51)
      at mod.mcreator.mcreator_gemTransmutation$TileEntityCustom.getStackInSlot(mcreator_gemTransmutation.java:152)
      at net.minecraft.inventory.Slot.getStack(Slot.java:81)
      at net.minecraft.inventory.Container.detectAndSendChanges(Container.java:97)
      at net.minecraft.entity.player.EntityPlayerMP.onUpdate(EntityPlayerMP.java:365)
      at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2171)
      at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871)
      at net.minecraft.world.World.updateEntity(World.java:2130)

-- Player being ticked --
Details:
      Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)
      Entity ID: 223
      Entity Name: Player719
      Entity's Exact location: -250.11, 68.00, -3.19
      Entity's Block location: World: (-251,68,-4), Chunk: (at 5,4,12 in -16,-1; contains blocks -256,0,-16 to -241,255,-1), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
      Entity's Momentum: 0.00, -0.08, 0.00
      Entity's Passengers: []
      Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
      at net.minecraft.world.WorldServer.tickPlayers(WorldServer.java:672)
      at net.minecraft.world.World.updateEntities(World.java:1906)
      at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643)

-- Affected level --
Details:
      Level name: test #3
      All players: 1 total; [EntityPlayerMP['Player719'/223, l='test #3', x=-250.11, y=68.00, z=-3.19]]
      Chunk stats: ServerChunkCache: 753 Drop: 0
      Level seed: 6421212248146003443
      Level generator: ID 00 - default, ver 1. Features enabled: true
      Level generator options:
      Level spawn location: World: (39,64,17), Chunk: (at 7,4,1 in 2,1; contains blocks 32,0,16 to 47,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
      Level time: 17142 game time, 17142 day time
      Level dimension: 0
      Level storage version: 0x04ABD - Anvil
      Level weather: Rain time: 48603 (now: false), thunder time: 9767 (now: true)
      Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
      at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842)
      at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743)
      at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192)
      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592)
      at java.lang.Thread.run(Thread.java:748)

-- System Details --
Details:
      Minecraft Version: 1.12.2
      Operating System: Windows 10 (amd64) version 10.0
      Java Version: 1.8.0_192, Oracle Corporation
      Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
      Memory: 670361720 bytes (639 MB) / 1103101952 bytes (1052 MB) up to 3810525184 bytes (3634 MB)
      JVM Flags: 0 total;
      IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
      FML: MCP 9.42 Powered by Forge 14.23.5.2768 6 mods loaded, 6 mods active
      States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

      | State     | ID             | Version      | Source                           | Signature |
      |:--------- |:-------------- |:------------ |:-------------------------------- |:--------- |
      | UCHIJAAAA | minecraft      | 1.12.2       | minecraft.jar                    | None      |
      | UCHIJAAAA | mcp            | 9.42         | minecraft.jar                    | None      |
      | UCHIJAAAA | FML            | 8.0.99.99    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
      | UCHIJAAAA | forge          | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
      | UCHIJAAAA | minecraft_link | 1.0          | minecraft_link.jar               | None      |
      | UCHIJAAAA | zefutmod       | 1.0.0        | modid-1.0.jar                    | None      |

      Loaded coremods (and transformers):
      GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
      Profiler Position: N/A (disabled)
      Player Count: 1 / 8; [EntityPlayerMP['Player719'/223, l='test #3', x=-250.11, y=68.00, z=-3.19]]
      Type: Integrated Server (map_client.txt)
      Is Modded: Definitely; Client brand changed to 'fml,forge'

This means that you are…
Wed, 02/20/2019 - 18:30

This means that you are using more slots that the block that GUI is bound to have. If your max slot ID in GUI is the number of slots your block needs + 1 as slot ID starts with 0. So if your max. slot ID is 5, you need 6 slots in the block.

Last seen on 20:04, 8. Dec 2022
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  ha yes I have 1 more thank…
Wed, 02/20/2019 - 18:34

 

ha yes I have 1 more thank you!