U1timateJ7 / CustomBlocks

A mod that allows you to add your own custom blocks without complex coding and Gradle errors.
Other
8 stars 0 forks source link

Crash - Entrypoint Stage 'Main' #21

Open taycat34 opened 1 month ago

taycat34 commented 1 month ago

Hi! I love the idea of this mod and really would like to use it, but I'm having some issues getting it to load.

It was working fine, but when I tried to restart the game after adding a block it started crashing. I figured the block was bugged so I deleted it, no change. I also deleted the pack, no change. The game will not load at all now with the mod.

I'm using Fabric Loader 0.13.3 in version 1.16.5.

---- Minecraft Crash Report ---- // I let you down. Sorry :(

Time: 10/3/24 11:47 AM Description: Initializing game

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'custom_blocks'! at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils$$Lambda$2236/1366152551.apply(Unknown Source) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52) at net.minecraft.class_310.(class_310.java:437) at net.minecraft.client.main.Main.main(Main.java:177) 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:497) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) Caused by: com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:913) at com.google.gson.Gson.fromJson(Gson.java:887) at com.google.gson.Gson.fromJson(Gson.java:852) at com.google.gson.Gson.fromJson(Gson.java:801) at com.google.gson.Gson.fromJson(Gson.java:773) at com.ulto.customblocks.GenerateCustomElements.generate(GenerateCustomElements.java:48) at com.ulto.customblocks.CustomBlocksMod.onInitialize(CustomBlocksMod.java:16) at net.fabricmc.loader.impl.game.minecraft.Hooks$$Lambda$2235/413705259.accept(Unknown Source) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ... 11 more

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

-- Head -- Thread: Render thread Stacktrace: at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils$$Lambda$2236/1366152551.apply(Unknown Source) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52) at net.minecraft.class_310.(class_310.java:437)

-- Initialization -- Details: Stacktrace: at net.minecraft.client.main.Main.main(Main.java:177) 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:497) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- System Details -- Details: Minecraft Version: 1.16.5 Minecraft Version ID: 1.16.5 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: 865242824 bytes (825 MB) / 2550136832 bytes (2432 MB) up to 3221225472 bytes (3072 MB) CPUs: 12 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx3G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Fabric Mods: custom_blocks: Custom Blocks 1.0.0 fabric: Fabric API 0.42.0+1.16 fabric-api-base: Fabric API Base 0.4.0+3cc0f0907d fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.3.1+3cc0f0907d fabric-biome-api-v1: Fabric Biome API (v1) 3.1.13+3cc0f0907d fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.6+3cc0f0907d fabric-command-api-v1: Fabric Command API (v1) 1.1.3+3cc0f0907d fabric-commands-v0: Fabric Commands (v0) 0.2.3+3cc0f0907d fabric-containers-v0: Fabric Containers (v0) 0.1.12+3cc0f0907d fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.5+3cc0f0907d fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.4+3cc0f0907d fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.8+3cc0f0907d fabric-entity-events-v1: Fabric Entity Events (v1) 1.2.4+3cc0f0907d fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.5+3cc0f0907d fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.2+3cc0f0907d fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+3cc0f0907d fabric-item-api-v1: Fabric Item API (v1) 1.2.2+3cc0f0907d fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.1+3cc0f0907d fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.5+3cc0f0907d fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.2+3cc0f0907d fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.2+3cc0f0907d fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.3+3cc0f0907d fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.4+3cc0f0907d fabric-models-v0: Fabric Models (v0) 0.3.1+3cc0f0907d fabric-networking-api-v1: Fabric Networking API (v1) 1.0.5+3cc0f0907d fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.9+3cc0f0907d fabric-networking-v0: Fabric Networking (v0) 0.3.3+3cc0f0907d fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.6+3cc0f0907d fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+3cc0f0907d fabric-particles-v1: Fabric Particles (v1) 0.2.5+3cc0f0907d fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.6+3cc0f0907d fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.5+3cc0f0907d fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.5+3cc0f0907d fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.3.1+3cc0f0907d fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.6+3cc0f0907d fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.15+3cc0f0907d fabric-rendering-v0: Fabric Rendering (v0) 1.1.3+3cc0f0907d fabric-rendering-v1: Fabric Rendering (v1) 1.6.1+3cc0f0907d fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.8+3cc0f0907d fabric-screen-api-v1: Fabric Screen API (v1) 1.0.1+3cc0f0907d fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.6+3cc0f0907d fabric-structure-api-v1: Fabric Structure API (v1) 1.1.12+3cc0f0907d fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.2+3cc0f0907d fabric-textures-v0: Fabric Textures (v0) 1.0.7+3cc0f0907d fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.8+3cc0f0907d fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.0+3cc0f0907d fabricloader: Fabric Loader 0.13.3 jankson: Jankson 3.0.1+j1.2.0 java: Java HotSpot(TM) 64-Bit Server VM 8 libgui: LibGui 3.3.5+1.16.5 minecraft: Minecraft 1.16.5 Launched Version: fabric-loader-0.13.3-1.16.5 Backend library: LWJGL version 3.2.2 build 10 Backend API: NO CONTEXT GL Caps: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric' Type: Client (map_client.txt) CPU: