Jump to content

[1.7.10] Crop not working?


iC4Motorbiker

Recommended Posts

I added a custom crop to my game, and it just simply crashes the game when I click the seed on the ground (Blocks.farmland)

 

 

 

[00:52:39] [main/INFO] [GradleStart]: Extra: []

[00:52:39] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/jacob_z385h4e/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]

[00:52:39] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[00:52:39] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[00:52:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker

[00:52:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[00:52:39] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading

[00:52:39] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91

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

[00:52:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

[00:52:39] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin

[00:52:39] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[00:52:39] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[00:52:39] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[00:52:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[00:52:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[00:52:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[00:52:39] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

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

[00:52:44] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[00:52:44] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[00:52:44] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[00:52:45] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[00:52:45] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker

[00:52:45] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker

[00:52:45] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[00:52:48] [main/INFO]: Setting user: Player825

[00:52:53] [Client thread/INFO]: LWJGL Version: 2.9.1

[00:52:54] [Client thread/INFO] [sTDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----

// Shall we play a game?

 

Time: 7/20/16 12:52 AM

Description: Loading screen debug info

 

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR

 

 

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 10 (amd64) version 10.0

Java Version: 1.8.0_91, Oracle Corporation

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

Memory: 777396832 bytes (741 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: 0, tallocated: 0

FML:

GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel® HD Graphics'

[00:52:54] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[00:52:54] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized

[00:52:54] [Client thread/INFO] [FML]: Replaced 183 ore recipies

[00:52:55] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[00:52:56] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[00:52:56] [Client thread/INFO] [FML]: Searching C:\Users\-\Desktop\ExtremeFood\eclipse\mods for mods

[00:53:15] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[00:53:16] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extremefoodmod] at CLIENT

[00:53:16] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extremefoodmod] at SERVER

[00:53:17] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extreme Food

[00:53:17] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[00:53:17] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations

[00:53:17] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

[00:53:17] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[00:53:18] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[00:53:18] [Client thread/WARN] [FML]: ****************************************

[00:53:18] [Client thread/WARN] [FML]: * The object net.minecraft.item.ItemSeeds@9d2ddb1 has been registered twice for the same name extremefoodmod:seedTomato.

[00:53:18] [Client thread/WARN] [FML]: *  at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:405)

[00:53:18] [Client thread/WARN] [FML]: *  at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849)

[00:53:18] [Client thread/WARN] [FML]: *  at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812)

[00:53:18] [Client thread/WARN] [FML]: *  at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149)

[00:53:18] [Client thread/WARN] [FML]: *  at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)

[00:53:18] [Client thread/WARN] [FML]: *  at com.extremefood.mod.Main.preInit(Main.java:115)...

[00:53:18] [Client thread/WARN] [FML]: ****************************************

[00:53:18] [Client thread/INFO] [FML]: Applying holder lookups

[00:53:18] [Client thread/INFO] [FML]: Holder lookups applied

[00:53:18] [Client thread/INFO] [FML]: Injecting itemstacks

[00:53:18] [Client thread/INFO] [FML]: Itemstack injection complete

[00:53:18] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:53:18] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[00:53:19] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

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

[00:53:19] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[00:53:19] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:53:19] [sound Library Loader/INFO]: Sound engine started

[00:53:25] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas

[00:53:25] [Client thread/INFO]: Created: 16x16 textures/items-atlas

[00:53:26] [Client thread/INFO] [FML]: Injecting itemstacks

[00:53:26] [Client thread/INFO] [FML]: Itemstack injection complete

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

[00:53:26] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extreme Food

[00:53:27] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[00:53:28] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[00:53:28] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:53:28] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...

[00:53:28] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:    Author: Paul Lamb, www.paulscode.com

[00:53:28] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:53:28] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:53:28] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[00:53:28] [Thread-10/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[00:53:28] [Thread-10/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[00:53:28] [Thread-10/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[00:53:29] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[00:53:29] [sound Library Loader/INFO]: Sound engine started

[00:53:43] [server thread/INFO]: Starting integrated minecraft server version 1.7.10

[00:53:43] [server thread/INFO]: Generating keypair

[00:53:43] [server thread/INFO]: Converting map!

[00:53:43] [server thread/INFO]: Scanning folders...

[00:53:43] [server thread/INFO]: Total conversion count is 0

[00:53:43] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[00:53:43] [server thread/INFO] [FML]: Applying holder lookups

[00:53:43] [server thread/INFO] [FML]: Holder lookups applied

[00:53:45] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@561f03)

[00:53:45] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@561f03)

[00:53:45] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@561f03)

