Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.7.10] Custom event causes game to crash, cant figure out why


jamesbrq
 Share

Recommended Posts

I made an event in which a player will get items upon creation of world, and it crashes as the world is created...

 

what is the problem?

 

p.s I am not great with java, i am taking classes for it at school and haven't gotten far into it...

 

Crash:

 

[22:04:22] [main/INFO] [GradleStart]: No arguments specified, assuming client.

[22:04:22] [main/INFO] [GradleStart]: Extra: []

[22:04:22] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/James/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker]

[22:04:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[22:04:22] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[22:04:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[22:04:22] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1232 for Minecraft 1.7.10 loading

[22:04:22] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_11, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre8

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

[22:04:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:04:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[22:04:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:04:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:04:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

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

[22:04:24] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[22:04:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[22:04:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[22:04:24] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker

[22:04:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker

[22:04:24] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[22:04:25] [main/INFO]: Setting user: Player875

[22:04:26] [Client thread/INFO]: LWJGL Version: 2.9.1

[22:04:27] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[22:04:27] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1232 Initialized

[22:04:27] [Client thread/INFO] [FML]: Replaced 182 ore recipies

[22:04:27] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[22:04:27] [Client thread/INFO] [FML]: Searching C:\Users\James\Downloads\forge-1.7.10-10.13.2.1232-src\eclipse\mods for mods

[22:04:28] [Client thread/INFO] [papermario]: Mod papermario is missing the required element 'name'. Substituting papermario

[22:04:30] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[22:04:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, papermario] at CLIENT

[22:04:30] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, papermario] at SERVER

[22:04:31] [Client thread/ERROR] [papermario]: The mod papermario appears to have an invalid event annotation EventHandler. This annotation can only apply to methods with recognized event arguments - it will not be called

[22:04:31] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:papermario

[22:04:31] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[22:04:31] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations

[22:04:31] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[22:04:31] [Client thread/INFO] [FML]: Applying holder lookups

[22:04:31] [Client thread/INFO] [FML]: Holder lookups applied

[22:04:31] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[22:04:31] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[22:04:31] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[22:04:31] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[22:04:31] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[22:04:31] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[22:04:31] [sound Library Loader/INFO]: Sound engine started

[22:04:32] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[22:04:32] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[22:04:32] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[22:04:32] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:papermario

[22:04:32] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[22:04:32] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/MISSING_ICON_ITEM_4108_papermario_AddingTest.png

java.io.FileNotFoundException: minecraft:textures/items/MISSING_ICON_ITEM_4108_papermario_AddingTest.png

at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]

at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?]

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]

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

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

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

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

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

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

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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_11]

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

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

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

at GradleStart.bounce(GradleStart.java:107) [start/:?]

at GradleStart.startClient(GradleStart.java:100) [start/:?]

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

[22:04:32] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[22:04:33] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[22:04:33] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...

[22:04:33] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:    Author: Paul Lamb, www.paulscode.com

[22:04:33] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[22:04:33] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[22:04:33] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[22:04:33] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[22:04:33] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[22:04:33] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[22:04:33] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[22:04:33] [sound Library Loader/INFO]: Sound engine started

[22:04:39] [Client thread/INFO]: Deleting level New World---------------

[22:04:39] [Client thread/INFO]: Attempt 1...

[22:04:41] [Client thread/INFO]: Deleting level New World--------------

[22:04:41] [Client thread/INFO]: Attempt 1...

[22:04:43] [Client thread/INFO]: Deleting level New World-------------

[22:04:43] [Client thread/INFO]: Attempt 1...

[22:04:45] [Client thread/INFO]: Deleting level New World------------

[22:04:45] [Client thread/INFO]: Attempt 1...

[22:04:47] [Client thread/INFO]: Deleting level New World-----------

[22:04:47] [Client thread/INFO]: Attempt 1...

[22:04:48] [Client thread/INFO]: Deleting level New World----------

[22:04:48] [Client thread/INFO]: Attempt 1...

[22:04:50] [Client thread/INFO]: Deleting level New World---------

[22:04:50] [Client thread/INFO]: Attempt 1...

[22:04:51] [Client thread/INFO]: Deleting level New World--------

[22:04:51] [Client thread/INFO]: Attempt 1...

[22:04:53] [Client thread/INFO]: Deleting level New World-------

[22:04:53] [Client thread/INFO]: Attempt 1...

[22:04:54] [Client thread/INFO]: Deleting level New World------

[22:04:54] [Client thread/INFO]: Attempt 1...

[22:04:56] [Client thread/INFO]: Deleting level New World-----

[22:04:56] [Client thread/INFO]: Attempt 1...

[22:04:58] [Client thread/INFO]: Deleting level New World----

[22:04:58] [Client thread/INFO]: Attempt 1...

[22:05:00] [Client thread/INFO]: Deleting level New World---

[22:05:00] [Client thread/INFO]: Attempt 1...

[22:05:01] [Client thread/INFO]: Deleting level New World--

[22:05:01] [Client thread/INFO]: Attempt 1...

[22:05:03] [Client thread/INFO]: Deleting level New World-

[22:05:03] [Client thread/INFO]: Attempt 1...

[22:05:05] [Client thread/INFO]: Deleting level New World

[22:05:05] [Client thread/INFO]: Attempt 1...

[22:05:07] [server thread/INFO]: Starting integrated minecraft server version 1.7.10

[22:05:07] [server thread/INFO]: Generating keypair

[22:05:08] [server thread/INFO]: Converting map!

[22:05:08] [server thread/INFO]: Scanning folders...

[22:05:08] [server thread/INFO]: Total conversion count is 0

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

[22:05:08] [server thread/INFO] [FML]: Applying holder lookups

[22:05:08] [server thread/INFO] [FML]: Holder lookups applied

[22:05:08] [server thread/WARN]: Unable to find spawn biome

[22:05:08] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@17021e22)

[22:05:08] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@17021e22)

