Ok, so I was following a tutorial and a little ways through I got a little more self confident than I should've, as I paused the video and just starting going off on my own. Probably important that this tutorial was on adding items, and a link to the tutorial is
Beyond this, the only thing I could find to remediate crashing a little bit was I forgot to add a damage value and attack speed value to the axe. Now, Minecraft doesn't crash at the beginning of loading, but right as it finishes loading. Because I also went off on my own adding a bunch of files, I have no idea if any of them have something to do with the issue? They're mainly jsons relating either to the tool's crafting recipes or them loading the textures into the game. Because of this, I feel like its something to do with the actual java code I've implemented. Also note, previously this guy had made a class for each individual block, and I also thought I could optimize this by making a new class to encapsulate all basic blocks created, and another for blocks that illuminate.
Sorry for the info dump, I just have no idea what might be relating to the crash. Anyways, here's the crash report:
---- Minecraft Crash Report ----
// I just don't know what went wrong
Time: 10/10/19 3:17 PM
Description: Initializing game
java.lang.RuntimeException: One of more entry values did not copy to the correct id. Check log for details!
at net.minecraftforge.registries.ForgeRegistry.sync(ForgeRegistry.java:555)
at net.minecraftforge.registries.GameData.loadRegistry(GameData.java:531)
at net.minecraftforge.registries.GameData.freezeData(GameData.java:237)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:753)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
at net.minecraft.client.Minecraft.init(Minecraft.java:581)
at net.minecraft.client.Minecraft.run(Minecraft.java:421)
at net.minecraft.client.main.Main.main(Main.java:118)
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:25)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at net.minecraftforge.registries.ForgeRegistry.sync(ForgeRegistry.java:555)
at net.minecraftforge.registries.GameData.loadRegistry(GameData.java:531)
at net.minecraftforge.registries.GameData.freezeData(GameData.java:237)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:753)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
at net.minecraft.client.Minecraft.init(Minecraft.java:581)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:421)
at net.minecraft.client.main.Main.main(Main.java:118)
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:25)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_191, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 768014040 bytes (732 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2768 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
| State | ID | Version | Source | Signature |
|:------ |:--------- |:------------ |:-------------------------------- |:--------- |
| UCHIJA | minecraft | 1.12.2 | minecraft.jar | None |
| UCHIJA | mcp | 9.42 | minecraft.jar | None |
| UCHIJA | FML | 8.0.99.99 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCHIJA | forge | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCHIJA | tm | 1.0 | bin | None |
Loaded coremods (and transformers):
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 431.60' Renderer: 'GeForce GT 730/PCIe/SSE2'
Launched Version: 1.12.2
LWJGL: 2.9.4
OpenGL: GeForce GT 730/PCIe/SSE2 GL version 4.6.0 NVIDIA 431.60, NVIDIA Corporation
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: 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-6400 CPU @ 2.70GHz
Could you start up Minecraft, wait for it to crash, then copy the entire log from your IDE and paste it here using paste.ubuntu.com? Apparently you have a broken ID for something and that log should tell us what it is.
The issue was fixed, and you were right. Turns out I accidentally set the sarconite block's name to sarconite ore block, which conflicted as that already exists. Of course i'd miss something so small.
Ok, so I was following a tutorial and a little ways through I got a little more self confident than I should've, as I paused the video and just starting going off on my own. Probably important that this tutorial was on adding items, and a link to the tutorial is
Beyond this, the only thing I could find to remediate crashing a little bit was I forgot to add a damage value and attack speed value to the axe. Now, Minecraft doesn't crash at the beginning of loading, but right as it finishes loading. Because I also went off on my own adding a bunch of files, I have no idea if any of them have something to do with the issue? They're mainly jsons relating either to the tool's crafting recipes or them loading the textures into the game. Because of this, I feel like its something to do with the actual java code I've implemented. Also note, previously this guy had made a class for each individual block, and I also thought I could optimize this by making a new class to encapsulate all basic blocks created, and another for blocks that illuminate.
Sorry for the info dump, I just have no idea what might be relating to the crash. Anyways, here's the crash report:
Is it possible to show your code?
I edited this, as now I've just made a GitHub repository with everything. Here's a link:
https://github.com/moosyman/minecraft-mod
Could you start up Minecraft, wait for it to crash, then copy the entire log from your IDE and paste it here using paste.ubuntu.com? Apparently you have a broken ID for something and that log should tell us what it is.
Mapping and Modding rules | Global rules
You mean like the text that gets spat out onto the eclipse console when it crashes, right? If so, this is it: http://paste.ubuntu.com/p/mwC9KWnzWb/plain/
The issue was fixed, and you were right. Turns out I accidentally set the sarconite block's name to sarconite ore block, which conflicted as that already exists. Of course i'd miss something so small.