[00:53:45] [server thread/INFO]: Preparing start region for level 0

[00:53:46] [server thread/INFO]: Preparing spawn area: 0%

[00:53:47] [server thread/INFO]: Preparing spawn area: 4%

[00:53:48] [server thread/INFO]: Preparing spawn area: 7%

[00:53:49] [server thread/INFO]: Preparing spawn area: 13%

[00:53:50] [server thread/INFO]: Preparing spawn area: 19%

[00:53:51] [server thread/INFO]: Preparing spawn area: 26%

[00:53:52] [server thread/INFO]: Preparing spawn area: 29%

[00:53:53] [server thread/INFO]: Preparing spawn area: 33%

[00:53:54] [server thread/INFO]: Preparing spawn area: 38%

[00:53:55] [server thread/INFO]: Preparing spawn area: 44%

[00:53:56] [server thread/INFO]: Preparing spawn area: 51%

[00:53:57] [server thread/INFO]: Preparing spawn area: 57%

[00:53:58] [server thread/INFO]: Preparing spawn area: 63%

[00:53:59] [server thread/INFO]: Preparing spawn area: 68%

[00:54:00] [server thread/INFO]: Preparing spawn area: 76%

[00:54:01] [server thread/INFO]: Preparing spawn area: 83%

[00:54:02] [server thread/INFO]: Preparing spawn area: 90%

[00:54:03] [server thread/INFO]: Preparing spawn area: 98%

[00:54:04] [server thread/INFO]: Changing view distance to 2, from 10

[00:54:05] [Netty Client IO #0/INFO] [FML]: Server protocol version 2

[00:54:05] [Netty IO #1/INFO] [FML]: Client protocol version 2

[00:54:05] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected] Beta

[00:54:05] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT

[00:54:05] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER

[00:54:05] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established

[00:54:05] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[00:54:05] [server thread/INFO]: Player825[local:E:25fc3b6a] logged in with entity id 180 at (12.5, 68.0, 249.5)

[00:54:05] [server thread/INFO]: Player825 joined the game

[00:54:08] [server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2493ms behind, skipping 49 tick(s)

[00:54:09] [server thread/INFO]: Player825 has just earned the achievement [Taking Inventory]

[00:54:09] [Client thread/INFO]: [CHAT] Player825 has just earned the achievement [Taking Inventory]

[00:54:22] [server thread/ERROR]: Encountered an unexpected exception

net.minecraft.util.ReportedException: Ticking memory connection

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?]

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?]

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

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

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

Caused by: java.lang.NullPointerException

at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_150818_a(ExtendedBlockStorage.java:86) ~[ExtendedBlockStorage.class:?]

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

at net.minecraft.world.World.setBlock(World.java:519) ~[World.class:?]

at net.minecraft.world.World.setBlock(World.java:681) ~[World.class:?]

at net.minecraft.item.ItemSeeds.onItemUse(ItemSeeds.java:41) ~[itemSeeds.class:?]

at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:507) ~[ForgeHooks.class:?]

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:142) ~[itemStack.class:?]

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:422) ~[itemInWorldManager.class:?]

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:593) ~[NetHandlerPlayServer.class:?]

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) ~[C08PacketPlayerBlockPlacement.class:?]

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) ~[C08PacketPlayerBlockPlacement.class:?]

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

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?]

... 5 more

[00:54:23] [server thread/ERROR]: This crash report has been saved to: C:\Users\-\Desktop\ExtremeFood\eclipse\.\crash-reports\crash-2016-07-20_00.54.23-server.txt

[00:54:23] [server thread/INFO]: Stopping server

[00:54:23] [server thread/INFO]: Saving players

[00:54:23] [server thread/INFO]: Saving worlds

[00:54:23] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[00:54:23] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[00:54:23] [server thread/INFO]: Saving chunks for level 'New World'/The End

[00:54:25] [server thread/INFO] [FML]: Unloading dimension 0

[00:54:25] [server thread/INFO] [FML]: Unloading dimension -1

[00:54:25] [server thread/INFO] [FML]: Unloading dimension 1

[00:54:26] [Client thread/FATAL]: Unreported exception thrown!

java.lang.NullPointerException

at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_150818_a(ExtendedBlockStorage.java:86) ~[ExtendedBlockStorage.class:?]

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

at net.minecraft.world.World.setBlock(World.java:519) ~[World.class:?]

