Jump to content

Recommended Posts

Posted

I got the error in the title but I don't know why?

 

 

 

[10:08:19] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[10:08:19] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[10:08:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[10:08:19] [main/INFO] [FML]: Forge Mod Loader version 7.10.1.1160 for Minecraft 1.7.10 loading

[10:08:19] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_05, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre8

[10:08:19] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[10:08:19] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[10:08:19] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[10:08:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[10:08:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[10:08:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[10:08:19] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[10:08:19] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/test/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1160/forgeSrc-1.7.10-10.13.0.1160.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

[10:08:19] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!

[10:08:19] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/test/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1160/forgeSrc-1.7.10-10.13.0.1160.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it

[10:08:19] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[10:08:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[10:08:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[10:08:20] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[10:08:20] [main/INFO]: Setting user: ForgeDevName

[10:08:21] [Client thread/INFO]: LWJGL Version: 2.9.1

[10:08:22] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[10:08:22] [Client thread/INFO] [FML]: MinecraftForge v10.13.0.1160 Initialized

[10:08:22] [Client thread/INFO] [FML]: Replaced 182 ore recipies

[10:08:22] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[10:08:22] [Client thread/INFO] [FML]: Searching C:\Users\test\Desktop\New folder\eclipse\mods for mods

[10:08:23] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[10:08:24] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[10:08:25] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Blocklings

[10:08:25] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[10:08:25] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations

[10:08:25] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[10:08:25] [Client thread/INFO] [FML]: Applying holder lookups

[10:08:25] [Client thread/INFO] [FML]: Holder lookups applied

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

OpenAL initialized.

[10:08:25] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

 

[10:08:26] [sound Library Loader/INFO]: Sound engine started

[10:08:26] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[10:08:26] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[10:08:26] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Blocklings

[10:08:26] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[10:08:26] [Client thread/INFO]: Created: 256x256 textures/items-atlas

 

SoundSystem shutting down...

    Author: Paul Lamb, www.paulscode.com

 

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

OpenAL initialized.

 

[10:08:27] [sound Library Loader/INFO]: Sound engine started

[10:08:28] [server thread/INFO]: Starting integrated minecraft server version 1.7.10

[10:08:28] [server thread/INFO]: Generating keypair

[10:08:28] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[10:08:28] [server thread/INFO] [FML]: Applying holder lookups

[10:08:28] [server thread/INFO] [FML]: Holder lookups applied

[10:08:28] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@56e2cdbc)

[10:08:28] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@56e2cdbc)

[10:08:28] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@56e2cdbc)

[10:08:28] [server thread/INFO]: Preparing start region for level 0

[10:08:29] [server thread/INFO]: Changing view distance to 12, from 10

[10:08:29] [Netty Client IO #0/INFO] [FML]: Server protocol version 1

[10:08:29] [Netty IO #1/INFO] [FML]: Client protocol version 1

[10:08:29] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]

[10:08:29] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT

[10:08:29] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER

[10:08:29] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established

[10:08:29] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[10:08:29] [server thread/INFO]: ForgeDevName[local:E:8e8ddbcb] logged in with entity id 482 at (78.70378934690369, 70.0, 244.67811435880242)

[10:08:29] [server thread/INFO]: ForgeDevName joined the game

[10:08:31] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[10:08:31] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[10:08:32] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[10:08:32] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:step.grass

[10:08:33] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:dig.grass

[10:08:35] [server thread/INFO]: Stopping server

[10:08:35] [server thread/INFO]: Saving players

[10:08:35] [server thread/INFO]: Saving worlds

[10:08:35] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[10:08:35] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[10:08:35] [server thread/INFO]: Saving chunks for level 'New World'/The End

[10:08:36] [server thread/INFO] [FML]: Unloading dimension 0

[10:08:36] [server thread/INFO] [FML]: Unloading dimension -1

[10:08:36] [server thread/INFO] [FML]: Unloading dimension 1

[10:08:36] [server thread/INFO] [FML]: Applying holder lookups

[10:08:36] [server thread/INFO] [FML]: Holder lookups applied

[10:08:36] [Client thread/FATAL]: Unreported exception thrown!

java.lang.IndexOutOfBoundsException: Index: 45, Size: 45

at java.util.ArrayList.rangeCheck(Unknown Source) ~[?:1.8.0_05]

at java.util.ArrayList.get(Unknown Source) ~[?:1.8.0_05]

at net.minecraft.inventory.Container.getSlot(Container.java:132) ~[Container.class:?]

at net.minecraft.inventory.Container.putStacksInSlots(Container.java:560) ~[Container.class:?]

at net.minecraft.client.network.NetHandlerPlayClient.handleWindowItems(NetHandlerPlayClient.java:1205) ~[NetHandlerPlayClient.class:?]

at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:70) ~[s30PacketWindowItems.class:?]

at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:78) ~[s30PacketWindowItems.class:?]

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

at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:321) ~[PlayerControllerMP.class:?]

at net.minecraft.client.Minecraft.runTick(Minecraft.java:1692) ~[Minecraft.class:?]

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]

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

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

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

