Jump to content

Recommended Posts

Posted

I am adding crops to my mod and when I click with the seed my client crashes. But if I give myself the block with commands I can place the plant on grass and farmland and when I click on the plant with bone meal and it works. I just need help making the seeds plant the crop.

 

Error:

 

 

 

-- System Details --

Details:

Minecraft Version: 1.8.9

Operating System: Windows 10 (amd64) version 10.0

Java Version: 1.8.0_77, Oracle Corporation

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

Memory: 1834933664 bytes (1749 MB) / 2112618496 bytes (2014 MB) up to 2112618496 bytes (2014 MB)

JVM Flags: 5 total; -Xincgc -Xmx1024M -Xms1024M -Xmx2048M -Xms2048M

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML:

Loaded coremods (and transformers):

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

[15:59:44] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1808 Initialized

[15:59:44] [Client thread/INFO] [FML]: Replaced 204 ore recipies

[15:59:45] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[15:59:45] [Client thread/INFO] [FML]: Searching C:\Users\Ronnie\Desktop\More Items\More Items 1.8.9\run\mods for mods

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

[15:59:48] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mi] at CLIENT

[15:59:48] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mi] at SERVER

[15:59:50] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:More Items

[15:59:50] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[15:59:50] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations

[15:59:50] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

[15:59:50] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[15:59:50] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[15:59:50] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json

[15:59:50] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: AHEAD Target: null

[15:59:50] [Client thread/INFO] [FML]: Applying holder lookups

[15:59:50] [Client thread/INFO] [FML]: Holder lookups applied

[15:59:50] [Client thread/INFO] [FML]: Injecting itemstacks

[15:59:50] [Client thread/INFO] [FML]: Itemstack injection complete

[15:59:51] [sound Library Loader/INFO]: Starting up SoundSystem...

[15:59:51] [Thread-9/INFO]: Initializing LWJGL OpenAL

[15:59:51] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[15:59:52] [Thread-9/INFO]: OpenAL initialized.

[15:59:52] [sound Library Loader/INFO]: Sound engine started

[16:00:10] [Client thread/INFO] [FML]: Max texture size: 8192

[16:00:10] [Client thread/INFO]: Created: 16x16 textures-atlas

[16:00:12] [Client thread/INFO] [FML]: Injecting itemstacks

[16:00:12] [Client thread/INFO] [FML]: Itemstack injection complete

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

[16:00:12] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:More Items

[16:00:13] [Client thread/INFO]: SoundSystem shutting down...

[16:00:13] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

[16:00:13] [sound Library Loader/INFO]: Starting up SoundSystem...

[16:00:13] [Thread-11/INFO]: Initializing LWJGL OpenAL

[16:00:13] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[16:00:13] [Thread-11/INFO]: OpenAL initialized.

[16:00:13] [sound Library Loader/INFO]: Sound engine started

[16:00:29] [Client thread/INFO] [FML]: Max texture size: 8192

[16:00:30] [Client thread/WARN]: Texture mi:textures/items/flour.png with size 516x516 limits mip level from 4 to 2

[16:00:30] [Client thread/WARN]: textures: dropping miplevel from 4 to 2, because of minimum power of two: 4

[16:00:32] [Client thread/INFO]: Created: 4096x2048 textures-atlas

[16:00:34] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id

[16:00:38] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id

[16:00:38] [server thread/INFO]: Starting integrated minecraft server version 1.8.9

[16:00:38] [server thread/INFO]: Generating keypair

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

[16:00:39] [server thread/INFO] [FML]: Found a missing id from the world mi:lemon_plant

[16:00:39] [server thread/INFO] [FML]: Applying holder lookups

[16:00:39] [server thread/INFO] [FML]: Holder lookups applied

[16:00:39] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@a6244cc)

[16:00:39] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@a6244cc)

[16:00:39] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@a6244cc)

[16:00:39] [server thread/INFO]: Preparing start region for level 0

[16:00:40] [server thread/INFO]: Preparing spawn area: 17%

[16:00:41] [server thread/INFO]: Changing view distance to 12, from 10

[16:00:41] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id

[16:00:42] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2

[16:00:42] [Netty Server IO #1/INFO] [FML]: Client protocol version 2

[16:00:42] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]

