I am going to start with saying that I am not very adept with Java, so I'm asking for a bit of help. I made an account just to try and make this post. I keep having my Minecraft crash whenever I pick up any item. I have tried picking up a dirt block and my game crashes. I copy and pasted the crash report below, and I don't understand what I've done wrong. It's been a while since I've played on PC and messed with mods, so I did routine check ups. I updated Java, double checked I was using the suggested Forge, tried even to lower my graphic settings to see if that was crashing my game. When I read the report I tried to find any similar problems over this forum and other sources, to be left very confused as almost no one had a similar problem to mine when using Pixelmon. I'm afraid it's my Forge, but I don't understand what is broken. I made a new world and named it 'Crashes yayy' just to repeat the crash and get a new crash report. Is there anyone able to help me see what the problem is? I can fix it by editing my files, just I don't know where the problem lies.
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.
Time: 5/24/20 3:40 PM
Description: Ticking player
java.lang.NoSuchMethodError: net.minecraftforge.fml.common.gameevent.PlayerEvent$ItemPickupEvent.getStack()Lnet/minecraft/item/ItemStack;
at com.pixelmonmod.pixelmon.quests.listeners.ItemListeners.onPickupItem(ItemListeners.java:40)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_76_ItemListeners_onPickupItem_ItemPickupEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
at net.minecraftforge.fml.common.FMLCommonHandler.firePlayerItemPickupEvent(FMLCommonHandler.java:588)
at net.minecraft.entity.item.EntityItem.func_70100_b_(EntityItem.java:401)
at net.minecraft.entity.player.EntityPlayer.func_71044_o(EntityPlayer.java:598)
at net.minecraft.entity.player.EntityPlayer.func_70636_d(EntityPlayer.java:569)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2166)
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:232)
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:382)
at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:171)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:211)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:179)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:784)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:665)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:523)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
at com.pixelmonmod.pixelmon.quests.listeners.ItemListeners.onPickupItem(ItemListeners.java:40)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_76_ItemListeners_onPickupItem_ItemPickupEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
at net.minecraftforge.fml.common.FMLCommonHandler.firePlayerItemPickupEvent(FMLCommonHandler.java:588)
at net.minecraft.entity.item.EntityItem.func_70100_b_(EntityItem.java:401)
at net.minecraft.entity.player.EntityPlayer.func_71044_o(EntityPlayer.java:598)
at net.minecraft.entity.player.EntityPlayer.func_70636_d(EntityPlayer.java:569)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2166)
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:232)
-- Player being ticked --
Details:
Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)
Entity ID: 653
Entity Name: F1ashMan48
Entity's Exact location: 235.41, 70.54, 245.93
Entity's Block location: World: (235,70,245), Chunk: (at 11,4,5 in 14,15; contains blocks 224,0,240 to 239,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, -0.30, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:382)
at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:171)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:211)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285)
-- Ticking connection --
Details:
Connection: net.minecraft.network.NetworkManager@993c600
Stacktrace:
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:179)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:784)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:665)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:523)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.12
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 883848864 bytes (842 MB) / 1644167168 bytes (1568 MB) up to 2147483648 bytes (2048 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 8, allocated: 20, tallocated: 86
FML: MCP 9.40 Powered by Forge 14.21.1.2443 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA minecraft{1.12} [Minecraft] (minecraft.jar)
UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.12-14.21.1.2443.jar)
UCHIJAAAA forge{14.21.1.2443} [Minecraft Forge] (forge-1.12-14.21.1.2443.jar)
UCHIJAAAA pixelmon{7.3.1} [Pixelmon] (Pixelmon-1.12.2-7.3.1-universal.jar)
Loaded coremods (and transformers):
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [EntityPlayerMP['F1ashMan48'/653, l='Crashes yay', x=235.41, y=70.54, z=245.93]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'