jackerop Posted June 6, 2019 Share Posted June 6, 2019 Basically I equipped a headgear and the game crash, I then opened new world I did the same thing again and it crashed. Can someone explain why even though the problem can't be fixed? Crash report: ---- Minecraft Crash Report ---- // Shall we play a game? Time: 6/7/19 4:51 AM Description: Ticking entity java.lang.ClassCastException: net.minecraft.client.entity.EntityPlayerSP cannot be cast to net.minecraft.entity.player.EntityPlayerMP at DamageIndicatorsMod.core.DIEventBus.livingEvent(DIEventBus.java:229) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_175_DIEventBus_livingEvent_LivingUpdateEvent.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) at net.minecraftforge.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:580) at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2095) at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:234) at net.minecraft.client.entity.EntityPlayerSP.func_70071_h_(EntityPlayerSP.java:181) at net.minecraft.world.World.func_72866_a(World.java:1993) at net.minecraft.world.World.func_72870_g(World.java:1955) at net.minecraft.world.World.func_72939_s(World.java:1759) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1847) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1098) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at DamageIndicatorsMod.core.DIEventBus.livingEvent(DIEventBus.java:229) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_175_DIEventBus_livingEvent_LivingUpdateEvent.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) at net.minecraftforge.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:580) at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2095) at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:234) at net.minecraft.client.entity.EntityPlayerSP.func_70071_h_(EntityPlayerSP.java:181) at net.minecraft.world.World.func_72866_a(World.java:1993) at net.minecraft.world.World.func_72870_g(World.java:1955) -- Entity being ticked -- Details: Entity Type: null (net.minecraft.client.entity.EntityPlayerSP) Entity ID: 72 Entity Name: jackerop Entity's Exact location: -203.50, 4.00, 1134.50 Entity's Block location: World: (-204,4,1134), Chunk: (at 4,0,14 in -13,70; contains blocks -208,0,1120 to -193,255,1135), Region: (-1,2; contains chunks -32,64 to -1,95, blocks -512,0,1024 to -1,255,1535) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at net.minecraft.world.World.func_72939_s(World.java:1759) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityPlayerSP['jackerop'/72, l='MpServer', x=-203.50, y=4.00, z=1134.50]] Chunk stats: MultiplayerChunkCache: 529, 529 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: World: (-202,4,1131), Chunk: (at 6,0,11 in -13,70; contains blocks -208,0,1120 to -193,255,1135), Region: (-1,2; contains chunks -32,64 to -1,95, blocks -512,0,1024 to -1,255,1535) Level time: 681 game time, 681 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: 38 total; [EntityChicken['Chicken'/7, l='MpServer', x=-276.50, y=4.00, z=1181.50], EntityChicken['Chicken'/8, l='MpServer', x=-280.50, y=4.00, z=1182.50], EntityChicken['Chicken'/9, l='MpServer', x=-278.50, y=4.00, z=1179.50], EntitySheep['Sheep'/10, l='MpServer', x=-273.50, y=4.00, z=1185.50], EntitySheep['Sheep'/11, l='MpServer', x=-262.50, y=4.00, z=1097.50], EntitySheep['Sheep'/12, l='MpServer', x=-261.50, y=4.00, z=1097.50], EntitySheep['Sheep'/13, l='MpServer', x=-263.50, y=4.00, z=1102.50], EntitySheep['Sheep'/14, l='MpServer', x=-265.50, y=4.00, z=1104.50], EntitySheep['Sheep'/15, l='MpServer', x=-263.52, y=4.00, z=1116.99], EntitySheep['Sheep'/16, l='MpServer', x=-269.22, y=4.00, z=1115.65], EntitySheep['Sheep'/17, l='MpServer', x=-265.39, y=4.00, z=1119.30], EntitySheep['Sheep'/18, l='MpServer', x=-261.50, y=4.00, z=1120.50], EntitySlime['Slime'/19, l='MpServer', x=-261.88, y=4.00, z=1136.73], EntitySlime['Slime'/21078, l='MpServer', x=-229.28, y=5.25, z=1093.93], EntitySlime['Slime'/24, l='MpServer', x=-218.38, y=5.25, z=1169.60], EntitySlime['Slime'/26, l='MpServer', x=-196.02, y=4.00, z=1184.34], EntitySlime['Slime'/27, l='MpServer', x=-199.17, y=4.00, z=1203.11], EntitySlime['Slime'/28, l='MpServer', x=-189.84, y=4.75, z=1211.26], EntitySlime['Slime'/33, l='MpServer', x=-184.08, y=4.00, z=1058.31], EntitySlime['Slime'/34, l='MpServer', x=-181.92, y=5.25, z=1171.44], EntitySlime['Slime'/35, l='MpServer', x=-160.33, y=4.00, z=1171.85], EntitySlime['Slime'/36, l='MpServer', x=-170.58, y=4.00, z=1158.44], EntityPig['Pig'/37, l='MpServer', x=-147.50, y=4.00, z=1054.50], EntityPig['Pig'/38, l='MpServer', x=-148.50, y=4.00, z=1057.50], EntityCow['Cow'/39, l='MpServer', x=-148.50, y=4.00, z=1062.50], EntityCow['Cow'/40, l='MpServer', x=-151.19, y=4.00, z=1063.65], EntitySlime['Slime'/41, l='MpServer', x=-148.36, y=4.50, z=1113.62], EntityPig['Pig'/42, l='MpServer', x=-147.50, y=4.00, z=1150.50], EntityPlayerSP['jackerop'/72, l='MpServer', x=-203.50, y=4.00, z=1134.50], EntitySlime['Slime'/43, l='MpServer', x=-160.50, y=4.28, z=1175.59], EntityLatchedRenderer['unknown'/2924, l='MpServer', x=8.50, y=65.00, z=8.50], EntityChicken['Chicken'/45, l='MpServer', x=-149.63, y=4.00, z=1209.75], EntitySlime['Slime'/48, l='MpServer', x=-124.17, y=5.02, z=1129.77], EntityPig['Pig'/49, l='MpServer', x=-153.20, y=4.00, z=1144.69], EntityPig['Pig'/50, l='MpServer', x=-142.50, y=4.00, z=1152.50], EntitySheep['Sheep'/51, l='MpServer', x=-143.50, y=4.00, z=1154.50], EntitySlime['Slime'/23988, l='MpServer', x=-155.64, y=4.00, z=1105.47], EntitySlime['Slime'/32573, l='MpServer', x=-275.92, y=5.18, z=1126.55]] Retry entities: 1 total; [EntityLatchedRenderer['unknown'/2924, l='MpServer', x=8.50, y=65.00, z=8.50]] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:420) at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2741) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:419) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Mac OS X (x86_64) version 10.12.6 Java Version: 1.8.0_74, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 386202944 bytes (368 MB) / 838860800 bytes (800 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.42 Powered by Forge 14.23.5.2838 17 mods loaded, 17 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored | State | ID | Version | Source | Signature | |:------ |:------------------- |:------------ |:---------------------------------------------- |:---------------------------------------- | | LCHIJA | minecraft | 1.12.2 | minecraft.jar | None | | LCHIJA | mcp | 9.42 | minecraft.jar | None | | LCHIJA | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2838.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | LCHIJA | forge | 14.23.5.2838 | forge-1.12.2-14.23.5.2838.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | LCHIJA | swordskillsapi | 1.1.0 | 1.12.2-SwordSkillsApi-1.1.0.jar | None | | LCHIJA | dynamicswordskills | 1.12.2-6.0.1 | 1.12.2-DynamicSwordSkills-6.0.1.jar | None | | LCHIJA | codechickenlib | 3.2.2.353 | CodeChickenLib-1.12.2.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 | | LCHIJA | damageindicatorsmod | 1.0 | Damage-Indicators-Mod-1.12.2.jar | None | | LCHIJA | ebwizardry | 4.1.4 | Electroblob's+Wizardry+-+4.1.4+-+MC+1.12.2.jar | None | | LCHIJA | ichunutil | 7.2.1 | iChun-Util-Mod-1.12.2.jar | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 | | LCHIJA | jei | 4.15.0.278 | jei_1.12.2-4.15.0.278.jar | None | | LCHIJA | journeymap | 1.12.2-5.5.4 | journeymap-1.12.2-5.5.4.jar | None | | LCHIJA | mobamputation | 7.0.0 | Mob-Amputation-Mod-1.12.2.jar | None | | LCHIJA | mobends | 0.24 | mobends-0.24_for_MC-1.12.jar | None | | LCHIJA | nei | 2.4.2 | NotEnoughItems-1.12.2-2.4.2.240-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 | | LCHIJA | overlord | 2.4.14 | Overlord-1.12.2-2.4.14.jar | None | | LCHIJA | overlordanimemod | 0.7.7 | OverlordAnimeMod1.12.2-0.7.7.jar | None | Loaded coremods (and transformers): GL info: ' Vendor: 'Intel Inc.' Version: '2.1 INTEL-10.25.19' Renderer: 'Intel(R) Iris(TM) Graphics 650' Launched Version: 1.12.2-forge1.12.2-14.23.5.2838 LWJGL: 2.9.2 OpenGL: Intel(R) Iris(TM) Graphics 650 GL version 2.1 INTEL-10.25.19, Intel Inc. GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because ARB_framebuffer_object 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: Yes 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(R) Core(TM) i5-7267U CPU @ 3.10GHz Quote Link to comment Share on other sites More sharing options...
DaemonUmbra Posted June 6, 2019 Share Posted June 6, 2019 DamageIndicators is broken/poorly made, complain to the author. Quote This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy. As the most common issue I feel I should put this outside the main bulk: The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge. If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan. For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety. Spoiler Logs (Most issues require logs to diagnose): Spoiler Please post logs using one of the following sites (Thank you Lumber Wizard for the list): https://gist.github.com/: 100MB Requires member (Free) https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$) https://hastebin.com/: 400KB Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads. What to provide: ...for Crashes and Runtime issues: Minecraft 1.14.4 and newer: Post debug.log Older versions: Please update... ...for Installer Issues: Post your installer log, found in the same place you ran the installer This log will be called either installer.log or named the same as the installer but with .log on the end Note for Windows users: Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension Where to get it: Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs. Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch: Spoiler Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge) Make a launcher profile targeting this version of Forge. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it). Now launch the pack through that profile and follow the "Mojang Launcher" instructions above. Video: Spoiler or alternately, Fallback ("No logs are generated"): If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft Server Not Starting: Spoiler If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output. Reporting Illegal/Inappropriate Adfocus Ads: Spoiler Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad. Lex will need the Ad ID contained in that URL to report it to Adfocus' support team. Posting your mod as a GitHub Repo: Spoiler When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub. When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository. Open a command prompt (CMD, Powershell, Terminal, etc). Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in). Run the following commands: git init git remote add origin [Your Repository's URL] In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git git fetch git checkout --track origin/master git stage * git commit -m "[Your commit message]" git push Navigate to GitHub and you should now see most of the files. note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from) Now you can share your GitHub link with those who you are asking for help. [Workaround line, please ignore] Link to comment Share on other sites More sharing options...
Recommended Posts
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.