Jump to content

[1.7.10]Crash when attempting to plant seeds


theOriginalByte

Recommended Posts

I am trying to make a custom crop and I followed jabelar's tutorial on how to do it. When I try and plant the seeds though I get an error on the 'onItemUse' method of the seeds. Here is the crash report:

 

---- Minecraft Crash Report ----
// I let you down. Sorry 

Time: 11/9/14 4:37 PM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_150818_a(ExtendedBlockStorage.java:96)
at net.minecraft.world.chunk.Chunk.func_150807_a(Chunk.java:667)
at net.minecraft.world.World.setBlock(World.java:515)
at net.minecraft.world.World.setBlock(World.java:663)
at io.cyb3rwarri0r8.friedchickenbacon.help.ModItemSeeds.onItemUse(ModItemSeeds.java:74)
at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:145)
at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:407)
at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1529)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:2044)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:77)
at GradleStart.main(GradleStart.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)


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

-- Head --
Stacktrace:
at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_150818_a(ExtendedBlockStorage.java:96)
at net.minecraft.world.chunk.Chunk.func_150807_a(Chunk.java:667)
at net.minecraft.world.World.setBlock(World.java:515)
at net.minecraft.world.World.setBlock(World.java:663)
at io.cyb3rwarri0r8.friedchickenbacon.help.ModItemSeeds.onItemUse(ModItemSeeds.java:74)
at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:145)
at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:407)
at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1529)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player223'/319, l='MpServer', x=-226.01, y=5.62, z=36.10]]
Chunk stats: MultiplayerChunkCache: 25, 25
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options: 
Level spawn location: World: (-223,4,36), Chunk: (at 1,0,4 in -14,2; contains blocks -224,0,32 to -209,255,47), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 1404 game time, 1404 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: 33 total; [EntitySlime['Slime'/10324, l='MpServer', x=-226.50, y=4.00, z=5.84], EntitySlime['Slime'/141, l='MpServer', x=-246.59, y=4.00, z=18.20], EntitySlime['Slime'/140, l='MpServer', x=-241.24, y=4.69, z=18.23], EntitySheep['Sheep'/143, l='MpServer', x=-252.88, y=4.00, z=72.16], EntitySlime['Slime'/142, l='MpServer', x=-248.91, y=4.00, z=54.08], EntityClientPlayerMP['Player223'/319, l='MpServer', x=-226.01, y=5.62, z=36.10], EntityChicken['Chicken'/129, l='MpServer', x=-269.59, y=4.00, z=38.44], EntityChicken['Chicken'/128, l='MpServer', x=-263.20, y=4.00, z=35.80], EntitySlime['Slime'/196, l='MpServer', x=-223.72, y=4.00, z=66.88], EntitySlime['Slime'/193, l='MpServer', x=-212.85, y=4.80, z=51.91], EntitySlime['Slime'/192, l='MpServer', x=-220.94, y=4.00, z=33.92], EntitySheep['Sheep'/195, l='MpServer', x=-222.19, y=4.00, z=72.28], EntitySheep['Sheep'/194, l='MpServer', x=-223.50, y=4.00, z=73.81], EntitySlime['Slime'/156, l='MpServer', x=-231.22, y=4.58, z=26.56], EntitySlime['Slime'/157, l='MpServer', x=-227.39, y=4.00, z=50.49], EntitySheep['Sheep'/158, l='MpServer', x=-231.26, y=4.00, z=70.81], EntitySheep['Sheep'/159, l='MpServer', x=-231.71, y=4.00, z=69.29], EntitySlime['Slime'/213, l='MpServer', x=-204.37, y=4.00, z=44.78], EntitySheep['Sheep'/163, l='MpServer', x=-234.19, y=4.00, z=77.84], EntitySheep['Sheep'/162, l='MpServer', x=-232.78, y=4.00, z=76.72], EntitySheep['Sheep'/161, l='MpServer', x=-228.56, y=4.00, z=77.35], EntitySheep['Sheep'/160, l='MpServer', x=-230.19, y=4.00, z=67.44], EntitySlime['Slime'/166, l='MpServer', x=-233.64, y=4.31, z=69.06], EntitySheep['Sheep'/165, l='MpServer', x=-233.39, y=4.00, z=71.63], EntitySheep['Sheep'/164, l='MpServer', x=-234.57, y=4.00, z=72.11], EntityCow['Cow'/127, l='MpServer', x=-268.66, y=4.00, z=38.84], EntityCow['Cow'/126, l='MpServer', x=-272.67, y=3.49, z=36.45], EntityPig['Pig'/125, l='MpServer', x=-269.94, y=4.00, z=44.03], EntityCow['Cow'/124, l='MpServer', x=-269.50, y=4.00, z=30.25], EntityPig['Pig'/123, l='MpServer', x=-270.66, y=4.00, z=31.19], EntityChicken['Chicken'/122, l='MpServer', x=-270.47, y=4.00, z=29.56], EntityPig['Pig'/121, l='MpServer', x=-266.63, y=4.00, z=26.19], EntityChicken['Chicken'/120, l='MpServer', x=-263.81, y=4.00, z=35.19]]
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:2568)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:77)
at GradleStart.main(GradleStart.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Mac OS X (x86_64) version 10.7.5
Java Version: 1.7.0_55, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 914037032 bytes (871 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 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: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.18.1180 Minecraft Forge 10.13.0.1180 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.18.1180} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.0.1180.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.0.1180} [Minecraft Forge] (forgeSrc-1.7.10-10.13.0.1180.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
friedchickenbacon{0.2a} [friedchickenbacon] (main) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: Intel GMA X3100 OpenGL Engine GL version 2.1 APPLE-7.4.1, Intel Inc.
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because EXT_framebuffer_object 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: English (US)
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: #@!@# /Users/noah/Desktop/Modding/Fried Chicken & Bacon/eclipse/./crash-reports/crash-2014-11-09_16.37.15-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed

 

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.



×
×
  • Create New...

Important Information

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