[16:00:42] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established

[16:00:42] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[16:00:42] [server thread/INFO]: Player50[local:E:3bdd65db] logged in with entity id 81 at (614.9159769812163, 4.0, 909.0492571176837)

[16:00:42] [server thread/INFO]: Player50 joined the game

[16:00:44] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@187aa84e[id=5613b4a9-5b8c-3e0b-9915-baa04888ddd5,name=Player50,properties={},legacy=false]

com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time

at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]

at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?]

at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]

at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]

at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]

at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]

at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]

at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]

at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]

at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]

at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?]

at net.minecraft.client.Minecraft.func_181037_M(Minecraft.java:2915) [Minecraft.class:?]

at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:130) [skinManager$3.class:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_77]

at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_77]

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_77]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_77]

at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]

[16:00:49] [server thread/FATAL]: Error executing task

java.util.concurrent.ExecutionException: java.lang.NullPointerException

at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_77]

at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_77]

at net.minecraft.util.Util.runTask(Util.java:23) [util.class:?]

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

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

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

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

at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]

Caused by: java.lang.NullPointerException

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

at net.minecraft.block.Block.canSustainPlant(Block.java:1993) ~[block.class:?]

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

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

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

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

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

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

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

at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:15) ~[PacketThreadUtil$1.class:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_77]

at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_77]

at net.minecraft.util.Util.runTask(Util.java:22) ~[util.class:?]

... 5 more

[16:00:50] [server thread/INFO]: Stopping server

[16:00:50] [server thread/INFO]: Saving players

[16:00:50] [server thread/INFO]: Saving worlds

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

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

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

[16:00:51] [server thread/INFO] [FML]: Unloading dimension 0

[16:00:51] [server thread/INFO] [FML]: Unloading dimension -1

[16:00:51] [server thread/INFO] [FML]: Unloading dimension 1

[16:00:52] [Client thread/FATAL]: Unreported exception thrown!

java.lang.NullPointerException

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

at net.minecraft.block.Block.canSustainPlant(Block.java:1993) ~[block.class:?]

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

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

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

at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1569) ~[Minecraft.class:?]

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

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

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

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

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

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

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

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

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

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

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

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

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]

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

[16:00:52] [server thread/INFO] [FML]: Applying holder lookups

[16:00:52] [server thread/INFO] [FML]: Holder lookups applied

[16:00:52] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: ---- Minecraft Crash Report ----

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

 

Time: 4/3/16 4:00 PM

Description: Unexpected error

 

java.lang.NullPointerException: Unexpected error

at net.minecraft.item.ItemSeeds.getPlant(ItemSeeds.java:57)

at net.minecraft.block.Block.canSustainPlant(Block.java:1993)

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

at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:149)

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

at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1569)

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

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

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

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

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 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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)

at GradleStart.main(GradleStart.java:26)

 

 

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

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

 

-- Head --

Stacktrace:

at net.minecraft.item.ItemSeeds.getPlant(ItemSeeds.java:57)

at net.minecraft.block.Block.canSustainPlant(Block.java:1993)

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

at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:149)

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

at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1569)

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityPlayerSP['Player50'/81, l='MpServer', x=614.92, y=4.00, z=909.05]]

Chunk stats: MultiplayerChunkCache: 625, 625

Level seed: 0

Level generator: ID 01 - flat, ver 0. Features enabled: false

Level generator options:

Level spawn location: 627.00,4.00,907.00 - World: (627,4,907), Chunk: (at 3,0,11 in 39,56; contains blocks 624,0,896 to 639,255,911), Region: (1,1; contains chunks 32,32 to 63,63, blocks 512,0,512 to 1023,255,1023)