---- Minecraft Crash Report ----

// Why did you do that?

 

Time: 17/07/14 10:08

Description: Unexpected error

 

java.lang.IndexOutOfBoundsException: Index: 45, Size: 45

at java.util.ArrayList.rangeCheck(Unknown Source)

at java.util.ArrayList.get(Unknown Source)

at net.minecraft.inventory.Container.getSlot(Container.java:132)

at net.minecraft.inventory.Container.putStacksInSlots(Container.java:560)

at net.minecraft.client.network.NetHandlerPlayClient.handleWindowItems(NetHandlerPlayClient.java:1205)

at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:70)

at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:78)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:247)

at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:321)

at net.minecraft.client.Minecraft.runTick(Minecraft.java:1692)

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1038)

at net.minecraft.client.Minecraft.run(Minecraft.java:961)

at net.minecraft.client.main.Main.main(Main.java:164)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

 

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

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at java.util.ArrayList.rangeCheck(Unknown Source)

at java.util.ArrayList.get(Unknown Source)

at net.minecraft.inventory.Container.getSlot(Container.java:132)

at net.minecraft.inventory.Container.putStacksInSlots(Container.java:560)

at net.minecraft.client.network.NetHandlerPlayClient.handleWindowItems(NetHandlerPlayClient.java:1205)

at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:70)

at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:78)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:247)

at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:321)

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['ForgeDevName'/482, l='MpServer', x=77.69, y=71.62, z=242.85]]

Chunk stats: MultiplayerChunkCache: 610, 610

Level seed: 0

Level generator: ID 00 - default, ver 1. Features enabled: false

Level generator options:

Level spawn location: World: (48,64,256), Chunk: (at 0,4,0 in 3,16; contains blocks 48,0,256 to 63,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 50765 game time, 14304 day time

Level dimension: 0

Level storage version: 0x00000 - Unknown?

Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

Forced entities: 180 total; [EntityChicken['Chicken'/268, l='MpServer', x=102.41, y=64.00, z=187.41], EntityItem['item.item.egg'/269, l='MpServer', x=101.25, y=64.13, z=187.72], EntityBlockling['Blockling'/270, l='MpServer', x=101.50, y=68.00, z=197.63], EntityChicken['Chicken'/271, l='MpServer', x=114.47, y=70.00, z=225.53], EntitySheep['Sheep'/272, l='MpServer', x=106.13, y=68.00, z=255.75], EntitySkeleton['Skeleton'/273, l='MpServer', x=111.50, y=13.00, z=260.91], EntityXPOrb['Experience Orb'/274, l='MpServer', x=100.75, y=68.25, z=261.03], EntityXPOrb['Experience Orb'/275, l='MpServer', x=101.41, y=67.25, z=258.81], EntitySpider['Spider'/276, l='MpServer', x=106.99, y=27.15, z=287.28], EntityChicken['Chicken'/277, l='MpServer', x=96.29, y=67.00, z=273.18], EntityBlockling['Blockling'/278, l='MpServer', x=98.34, y=69.00, z=280.66], EntityBat['Bat'/279, l='MpServer', x=94.06, y=55.26, z=290.51], EntityChicken['Chicken'/280, l='MpServer', x=101.59, y=69.00, z=302.47], EntityChicken['Chicken'/281, l='MpServer', x=99.97, y=67.00, z=300.22], EntityZombie['Zombie'/282, l='MpServer', x=109.47, y=26.00, z=320.18], EntitySkeleton['Skeleton'/283, l='MpServer', x=98.50, y=52.00, z=305.50], EntityChicken['Chicken'/284, l='MpServer', x=97.50, y=64.00, z=318.50], EntityChicken['Chicken'/285, l='MpServer', x=103.63, y=67.00, z=314.59], EntityChicken['Chicken'/286, l='MpServer', x=99.50, y=64.00, z=318.50], EntityChicken['Chicken'/287, l='MpServer', x=96.56, y=65.00, z=317.47], EntityChicken['Chicken'/290, l='MpServer', x=103.44, y=62.46, z=324.38], EntityBat['Bat'/50, l='MpServer', x=-1.75, y=46.10, z=266.97], EntityBat['Bat'/54, l='MpServer', x=1.65, y=43.37, z=291.76], EntityBat['Bat'/321, l='MpServer', x=113.48, y=11.99, z=186.52], EntityBlockling['Blockling'/322, l='MpServer', x=119.50, y=63.00, z=191.63], EntityBlockling['Blockling'/323, l='MpServer', x=124.50, y=70.00, z=183.38], EntitySkeleton['Skeleton'/324, l='MpServer', x=124.50, y=14.00, z=198.50], EntityBlockling['Blockling'/325, l='MpServer', x=120.38, y=67.00, z=202.38], EntityZombie['Zombie'/69, l='MpServer', x=5.01, y=31.00, z=195.53], EntityBlockling['Blockling'/326, l='MpServer', x=118.59, y=68.00, z=204.59], EntityBat['Bat'/70, l='MpServer', x=9.55, y=36.31, z=219.50], EntitySpider['Spider'/327, l='MpServer', x=126.38, y=20.00, z=212.06], EntityChicken['Chicken'/328, l='MpServer', x=113.41, y=69.00, z=216.63], EntityChicken['Chicken'/329, l='MpServer', x=120.44, y=68.00, z=213.66], EntityItem['item.item.egg'/330, l='MpServer', x=118.13, y=68.13, z=219.88], EntityChicken['Chicken'/331, l='MpServer', x=121.47, y=69.00, z=225.59], EntityItem['item.item.egg'/332, l='MpServer', x=121.09, y=69.13, z=227.84], EntityChicken['Chicken'/333, l='MpServer', x=122.56, y=69.00, z=240.47], EntitySheep['Sheep'/334, l='MpServer', x=126.31, y=69.00, z=251.88], EntityEnderman['Enderman'/78, l='MpServer', x=9.84, y=65.00, z=262.09], EntityZombie['Zombie'/335, l='MpServer', x=120.25, y=23.00, z=266.75], EntitySkeleton['Skeleton'/336, l='MpServer', x=112.50, y=27.00, z=267.50], EntityBlockling['Blockling'/80, l='MpServer', x=19.28, y=64.00, z=286.53], EntityZombie['Zombie'/337, l='MpServer', x=112.56, y=29.00, z=263.00], EntityChicken['Chicken'/81, l='MpServer', x=9.53, y=65.00, z=318.53], EntitySpider['Spider'/338, l='MpServer', x=116.28, y=32.22, z=265.72], EntityChicken['Chicken'/82, l='MpServer', x=11.56, y=67.00, z=324.44], EntitySkeleton['Skeleton'/339, l='MpServer', x=124.50, y=16.00, z=260.44], EntityZombie['Zombie'/340, l='MpServer', x=111.65, y=19.00, z=263.99], EntityZombie['Zombie'/341, l='MpServer', x=117.50, y=21.00, z=265.50], EntitySheep['Sheep'/342, l='MpServer', x=124.09, y=69.00, z=259.53], EntitySlime['Slime'/343, l='MpServer', x=116.31, y=20.00, z=283.31], EntitySkeleton['Skeleton'/344, l='MpServer', x=119.50, y=14.00, z=291.50], EntityZombie['Zombie'/345, l='MpServer', x=121.91, y=17.00, z=300.28], EntityBat['Bat'/346, l='MpServer', x=112.25, y=54.10, z=291.59], EntitySquid['Squid'/347, l='MpServer', x=122.19, y=62.34, z=305.44], EntityBat['Bat'/348, l='MpServer', x=113.75, y=28.10, z=312.75], EntityChicken['Chicken'/349, l='MpServer', x=120.53, y=62.41, z=311.56], EntityBat['Bat'/350, l='MpServer', x=123.88, y=33.10, z=320.28], EntityZombie['Zombie'/351, l='MpServer', x=121.50, y=41.00, z=321.50], EntityCreeper['Creeper'/96, l='MpServer', x=23.44, y=33.00, z=169.63], EntityCreeper['Creeper'/97, l='MpServer', x=23.75, y=33.00, z=172.59], EntityCreeper['Creeper'/98, l='MpServer', x=20.38, y=33.00, z=171.00], EntityCreeper['Creeper'/99, l='MpServer', x=25.22, y=33.00, z=174.22], EntityChicken['Chicken'/100, l='MpServer', x=16.59, y=66.00, z=184.53], EntityItem['item.item.egg'/101, l='MpServer', x=18.88, y=66.13, z=185.06], EntityChicken['Chicken'/102, l='MpServer', x=23.15, y=68.00, z=201.64], EntityChicken['Chicken'/103, l='MpServer', x=20.44, y=67.00, z=201.56], EntityChicken['Chicken'/104, l='MpServer', x=18.56, y=66.00, z=220.53], EntityBlockling['Blockling'/105, l='MpServer', x=22.41, y=66.00, z=228.34], EntityBlockling['Blockling'/106, l='MpServer', x=30.06, y=65.00, z=277.63], EntityBlockling['Blockling'/107, l='MpServer', x=31.69, y=66.00, z=275.72], EntityBlockling['Blockling'/108, l='MpServer', x=23.38, y=65.00, z=297.50], EntityChicken['Chicken'/364, l='MpServer', x=135.66, y=72.00, z=175.47], EntityBlockling['Blockling'/109, l='MpServer', x=27.27, y=65.00, z=296.34], EntitySlime['Slime'/366, l='MpServer', x=134.69, y=19.00, z=203.31], EntityBlockling['Blockling'/367, l='MpServer', x=134.31, y=63.00, z=207.50], EntityBlockling['Blockling'/368, l='MpServer', x=130.56, y=68.00, z=217.63], EntityBlockling['Blockling'/369, l='MpServer', x=141.13, y=68.00, z=229.25], EntityBlockling['Blockling'/370, l='MpServer', x=130.63, y=68.00, z=238.38], EntityZombie['Zombie'/372, l='MpServer', x=138.06, y=20.00, z=266.53], EntityBlockling['Blockling'/373, l='MpServer', x=124.72, y=69.00, z=260.53], EntitySheep['Sheep'/374, l='MpServer', x=131.94, y=69.00, z=258.16], EntitySlime['Slime'/375, l='MpServer', x=131.78, y=24.18, z=280.22], EntitySpider['Spider'/119, l='MpServer', x=35.06, y=40.00, z=168.13], EntitySquid['Squid'/376, l='MpServer', x=131.31, y=52.03, z=284.97], EntityChicken['Chicken'/120, l='MpServer', x=39.59, y=69.00, z=174.47], EntitySpider['Spider'/377, l='MpServer', x=138.50, y=23.00, z=297.50], EntityChicken['Chicken'/122, l='MpServer', x=39.53, y=68.00, z=196.38], EntitySkeleton['Skeleton'/378, l='MpServer', x=141.50, y=24.00, z=292.50], EntityItem['item.item.egg'/123, l='MpServer', x=34.63, y=68.13, z=197.19], EntityChicken['Chicken'/379, l='MpServer', x=128.00, y=63.00, z=310.87], EntityBlockling['Blockling'/124, l='MpServer', x=36.72, y=68.00, z=214.56], EntityChicken['Chicken'/125, l='MpServer', x=49.22, y=73.00, z=240.41], EntityChicken['Chicken'/126, l='MpServer', x=42.56, y=70.00, z=240.56], EntitySheep['Sheep'/127, l='MpServer', x=40.22, y=72.00, z=252.31], EntityItem['item.item.egg'/128, l='MpServer', x=42.69, y=70.13, z=244.19], EntityChicken['Chicken'/129, l='MpServer', x=42.53, y=72.00, z=252.59], EntitySheep['Sheep'/130, l='MpServer', x=36.50, y=70.00, z=238.25], EntityChicken['Chicken'/131, l='MpServer', x=49.44, y=70.00, z=240.47], EntityItem['item.item.egg'/132, l='MpServer', x=46.84, y=71.13, z=263.78], EntityChicken['Chicken'/133, l='MpServer', x=41.53, y=71.00, z=263.47], EntityBlockling['Blockling'/134, l='MpServer', x=33.63, y=65.00, z=276.69], EntityBlockling['Blockling'/135, l='MpServer', x=45.13, y=68.00, z=276.50], EntityCreeper['Creeper'/136, l='MpServer', x=45.53, y=67.00, z=285.00], EntityBlockling['Blockling'/137, l='MpServer', x=41.34, y=64.00, z=296.66], EntityChicken['Chicken'/138, l='MpServer', x=42.44, y=64.00, z=312.56], EntityChicken['Chicken'/141, l='MpServer', x=43.50, y=66.00, z=320.50], EntityChicken['Chicken'/402, l='MpServer', x=156.53, y=70.00, z=173.53], EntityChicken['Chicken'/404, l='MpServer', x=153.50, y=70.00, z=191.50], EntityChicken['Chicken'/405, l='MpServer', x=154.50, y=70.00, z=188.50], EntityChicken['Chicken'/406, l='MpServer', x=154.50, y=69.00, z=191.50], EntityChicken['Chicken'/408, l='MpServer', x=152.47, y=72.00, z=179.47], EntityChicken['Chicken'/409, l='MpServer', x=150.41, y=71.00, z=188.47], EntityChicken['Chicken'/410, l='MpServer', x=151.59, y=69.00, z=194.53], EntityChicken['Chicken'/154, l='MpServer', x=58.41, y=70.00, z=175.47], EntityChicken['Chicken'/155, l='MpServer', x=49.53, y=69.00, z=173.56], EntityChicken['Chicken'/157, l='MpServer', x=60.63, y=70.00, z=186.34], EntityChicken['Chicken'/158, l='MpServer', x=56.53, y=70.00, z=186.44], EntityZombie['Zombie'/414, l='MpServer', x=151.50, y=38.00, z=271.50], EntityItem['item.item.egg'/159, l='MpServer', x=61.13, y=69.13, z=188.91], EntityZombie['Zombie'/415, l='MpServer', x=154.03, y=46.00, z=282.50], EntitySpider['Spider'/160, l='MpServer', x=65.06, y=69.00, z=198.56], EntityCreeper['Creeper'/416, l='MpServer', x=153.50, y=46.00, z=294.50], EntityBlockling['Blockling'/161, l='MpServer', x=55.94, y=71.00, z=218.66], EntitySlime['Slime'/417, l='MpServer', x=146.38, y=20.00, z=307.38], EntityBlockling['Blockling'/162, l='MpServer', x=60.50, y=71.00, z=218.69], EntityCreeper['Creeper'/418, l='MpServer', x=155.50, y=29.00, z=306.00], EntityBlockling['Blockling'/163, l='MpServer', x=57.91, y=71.00, z=217.38], EntityZombie['Zombie'/419, l='MpServer', x=149.50, y=31.00, z=321.50], EntityBlockling['Blockling'/164, l='MpServer', x=57.56, y=71.00, z=210.25], EntityBat['Bat'/420, l='MpServer', x=152.18, y=33.33, z=320.88], EntityBlockling['Blockling'/165, l='MpServer', x=48.47, y=69.00, z=209.43], EntityBlockling['Blockling'/166, l='MpServer', x=53.50, y=70.00, z=214.41], EntityBlockling['Blockling'/678, l='MpServer', x=76.21, y=70.00, z=241.21], EntityBlockling['Blockling'/167, l='MpServer', x=54.50, y=70.00, z=226.97], EntityBlockling['Blockling'/168, l='MpServer', x=54.13, y=70.00, z=225.63], EntityBlockling['Blockling'/169, l='MpServer', x=57.34, y=71.00, z=239.50], EntitySheep['Sheep'/170, l='MpServer', x=58.94, y=69.00, z=270.13], EntityChicken['Chicken'/171, l='MpServer', x=51.66, y=70.00, z=272.53], EntityBlockling['Blockling'/172, l='MpServer', x=52.69, y=70.00, z=275.31], EntityChicken['Chicken'/173, l='MpServer', x=63.56, y=67.00, z=291.47], EntityChicken['Chicken'/177, l='MpServer', x=42.83, y=67.00, z=321.40], EntityChicken['Chicken'/188, l='MpServer', x=74.44, y=70.00, z=182.56], EntityItem['item.item.egg'/189, l='MpServer', x=73.28, y=69.13, z=186.31], EntityChicken['Chicken'/190, l='MpServer', x=79.41, y=70.00, z=211.41], EntityBlockling['Blockling'/191, l='MpServer', x=77.50, y=70.00, z=244.50], EntityChicken['Chicken'/192, l='MpServer', x=70.50, y=67.00, z=287.50], EntityChicken['Chicken'/193, l='MpServer', x=69.44, y=69.00, z=276.56], EntitySheep['Sheep'/194, l='MpServer', x=79.81, y=67.00, z=285.31], EntityChicken['Chicken'/195, l='MpServer', x=75.56, y=67.00, z=296.44], EntityChicken['Chicken'/196, l='MpServer', x=72.03, y=66.00, z=297.84], EntityChicken['Chicken'/197, l='MpServer', x=70.56, y=66.00, z=303.38], EntityChicken['Chicken'/198, l='MpServer', x=79.47, y=67.00, z=301.47], EntityItem['item.item.egg'/199, l='MpServer', x=70.91, y=66.13, z=297.06], EntityCreeper['Creeper'/200, l='MpServer', x=65.50, y=43.00, z=311.50], EntityChicken['Chicken'/220, l='MpServer', x=94.50, y=64.00, z=179.50], EntityChicken['Chicken'/221, l='MpServer', x=95.50, y=64.00, z=182.50], EntityChicken['Chicken'/223, l='MpServer', x=90.59, y=68.00, z=185.47], EntityChicken['Chicken'/224, l='MpServer', x=92.76, y=68.00, z=186.56], EntityBlockling['Blockling'/225, l='MpServer', x=85.50, y=69.00, z=203.50], EntityBlockling['Blockling'/226, l='MpServer', x=99.28, y=67.00, z=193.53], EntityChicken['Chicken'/227, l='MpServer', x=88.53, y=69.00, z=205.44], EntityClientPlayerMP['ForgeDevName'/482, l='MpServer', x=77.69, y=71.62, z=242.85], EntityItem['item.item.egg'/228, l='MpServer', x=84.59, y=69.13, z=202.22], EntitySlime['Slime'/229, l='MpServer', x=86.31, y=17.14, z=229.31], EntityBlockling['Blockling'/230, l='MpServer', x=82.03, y=70.00, z=231.41], EntitySkeleton['Skeleton'/231, l='MpServer', x=80.50, y=15.00, z=249.88], EntityZombie['Zombie'/232, l='MpServer', x=88.50, y=22.00, z=244.94], EntityBlockling['Blockling'/233, l='MpServer', x=80.16, y=70.00, z=245.88], EntityBat['Bat'/234, l='MpServer', x=91.00, y=16.36, z=266.90], EntityBat['Bat'/235, l='MpServer', x=93.75, y=11.10, z=286.75], EntityZombie['Zombie'/236, l='MpServer', x=81.78, y=25.00, z=280.69], EntityChicken['Chicken'/237, l='MpServer', x=80.34, y=67.00, z=287.47], EntityChicken['Chicken'/238, l='MpServer', x=94.53, y=68.00, z=276.53], EntityChicken['Chicken'/239, l='MpServer', x=84.38, y=68.00, z=297.53], EntityZombie['Zombie'/240, l='MpServer', x=92.50, y=52.00, z=312.50], EntitySkeleton['Skeleton'/241, l='MpServer', x=94.50, y=52.00, z=304.50], EntityChicken['Chicken'/242, l='MpServer', x=95.50, y=67.00, z=314.75], EntityChicken['Chicken'/243, l='MpServer', x=93.38, y=69.00, z=312.59]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:417)

at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2567)