at net.minecraft.world.World.setBlock(World.java:681) ~[World.class:?]

at net.minecraft.item.ItemSeeds.onItemUse(ItemSeeds.java:41) ~[itemSeeds.class:?]

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:143) ~[itemStack.class:?]

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

at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1529) ~[Minecraft.class:?]

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

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

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

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

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

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

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

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

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

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

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]

at GradleStart.main(Unknown Source) [start/:?]

[00:54:26] [server thread/INFO] [FML]: Applying holder lookups

[00:54:26] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----

// Don't do that.

 

Time: 7/20/16 12:54 AM

Description: Unexpected error

 

java.lang.NullPointerException: Unexpected error

at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_150818_a(ExtendedBlockStorage.java:86)

at net.minecraft.world.chunk.Chunk.func_150807_a(Chunk.java:653)

at net.minecraft.world.World.setBlock(World.java:519)

at net.minecraft.world.World.setBlock(World.java:681)

at net.minecraft.item.ItemSeeds.onItemUse(ItemSeeds.java:41)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:143)

at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:403)

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:962)

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:135)

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

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

 

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:86)

at net.minecraft.world.chunk.Chunk.func_150807_a(Chunk.java:653)

at net.minecraft.world.World.setBlock(World.java:519)

at net.minecraft.world.World.setBlock(World.java:681)

at net.minecraft.item.ItemSeeds.onItemUse(ItemSeeds.java:41)

at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:143)

at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:403)

at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1529)

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['Player825'/180, l='MpServer', x=13.25, y=69.62, z=251.45]]

Chunk stats: MultiplayerChunkCache: 25, 25

Level seed: 0

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

Level generator options:

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

Level time: 360 game time, 360 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: 42 total; [EntitySkeleton['Skeleton'/1036, l='MpServer', x=0.50, y=30.00, z=256.50], EntityCow['Cow'/24, l='MpServer', x=6.50, y=68.00, z=230.50], EntityCow['Cow'/25, l='MpServer', x=3.19, y=69.00, z=230.09], EntityCow['Cow'/26, l='MpServer', x=4.81, y=69.00, z=229.19], EntityCow['Cow'/27, l='MpServer', x=-4.94, y=69.00, z=232.94], EntityCow['Cow'/28, l='MpServer', x=4.50, y=67.00, z=243.50], EntityCow['Cow'/29, l='MpServer', x=6.25, y=67.00, z=242.22], EntityCow['Cow'/30, l='MpServer', x=0.19, y=68.00, z=242.81], EntityCow['Cow'/31, l='MpServer', x=-2.50, y=68.00, z=246.50], EntityCow['Cow'/32, l='MpServer', x=1.50, y=67.00, z=279.50], EntityCow['Cow'/33, l='MpServer', x=0.53, y=66.69, z=276.50], EntityCow['Cow'/34, l='MpServer', x=3.97, y=69.00, z=264.25], EntityCow['Cow'/35, l='MpServer', x=6.06, y=68.00, z=276.91], EntityCow['Cow'/56, l='MpServer', x=24.91, y=67.00, z=232.59], EntityCow['Cow'/57, l='MpServer', x=21.47, y=70.00, z=225.50], EntityCow['Cow'/58, l='MpServer', x=22.50, y=69.00, z=220.63], EntityCow['Cow'/59, l='MpServer', x=26.84, y=67.00, z=233.03], EntityPig['Pig'/72, l='MpServer', x=32.50, y=67.00, z=247.50], EntityPig['Pig'/73, l='MpServer', x=35.47, y=67.00, z=245.86], EntityPig['Pig'/74, l='MpServer', x=41.75, y=68.00, z=254.50], EntityPig['Pig'/75, l='MpServer', x=39.47, y=68.00, z=246.50], EntityCow['Cow'/76, l='MpServer', x=37.78, y=66.00, z=257.50], EntityCow['Cow'/77, l='MpServer', x=36.47, y=67.00, z=257.47], EntityCow['Cow'/78, l='MpServer', x=36.50, y=66.00, z=258.81], EntityCow['Cow'/79, l='MpServer', x=34.50, y=67.00, z=260.25], EntityCow['Cow'/80, l='MpServer', x=28.16, y=67.00, z=252.09], EntityCow['Cow'/81, l='MpServer', x=35.50, y=68.00, z=251.50], EntityCow['Cow'/82, l='MpServer', x=35.50, y=67.00, z=248.38], EntityCow['Cow'/83, l='MpServer', x=25.06, y=68.00, z=257.82], EntityBat['Bat'/339, l='MpServer', x=-2.78, y=21.62, z=274.33], EntityCow['Cow'/88, l='MpServer', x=44.50, y=69.00, z=237.78], EntityCow['Cow'/89, l='MpServer', x=45.78, y=69.00, z=234.50], EntityCow['Cow'/90, l='MpServer', x=44.50, y=69.00, z=236.19], EntityCow['Cow'/91, l='MpServer', x=44.19, y=69.00, z=234.50], EntitySkeleton['Skeleton'/611, l='MpServer', x=-11.50, y=23.00, z=280.50], EntitySkeleton['Skeleton'/612, l='MpServer', x=-10.50, y=23.00, z=282.50], EntityBat['Bat'/631, l='MpServer', x=15.84, y=27.01, z=254.66], EntityBat['Bat'/632, l='MpServer', x=11.78, y=29.48, z=252.00], EntityBat['Bat'/637, l='MpServer', x=9.13, y=28.48, z=255.22], EntitySkeleton['Skeleton'/963, l='MpServer', x=3.50, y=12.00, z=229.50], EntityZombie['Zombie'/709, l='MpServer', x=-28.50, y=30.00, z=213.50], EntityClientPlayerMP['Player825'/180, l='MpServer', x=13.25, y=69.62, z=251.45]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

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

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

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

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:135)

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

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 10 (amd64) version 10.0

Java Version: 1.8.0_91, Oracle Corporation

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

Memory: 736961984 bytes (702 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.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)

UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)

UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)

UCHIJAAAA extremefoodmod{0.3.5 Beta} [Extreme Food] (bin)

GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.4276' Renderer: 'Intel® HD Graphics'

Launched Version: 1.7.10

LWJGL: 2.9.1

OpenGL: Intel® HD Graphics GL version 4.0.0 - Build 10.18.10.4276, Intel

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: 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)

[00:54:26] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\jacob_z385h4e\Desktop\ExtremeFood\eclipse\.\crash-reports\crash-2016-07-20_00.54.26-client.txt

[00:54:26] [Client thread/INFO] [FML]: Waiting for the server to terminate/save.

[00:54:26] [server thread/INFO] [FML]: Holder lookups applied

[00:54:26] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.

[00:54:26] [Client thread/INFO] [FML]: Server terminated.

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

 

Seed Code & Crop Code inside the main class.

 

 

seedTomato = new ItemSeeds(crop_Tomato, Blocks.farmland).setUnlocalizedName("seedTomato").setCreativeTab(tabExtremeFoodMisc).setTextureName(MODID + ":seedsTomato");

crop_Tomato = new crop_Tomato().setBlockName("crop_Tomato").setBlockTextureName(Main.MODID + ":tomato");

 

 

Crop Class

 

package -------;

 

import net.minecraft.block.Block;

import net.minecraft.block.BlockCrops;

import net.minecraft.item.Item;

 

public class crop_Tomato extends BlockCrops {

@Override

protected Item func_149866_i()

    {

        return Main.seedTomato;

    }

@Override

protected Item func_149865_P()

    {

        return Main.ingredientTomato;

    }

}

 

 

GameRegistry

 

GameRegistry.registerItem(seedTomato, "seedTomato");

    GameRegistry.registerBlock(crop_Tomato, "crop_Tomato");

 

Link to comment
Share on other sites

seedTomato = new ItemSeeds(crop_Tomato, Blocks.farmland).setUnlocalizedName("seedTomato").setCreativeTab(tabExtremeFoodMisc).setTextureName(MODID + ":seedsTomato");

crop_Tomato = new crop_Tomato().setBlockName("crop_Tomato").setBlockTextureName(Main.MODID + ":tomato");

 

 

You are trying to place the block coined "crop_tomato", before it is created. Try switching the crop_Tomato to before the seedTomato declaration.

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Link to comment
Share on other sites

To be more precise, the main class was using an uninitialized block variable to construct the seed object, storing a null in that object. That null lurked in there like a ticking time bomb until the first time a seed was "used". The game then tried to place a block in the world, hit the null and exploded.

 

As a very general rule, do not use any variable until after it has had something assigned to it. This is such a basic safety tip that a good IDE such as Eclipse should put red-flag warnings on lines like the one that passed the null to the seed constructor.

 

As an experiment, you might reverse those lines again (temporarily) to see if Eclipse has anything to say. If not, then you should research Eclipse's settings until you can turn on such warnings. Then make a point of responding to them.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

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.

Announcements



×
×
  • Create New...

Important Information

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