Level time: 12878 game time, 12878 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: 45 total; [EntitySlime['Slime'/35020, l='MpServer', x=616.50, y=4.95, z=984.69], EntitySlime['Slime'/13, l='MpServer', x=555.06, y=4.74, z=834.09], EntitySlime['Slime'/14, l='MpServer', x=555.61, y=4.64, z=911.01], EntitySlime['Slime'/15, l='MpServer', x=561.00, y=4.00, z=924.81], EntitySlime['Slime'/16, l='MpServer', x=575.72, y=4.20, z=967.22], EntitySlime['Slime'/30161, l='MpServer', x=656.50, y=4.00, z=858.16], EntitySlime['Slime'/18, l='MpServer', x=589.06, y=4.00, z=965.94], EntitySlime['Slime'/19, l='MpServer', x=585.53, y=4.93, z=979.00], EntityChicken['Chicken'/21, l='MpServer', x=599.66, y=4.00, z=857.53], EntitySlime['Slime'/22, l='MpServer', x=599.28, y=4.88, z=877.96], EntitySlime['Slime'/23, l='MpServer', x=608.71, y=4.80, z=885.84], EntitySlime['Slime'/24, l='MpServer', x=603.25, y=4.74, z=981.92], EntitySlime['Slime'/25, l='MpServer', x=603.28, y=4.00, z=984.09], EntitySlime['Slime'/27, l='MpServer', x=611.97, y=4.74, z=858.57], EntitySlime['Slime'/28, l='MpServer', x=619.69, y=4.00, z=883.75], EntitySlime['Slime'/29, l='MpServer', x=614.67, y=4.93, z=883.69], EntitySlime['Slime'/30, l='MpServer', x=611.39, y=4.00, z=881.10], EntitySlime['Slime'/31, l='MpServer', x=620.22, y=4.00, z=884.97], EntitySlime['Slime'/32, l='MpServer', x=615.02, y=4.88, z=900.19], EntitySlime['Slime'/35, l='MpServer', x=633.29, y=4.25, z=855.89], EntitySlime['Slime'/36, l='MpServer', x=622.13, y=4.95, z=917.55], EntitySlime['Slime'/37, l='MpServer', x=622.30, y=4.41, z=922.56], EntitySlime['Slime'/38, l='MpServer', x=624.48, y=4.74, z=923.91], EntityRabbit['Rabbit'/39, l='MpServer', x=636.41, y=4.00, z=943.94], EntityRabbit['Rabbit'/40, l='MpServer', x=647.97, y=4.00, z=887.38], EntitySlime['Slime'/41, l='MpServer', x=656.25, y=4.95, z=894.16], EntityCow['Cow'/42, l='MpServer', x=644.25, y=4.00, z=968.34], EntitySlime['Slime'/43, l='MpServer', x=664.34, y=4.25, z=851.27], EntitySlime['Slime'/44, l='MpServer', x=664.71, y=4.41, z=876.82], EntitySlime['Slime'/45, l='MpServer', x=669.78, y=4.00, z=966.44], EntitySlime['Slime'/50, l='MpServer', x=680.41, y=4.00, z=857.91], EntitySlime['Slime'/51, l='MpServer', x=679.53, y=4.00, z=855.25], EntitySlime['Slime'/52, l='MpServer', x=681.31, y=4.00, z=863.00], EntitySlime['Slime'/53, l='MpServer', x=683.76, y=4.14, z=874.41], EntitySlime['Slime'/54, l='MpServer', x=678.03, y=4.00, z=872.03], EntitySlime['Slime'/55, l='MpServer', x=675.66, y=4.00, z=862.00], EntitySlime['Slime'/56, l='MpServer', x=685.63, y=4.00, z=890.22], EntitySlime['Slime'/16504, l='MpServer', x=671.59, y=4.95, z=850.09], EntityPig['Pig'/57, l='MpServer', x=669.03, y=4.00, z=911.97], EntitySlime['Slime'/58, l='MpServer', x=674.06, y=4.00, z=922.13], EntitySlime['Slime'/59, l='MpServer', x=680.63, y=4.00, z=986.91], EntitySlime['Slime'/60, l='MpServer', x=687.03, y=4.00, z=927.84], EntitySlime['Slime'/61, l='MpServer', x=683.02, y=4.74, z=941.89], EntityPlayerSP['Player50'/81, l='MpServer', x=614.92, y=4.00, z=909.05], EntitySlime['Slime'/62, l='MpServer', x=696.91, y=4.00, z=972.22]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

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

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

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

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

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 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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)

at GradleStart.main(GradleStart.java:26)

 

-- System Details --

Details:

Minecraft Version: 1.8.9

Operating System: Windows 10 (amd64) version 10.0

Java Version: 1.8.0_77, Oracle Corporation

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

Memory: 1814156192 bytes (1730 MB) / 2112618496 bytes (2014 MB) up to 2112618496 bytes (2014 MB)

JVM Flags: 5 total; -Xincgc -Xmx1024M -Xms1024M -Xmx2048M -Xms2048M

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP 9.19 Powered by Forge 11.15.1.1808 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.19} [Minecraft Coder Pack] (minecraft.jar)

UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1808.jar)

UCHIJAAAA Forge{11.15.1.1808} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1808.jar)

UCHIJAAAA mi{1.0} [More Items] (bin)

Loaded coremods (and transformers):

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

Launched Version: 1.8.9

LWJGL: 2.9.4

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

GL Caps: Using GL 1.3 multitexturing.

Using GL 1.3 texture combiners.

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

Shaders are available because OpenGL 2.1 is supported.

VBOs are available because OpenGL 1.5 is supported.

 

Using VBOs: No

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)

CPU: 4x Intel® Core i3-3130M CPU @ 2.60GHz

[16:00:52] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Ronnie\Desktop\More Items\More Items 1.8.9\run\.\crash-reports\crash-2016-04-03_16.00.52-client.txt

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

Picked up _JAVA_OPTIONS: -Xmx2048M -Xms2048M

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

 

 

~ Ronaldi2001

Posted

Seed Class:

 

 

package ronaldi2001.MoreItems.items;

 

import net.minecraft.block.Block;

import net.minecraft.item.ItemSeeds;

import ronaldi2001.MoreItems.main.MoreItems;

 

public class MIItemSeeds extends ItemSeeds {

 

public MIItemSeeds(Block crops, Block soil, String name) {

super(crops, soil);

this.setUnlocalizedName(name);

this.setCreativeTab(MoreItems.tabMoreItems);

}

 

}

 

 

 

Crop Class:

 

 

package ronaldi2001.MoreItems.crops;

 

import net.minecraft.block.BlockCrops;

import net.minecraft.item.Item;

import ronaldi2001.MoreItems.init.MoreItemsFood;

import ronaldi2001.MoreItems.init.MoreItemsItems;

 

public class MILemonCrop extends BlockCrops {

 

public MILemonCrop(String name) {

this.setUnlocalizedName(name);

}

 

public Item getSeed() {

return MoreItemsItems.lemon_seeds;

}

 

public Item getCrop() {

return MoreItemsFood.lemon;

}

}

 

 

~ Ronaldi2001

Posted

I followed the video below to help me, it works for him. Someone in the comments of the video has the same problem.

 

 

 

Sorry I just figured out that there is an insert code button for code I will use it next time.

~ Ronaldi2001

Posted

This is the Vanilla implementation of ItemSeeds#getPlant:

public IBlockState getPlant(IBlockAccess world, BlockPos pos) {
  return this.crops.getDefaultState();
}

Where this.crops is assigned from the first parameter of the constructor. In your case, it is somehow null.

 

Ensure your crop variable is not null when your seed's constructor is called or override the method to return your own state.

Posted

Show your main class.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

This is the Vanilla implementation of ItemSeeds#getPlant:

public IBlockState getPlant(IBlockAccess world, BlockPos pos) {
  return this.crops.getDefaultState();
}

Where this.crops is assigned from the first parameter of the constructor. In your case, it is somehow null.

 

Ensure your crop variable is not null when your seed's constructor is called or override the method to return your own state.

 

What would I put to override the state of the crop.

~ Ronaldi2001

Posted

Show your main class.

 

Main Class:

 

 

package ronaldi2001.MoreItems.main;

import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.client.event.ConfigChangedEvent;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;
import ronaldi2001.MoreItems.Config;
import ronaldi2001.MoreItems.crafting.MoreItemsCrafting;
import ronaldi2001.MoreItems.crafting.MoreItemsRecipeRemover;
import ronaldi2001.MoreItems.crafting.MoreItemsSmelting;
import ronaldi2001.MoreItems.creativetab.MoreBlocksTab;
import ronaldi2001.MoreItems.creativetab.MoreItemsTab;
import ronaldi2001.MoreItems.handler.MoreItemsFuelHandler;
import ronaldi2001.MoreItems.init.MoreItemsArmor;
import ronaldi2001.MoreItems.init.MoreItemsBlocks;
import ronaldi2001.MoreItems.init.MoreItemsCrops;
import ronaldi2001.MoreItems.init.MoreItemsFood;
import ronaldi2001.MoreItems.init.MoreItemsItems;
import ronaldi2001.MoreItems.init.MoreItemsTools;
import ronaldi2001.MoreItems.proxy.CommonProxy;

@Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, version = Reference.VERSION)
public class MoreItems {

public static Configuration config;

@Mod.Instance()
public static MoreItems instance;

@SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS)
public static CommonProxy proxy;

public static final MoreItemsTab tabMoreItems = new MoreItemsTab("tabMoreItems");
public static final MoreBlocksTab tabMoreBlocks = new MoreBlocksTab("tabMoreBlocks");

@EventHandler
public void preInit(FMLPreInitializationEvent event)
{

	config = new Configuration(event.getSuggestedConfigurationFile());
	Config.syncConfig();

	MoreItemsItems.init();
	MoreItemsItems.register();
	MoreItemsBlocks.init();
	MoreItemsBlocks.register();
	MoreItemsArmor.init();
	MoreItemsTools.register();
	MoreItemsCrops.register();
	MoreItemsFood.init();
	MoreItemsFood.register();
	MoreItemsCrafting.initRecipes();
	MoreItemsSmelting.initSmelting();
	MoreItemsRecipeRemover.MoreitemsRecipeRemover();
	GameRegistry.registerFuelHandler(new MoreItemsFuelHandler());
}

@EventHandler
public void init(FMLInitializationEvent event)
{

	proxy.registerRenders();
}

@SubscribeEvent
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event) {
	if(event.modID.equals("mi")) {
		Config.syncConfig();
	}
}

@EventHandler
public void postInit(FMLPostInitializationEvent event)
{

}
}

 

 

Crops Class:

 

 

package ronaldi2001.MoreItems.init;

import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.registry.GameRegistry;
import ronaldi2001.MoreItems.crops.MILemonCrop;
import ronaldi2001.MoreItems.main.Reference;

public class MoreItemsCrops {

public static Block lemon_crop;

public static void register() {

	MinecraftForge.addGrassSeed(new ItemStack(MoreItemsItems.lemon_seeds), 10);

	GameRegistry.registerBlock(lemon_crop = new MILemonCrop("lemon_crop"), "lemon_crop");
}

public static void registerRenders() {

	regBlock(lemon_crop);
}

public static void registerRender(Block block) {

}

	public static void regBlock(Block block) {
		Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), 0, new ModelResourceLocation(Reference.MOD_ID + ":" + block.getUnlocalizedName().substring(5), "inventory"));
	}
}

 

 

Items Class for seed:

 

 

package ronaldi2001.MoreItems.init;

import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.registry.GameRegistry;
import ronaldi2001.MoreItems.items.MIItemSeeds;
import ronaldi2001.MoreItems.items.blender;
import ronaldi2001.MoreItems.items.hammer;
import ronaldi2001.MoreItems.items.water_freezer;
import ronaldi2001.MoreItems.main.MoreItems;
import ronaldi2001.MoreItems.main.Reference;

public class MoreItemsItems {

public static Item armor_upgrader;
public static Item metal_plating;
public static Item ultimate_plating;
public static Item unfired_hardened_iron_ingot;
public static Item hardened_iron_ingot;
public static Item hammer;
public static Item water_freezer;
public static Item blender;
public static Item ice_cubes; 
public static Item flour;
public static Item dough;
public static Item flat_dough;
public static Item lemon_seeds;


public static void init() {

	armor_upgrader = new Item().setUnlocalizedName("armor_upgrader").setCreativeTab(MoreItems.tabMoreItems);
	metal_plating = new Item().setUnlocalizedName("metal_plating").setCreativeTab(MoreItems.tabMoreItems);
	ultimate_plating = new Item().setUnlocalizedName("ultimate_plating").setCreativeTab(MoreItems.tabMoreItems);
	unfired_hardened_iron_ingot = new Item().setUnlocalizedName("unfired_hardened_iron_ingot").setCreativeTab(MoreItems.tabMoreItems);
	hardened_iron_ingot = new Item().setUnlocalizedName("hardened_iron_ingot").setCreativeTab(MoreItems.tabMoreItems);
	hammer = new hammer();
	water_freezer = new water_freezer();
	blender = new blender();
	ice_cubes = new Item().setUnlocalizedName("ice_cubes").setCreativeTab(MoreItems.tabMoreItems);
	flour = new Item().setUnlocalizedName("flour").setCreativeTab(CreativeTabs.tabFood);
	dough = new Item().setUnlocalizedName("dough").setCreativeTab(CreativeTabs.tabFood);
	flat_dough = new Item().setUnlocalizedName("flat_dough").setCreativeTab(CreativeTabs.tabFood);
}

public static void register() {

	GameRegistry.registerItem(armor_upgrader, armor_upgrader.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(metal_plating, metal_plating.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(ultimate_plating, ultimate_plating.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(unfired_hardened_iron_ingot, unfired_hardened_iron_ingot.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(hardened_iron_ingot, hardened_iron_ingot.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(hammer, hammer.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(water_freezer, water_freezer.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(blender, blender.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(ice_cubes, ice_cubes.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(flour, flour.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(dough, dough.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(flat_dough, flat_dough.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(lemon_seeds = new MIItemSeeds(MoreItemsCrops.lemon_crop, Blocks.farmland, "lemon_seeds"), "lemon_seeds");
}

public static void registerRenders() {

	registerRender(armor_upgrader);
	registerRender(metal_plating);
	registerRender(ultimate_plating);
	registerRender(unfired_hardened_iron_ingot);
	registerRender(hardened_iron_ingot);
	registerRender(hammer);
	registerRender(water_freezer);
	registerRender(blender);
	registerRender(ice_cubes);
	registerRender(flour);
	registerRender(dough);
	registerRender(flat_dough);
	registerRender(lemon_seeds);
	}

public static void registerRender(Item item) {

	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
}
}

 

~ Ronaldi2001

Posted

You initialize Items before Blocks, but pass a Block (which is null) to your Item's constructor.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Also check the worldsave / serverconfig folder If there is no such file, make a test without this mod  
    • Hi, I've been having trouble trying to use forge as it shows a black screen when I open the game, but I can still interact with it and hear the music.  I've done all of the step by steps and most common fixes like updating drivers, keeping up to date with Java, deleting and reinstalling minecraft, restarting my computer MANY times, even smaller things like splash.properties (I didn't have that file so I added it and set it to false thinking it would do something, definitely not) and making sure to prioritize my rtx 3070 in the settings but with no luck. Minecraft works as intended when I uninstall forge and I also don't have any mods currently, it just gives me this issue when I install forge. I also increased the ram usage, made sure my hardware isn't full or anything, and even changed the resolution in hopes it would fix things. I checked my antivirus and firewall but that isn't the issue either. Trust me, I've done everything I can think of. For some reason the black screen does flicker a little into the main menu, but obviously unplayable. I couldn't even make my way to the settings with how little it flickered. I'm not sure if it flickered randomly or if it was because I was messing around moving and clicking a bunch, I didn't really test it that much.  
    • I've had a really weird issue recently,  I wanted to add the Depper and Darker mod on my dedicated server (MC 1.21 with Fabric 0.16.9, hosted on nitroserv.com) but whenever I do add the mod the sever stops doing anything after listing the mods, and I get no crash or error or anything, just a stuck server. Here's a normal log of the server booting up: https://pastebin.com/JipFF2Eh and here's the log of the server doing the weird thing: https://pastebin.com/W4JBh3eX I just don't understand it. I've tried removing other mods (somewhat randomly) but deeper and darker still breaks my server whenever I add it. NitroServ support staff is about as confused as I am and I've had no response from the Deeper and Darker support staff... Now I know this is the Forge support not the Fabric support but I'm just trying to know if anyone has any kind of idea to fix this (aside from not using the mod obviously) Also I still have a bunch of errors and warnings whenever the server does start properly, are there any of them I should be worried about?
  • Topics

×
×
  • Create New...

Important Information

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