at net.minecraft.client.Minecraft.run(Minecraft.java:990)

at net.minecraft.client.main.Main.main(Main.java:164)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.8.0_05, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 691124128 bytes (659 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 11, tcache: 0, allocated: 13, tallocated: 95

FML: MCP v9.05 FML v7.10.1.1160 Minecraft Forge 10.13.0.1160 4 mods loaded, 4 mods active

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

FML{7.10.1.1160} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.0.1160.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{10.13.0.1160} [Minecraft Forge] (forgeSrc-1.7.10-10.13.0.1160.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

blocklings{1.2.0} [blocklings] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Launched Version: 1.7

LWJGL: 2.9.1

OpenGL: GeForce GTX 670/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation

GL Caps: Using GL 1.3 multitexturing.

Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.

Anisotropic filtering is supported and maximum anisotropy is 16.

Shaders are available because OpenGL 2.1 is supported.

 

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Packs: []

Current Language: ~~ERROR~~ NullPointerException: null

Profiler Position: N/A (disabled)

Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Anisotropic Filtering: Off (1)

#@!@# Game crashed! Crash report saved to: #@!@# C:\Users\test\Desktop\New folder\eclipse\.\crash-reports\crash-2014-07-17_10.08.36-client.txt

AL lib: (EE) alc_cleanup: 1 device not closed

Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

 

 

Posted

It happens when I try to open a gui. Here is my gui code if that helps.

 

Handler:

 

 

package com.blocklings.gui;

import com.blocklings.entity.EntityBlockling;

import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
import cpw.mods.fml.common.network.IGuiHandler;

public class GuiHandler implements IGuiHandler {

@Override
public Object getServerGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) {
	if (id == 32) {
		Entity ent = world.getEntityByID(x);
		if (ent != null && ent instanceof EntityBlockling) {
			return new ContainerBlockling(player.inventory, ((EntityBlockling) ent).gear);
		}
	}

	if (id == 32) {
		Entity ent = world.getEntityByID(x);
		if (ent != null && ent instanceof EntityBlockling) {
			return new ContainerBlocklingChest(player.inventory, ((EntityBlockling) ent).gear2);
		}
	}
	return null;
}

@Override
public Object getClientGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) {

	if (id == 33) {
		Entity ent = world.getEntityByID(x);
		if (ent != null && ent instanceof EntityBlockling) {
			return new GUIBlockling(player.inventory, new InventoryBlockling("Inventory", 22));
		}
	}

	if (id == 33) {
		Entity ent = world.getEntityByID(x);
		if (ent != null && ent instanceof EntityBlockling) {
			return new GUIBlocklingChest(player.inventory, new InventoryBlocklingChest("Inventory2", 27));
		}
	}

	return null;

}

}

 

 

 

 

 