[22:05:08] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@17021e22)

[22:05:08] [server thread/INFO]: Preparing start region for level 0

[22:05:08] [server thread/INFO] [sTDOUT]: [mod.paperMario.StartingItemsEventHandler:giveItems:19]: Some event called; is this the client side?

[22:05:08] [server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityJoinWorldEvent@1cb81d74:

java.lang.NullPointerException

at mod.paperMario.StartingItemsEventHandler.giveItems(StartingItemsEventHandler.java:20) ~[startingItemsEventHandler.class:?]

at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_StartingItemsEventHandler_giveItems_EntityJoinWorldEvent.invoke(.dynamic) ~[?:?]

at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]

at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) [EventBus.class:?]

at net.minecraft.world.World.spawnEntityInWorld(World.java:1503) [World.class:?]

at net.minecraft.world.gen.structure.StructureMineshaftPieces$Corridor.generateStructureChestContents(StructureMineshaftPieces.java:303) [structureMineshaftPieces$Corridor.class:?]

at net.minecraft.world.gen.structure.StructureMineshaftPieces$Corridor.addComponentParts(StructureMineshaftPieces.java:370) [structureMineshaftPieces$Corridor.class:?]

at net.minecraft.world.gen.structure.StructureStart.generateStructure(StructureStart.java:48) [structureStart.class:?]

at net.minecraft.world.gen.structure.MapGenStructure.generateStructuresInChunk(MapGenStructure.java:101) [MapGenStructure.class:?]

at net.minecraft.world.gen.ChunkProviderGenerate.populate(ChunkProviderGenerate.java:404) [ChunkProviderGenerate.class:?]

at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:313) [ChunkProviderServer.class:?]

at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1157) [Chunk.class:?]

at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:208) [ChunkProviderServer.class:?]

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:149) [ChunkProviderServer.class:?]

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119) [ChunkProviderServer.class:?]

at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:305) [MinecraftServer.class:?]

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

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

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

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

[22:05:08] [server thread/ERROR] [FML]: Index: 3 Listeners:

[22:05:08] [server thread/ERROR] [FML]: 0: HIGHEST

[22:05:08] [server thread/ERROR] [FML]: 1: ASM: net.minecraftforge.common.ForgeInternalHandler@433d5536 onEntityJoinWorld(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V

[22:05:08] [server thread/ERROR] [FML]: 2: NORMAL

[22:05:08] [server thread/ERROR] [FML]: 3: ASM: mod.paperMario.StartingItemsEventHandler@41fe0d98 giveItems(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V

[22:05:08] [server thread/ERROR]: Encountered an unexpected exception

java.lang.NullPointerException

at mod.paperMario.StartingItemsEventHandler.giveItems(StartingItemsEventHandler.java:20) ~[startingItemsEventHandler.class:?]

at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_StartingItemsEventHandler_giveItems_EntityJoinWorldEvent.invoke(.dynamic) ~[?:?]

at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]

at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) ~[EventBus.class:?]

at net.minecraft.world.World.spawnEntityInWorld(World.java:1503) ~[World.class:?]

at net.minecraft.world.gen.structure.StructureMineshaftPieces$Corridor.generateStructureChestContents(StructureMineshaftPieces.java:303) ~[structureMineshaftPieces$Corridor.class:?]

at net.minecraft.world.gen.structure.StructureMineshaftPieces$Corridor.addComponentParts(StructureMineshaftPieces.java:370) ~[structureMineshaftPieces$Corridor.class:?]

at net.minecraft.world.gen.structure.StructureStart.generateStructure(StructureStart.java:48) ~[structureStart.class:?]

at net.minecraft.world.gen.structure.MapGenStructure.generateStructuresInChunk(MapGenStructure.java:101) ~[MapGenStructure.class:?]

at net.minecraft.world.gen.ChunkProviderGenerate.populate(ChunkProviderGenerate.java:404) ~[ChunkProviderGenerate.class:?]

at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:313) ~[ChunkProviderServer.class:?]

at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1157) ~[Chunk.class:?]

at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:208) ~[ChunkProviderServer.class:?]

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:149) ~[ChunkProviderServer.class:?]

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119) ~[ChunkProviderServer.class:?]

at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:305) ~[MinecraftServer.class:?]

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

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

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

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

[22:05:09] [server thread/ERROR]: This crash report has been saved to: C:\Users\James\Downloads\forge-1.7.10-10.13.2.1232-src\eclipse\.\crash-reports\crash-2014-11-04_22.05.09-server.txt

[22:05:09] [server thread/INFO] [FML]: Applying holder lookups

[22:05:09] [server thread/INFO] [FML]: Holder lookups applied

[22:05:09] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.

[22:05:09] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----

// Don't be sad. I'll do better next time, I promise!

 

Time: 11/4/14 10:05 PM

Description: Exception in server tick loop

 

java.lang.NullPointerException: Exception in server tick loop

at mod.paperMario.StartingItemsEventHandler.giveItems(StartingItemsEventHandler.java:20)

at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_StartingItemsEventHandler_giveItems_EntityJoinWorldEvent.invoke(.dynamic)

at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)

at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138)

at net.minecraft.world.World.spawnEntityInWorld(World.java:1503)

at net.minecraft.world.gen.structure.StructureMineshaftPieces$Corridor.generateStructureChestContents(StructureMineshaftPieces.java:303)

at net.minecraft.world.gen.structure.StructureMineshaftPieces$Corridor.addComponentParts(StructureMineshaftPieces.java:370)

at net.minecraft.world.gen.structure.StructureStart.generateStructure(StructureStart.java:48)

at net.minecraft.world.gen.structure.MapGenStructure.generateStructuresInChunk(MapGenStructure.java:101)

at net.minecraft.world.gen.ChunkProviderGenerate.populate(ChunkProviderGenerate.java:404)

at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:313)

at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1157)

at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:208)

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:149)

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119)

at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:305)

at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:79)

at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:96)

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

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)

 

 

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

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

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 8.1 (amd64) version 6.3

Java Version: 1.8.0_11, Oracle Corporation

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

