Started by
TurboPow8r947
on
Topic category: Help with MCreator software
i am working on a custom crafting table, but when i attempt to open the gui binded to my designed block, Minecraft freezes but the music still plays as normal. I checked for any errors on my mod elements and no errors detected. i don't know what's going on but i'm hoping to fix it. here's a error log for more detail:
16:09.47 [Server thread/FATAL] [minecraft/MinecraftServer]: Error executing task java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 3 at java.util.concurrent.FutureTask.report(FutureTask.java:122
) ~[?:1.8.0_212] at java.util.concurrent.FutureTask.get(FutureTask.java:192
) ~[?:1.8.0_212] at net.minecraft.util.Util.runTask(Util.java:54
) [Util.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:798
) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743
) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192
) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592
) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748
) [?:1.8.0_212] Caused by: java.lang.ArrayIndexOutOfBoundsException: 3 at java.util.Arrays$ArrayList.get(Arrays.java:3841
) ~[?:1.8.0_212] at net.minecraft.util.NonNullList.get(NonNullList.java:51
) ~[NonNullList.class:?] at net.mcreator.black_armory_mod.MCreatorBlackarmorycraftingtable$TileEntityCustom.getStackInSlot(MCreatorBlackarmorycraftingtable.java:213
) ~[MCreatorBlackarmorycraftingtable$TileEntityCustom.class:?] at net.minecraft.inventory.Slot.getStack(Slot.java:81
) ~[Slot.class:?] at net.minecraft.inventory.Container.getInventory(Container.java:75
) ~[Container.class:?] at net.minecraft.inventory.Container.addListener(Container.java:61
) ~[Container.class:?] at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:101
) ~[FMLNetworkHandler.class:?] at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2809
) ~[EntityPlayer.class:?] at net.mcreator.black_armory_mod.MCreatorOpenBlackarmorycraftingtablegui.executeProcedure(MCreatorOpenBlackarmorycraftingtablegui.java:42
) ~[MCreatorOpenBlackarmorycraftingtablegui.class:?] at net.mcreator.black_armory_mod.MCreatorBlackarmorycraftingtable$BlockCustom.onBlockActivated(MCreatorBlackarmorycraftingtable.java:183
) ~[MCreatorBlackarmorycraftingtable$BlockCustom.class:?] at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:475
) ~[PlayerInteractionManager.class:?] at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:769
) ~[NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:68
) ~[CPacketPlayerTryUseItemOnBlock.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:13
) ~[CPacketPlayerTryUseItemOnBlock.class:?] at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:21
) ~[PacketThreadUtil$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511
) ~[?:1.8.0_212] at java.util.concurrent.FutureTask.run(FutureTask.java:266
) ~[?:1.8.0_212] at net.minecraft.util.Util.runTask(Util.java:53
) ~[Util.class:?] ... 5 more 16:09.47 [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking player at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:848
) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743
) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192
) ~[IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592
) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748
) [?:1.8.0_212] Caused by: java.lang.ArrayIndexOutOfBoundsException: 3 at java.util.Arrays$ArrayList.get(Arrays.java:3841
) ~[?:1.8.0_212] at net.minecraft.util.NonNullList.get(NonNullList.java:51
) ~[NonNullList.class:?] at net.mcreator.black_armory_mod.MCreatorBlackarmorycraftingtable$TileEntityCustom.getStackInSlot(MCreatorBlackarmorycraftingtable.java:213
) ~[MCreatorBlackarmorycraftingtable$TileEntityCustom.class:?] at net.minecraft.inventory.Slot.getStack(Slot.java:81
) ~[Slot.class:?] at net.minecraft.inventory.Container.detectAndSendChanges(Container.java:97
) ~[Container.class:?] at net.minecraft.entity.player.EntityPlayerMP.onUpdate(EntityPlayerMP.java:365
) ~[EntityPlayerMP.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2171
) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871
) ~[WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2130
) ~[World.class:?] at net.minecraft.world.WorldServer.tickPlayers(WorldServer.java:672
) ~[WorldServer.class:?] at net.minecraft.world.World.updateEntities(World.java:1906
) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643
) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842
) ~[MinecraftServer.class:?] ... 4 more
Edited by TurboPow8r947 on Sun, 09/01/2019 - 21:51
The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.
https://mcreator.net/wiki/minecraft-crashes-when-i-open-my-gui