package com.blocklings.gui;

import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;

import com.blocklings.main.Blocklings;

public class GUIBlockling extends GuiContainer {

private static final ResourceLocation texture = new ResourceLocation(Blocklings.MODID + ":textures/gui/blockling_inventory.png");

private int inventoryWidth = 176;
private int inventoryHeight = 215;

public GUIBlockling(InventoryPlayer inventoryPlayer, InventoryBlockling inv) {

	super(new ContainerBlockling(inventoryPlayer, inv));

	this.xSize = 749;
	this.ySize = 250;

}

protected void drawGuiContainerForegroundLayer(int param1, int param2) {



}

protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) {

	int x;
	int y;

	GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
	this.mc.renderEngine.bindTexture(texture);

	x = (width - inventoryWidth) / 2;
	y = (height - inventoryHeight) / 2;
	this.drawTexturedModalRect(x, y, 40, 21, inventoryWidth, inventoryHeight);

}

}

 

 

 

 

 

package com.blocklings.gui;

import com.blocklings.main.Blocklings;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.init.Items;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;

public class ContainerBlockling extends Container {

protected IInventory i;

private int playerInventoryX = 294;
private int playerInventoryY = 88;

public ContainerBlockling(InventoryPlayer inventoryPlayer, IInventory c) {

	i = c; {

		addSlotToContainer(new SlotUpgrade(c, 0, 366, 25));
		addSlotToContainer(new SlotSpecial(c, 1, 366, 208));

		addSlotToContainer(new SlotLocked(c, 2, 294, 47));
		addSlotToContainer(new SlotLocked(c, 3, 312, 47));
		addSlotToContainer(new SlotLocked(c, 4, 330, 47));
		addSlotToContainer(new SlotLocked(c, 5, 348, 47));
		addSlotToContainer(new SlotLocked(c, 6, 366, 47));
		addSlotToContainer(new SlotLocked(c, 7, 384, 47));
		addSlotToContainer(new SlotLocked(c, 8, 402, 47));
		addSlotToContainer(new SlotLocked(c, 9, 420, 47));
		addSlotToContainer(new SlotLocked(c, 10, 438, 47));

		addSlotToContainer(new SlotLocked(c, 11, 294, 186));
		addSlotToContainer(new SlotLocked(c, 12, 312, 186));
		addSlotToContainer(new SlotLocked(c, 13, 330, 186));
		addSlotToContainer(new SlotLocked(c, 14, 348, 186));
		addSlotToContainer(new SlotLocked(c, 15, 366, 186));
		addSlotToContainer(new SlotLocked(c, 16, 384, 186));
		addSlotToContainer(new SlotLocked(c, 17, 402, 186));
		addSlotToContainer(new SlotLocked(c, 18, 420, 186));
		addSlotToContainer(new SlotLocked(c, 19, 438, 186));

		addSlotToContainer(new SlotLocked(c, 20, 294, 208));
		addSlotToContainer(new SlotLocked(c, 21, 438, 208));

	}

	bindPlayerInventory(inventoryPlayer);

}

public boolean canInteractWith(EntityPlayer player) {

	return i.isUseableByPlayer(player);

}

protected void bindPlayerInventory(InventoryPlayer inventoryPlayer) {

	for (int i = 0; i < 3; i++) {

		for (int j = 0; j < 9; j++) {

			addSlotToContainer(new Slot(inventoryPlayer, j + i * 9 + 9, playerInventoryX + j * 18, playerInventoryY + i * 18));

		}

	}

	for (int i = 0; i < 9; i++) {

		addSlotToContainer(new Slot(inventoryPlayer, i, playerInventoryX + i * 18, playerInventoryY + 54 + 4));

	}

}

@Override
public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2) {

	return null;

}

@Override
public void onContainerClosed(EntityPlayer par1EntityPlayer) {

	super.onContainerClosed(par1EntityPlayer);

	this.i.closeInventory();

}

}

 

 

Posted

Can you also post your Inventory classes (InventoryBlockling and InventoryBlocklingChest)?

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

They are both the same except name changes:

 

package com.blocklings.gui;

import net.minecraft.inventory.InventoryBasic;

public class InventoryBlockling extends InventoryBasic
{
    public InventoryBlockling(String name, int slots)
    {
        super(name, false, slots);
    }
}

Posted

1. In your handler, you check 2 times the same ID in one method, for Example

if( id == 33) {...} if( id == 33 )

. I always prefer to use a

switch

block in those cases instead of an if (else) block

2. You always instantiate a new Inventory client-side. You should use the Inventory instance from your entity

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

in your getClientGuiElement, you always instantiate a new inventory with

new Inventory...

You should instead use your entities Inventory field (in your case it's either

gear

or

gear2

)

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

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.