Memory: 850615024 bytes (811 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: 0, tcache: 0, allocated: 13, tallocated: 95

FML: MCP v9.05 FML v7.10.85.1232 Minecraft Forge 10.13.2.1232 4 mods loaded, 4 mods active

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

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

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

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

Profiler Position: N/A (disabled)

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

Player Count: 0 / 8; []

Type: Integrated Server (map_client.txt)

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

[22:05:09] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2014-11-04_22.05.09-server.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

 

 

 

Base Mod File:

 

package mod.paperMario;

 

import mod.paperMario.CommonProxy;

import mod.paperMario.StartingItems;

import mod.paperMario.entities.EntityFireball;

import mod.paperMario.entities.ModEntities;

import mod.paperMario.items.ModItems;

import mod.paperMario.items.Mushroom;

import net.minecraft.init.Blocks;

import net.minecraft.init.Items;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

import net.minecraft.util.ResourceLocation;

import net.minecraft.world.World;

import cpw.mods.fml.common.FMLCommonHandler;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.EventHandler;

import cpw.mods.fml.common.Mod.Instance;

import cpw.mods.fml.common.SidedProxy;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.event.FMLPreInitializationEvent;

import cpw.mods.fml.common.event.FMLServerStartedEvent;

import cpw.mods.fml.common.gameevent.PlayerEvent;

import cpw.mods.fml.common.registry.EntityRegistry;

import cpw.mods.fml.common.registry.GameRegistry;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.entity.Entity;

import net.minecraft.entity.player.EntityPlayer;

import net.minecraftforge.common.MinecraftForge;

import net.minecraftforge.event.entity.EntityJoinWorldEvent;

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

@Mod(modid = baseMod.MODID, version = baseMod.VERSION)

public class baseMod

{

    public static final String MODID = "papermario";

    public static final String VERSION = "1.0";

    @SidedProxy(clientSide = "mod.paperMario.ClientProxy", serverSide = "mod.paperMario.CommonProxy")

    public static CommonProxy proxy;

   

    @Instance(baseMod.MODID)

    public static baseMod modInstance;

   

    ResourceLocation res = new ResourceLocation(baseMod.MODID, "textures/items/Mushroom");

 

    public static CreativeTabs pmItemsTab = new CreativeTabs("tabMarioItems") {

        @Override

        @SideOnly(Side.CLIENT)

        public Item getTabIconItem() {

            return ModItems.Mushroom;

        };

    };

     

    @EventHandler

    public static void PreLoad(FMLInitializationEvent PreEvent)

    {

 

    }

   

    static StartingItemsEventHandler events = new StartingItemsEventHandler();

   

    @EventHandler

    public static void Load(FMLInitializationEvent event, EntityPlayer player, ItemStack stack, World world)

    {

   

    }

   

    @EventHandler

    public void init(FMLInitializationEvent event)

    {

    ModItems.init();

    }

   

    @EventHandler

    public void preInit(FMLPreInitializationEvent event)

    {

    proxy.registerRenderThings();

    ModEntities.mainRegistry();

    MinecraftForge.EVENT_BUS.register(events);

    FMLCommonHandler.instance().bus().register(events);

    }

}

 

 

StartingItemsEventHandler:

 

package mod.paperMario;

 

import cpw.mods.fml.common.eventhandler.SubscribeEvent;

import cpw.mods.fml.common.gameevent.PlayerEvent;

import cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent;

import mod.paperMario.items.ModItems;

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.item.ItemStack;

import net.minecraftforge.event.entity.EntityJoinWorldEvent;

 

public class StartingItemsEventHandler

{

 

public static EntityPlayer player;

 

@SubscribeEvent

public void giveItems(EntityJoinWorldEvent event)

{

System.out.println("Some event called; is this the client side? ");

player.inventory.addItemStackToInventory(new ItemStack(ModItems.Hammer, 1));

player.inventory.addItemStackToInventory(new ItemStack(ModItems.Boots, 1));

 

}

}

 

 

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.

Guest
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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.