Jump to content

Recommended Posts

Posted

I am trying to use Geckolib while making a mod for 1.19.4.

First I made a mod myself in IntelliJ and followed all of the steps detailed in Geckolib's own guide on installing it as a dependency in your mod. I tried running the client, but the game instantly crashed. I then tried using Mcreator with the Geckolib plugin, and made the workspace use Geckolib as a dependency. I followed the official guide of the plugin on how to install it. When I try to run the client, the game instantly crashes with the same errors.

Crash Report:

Spoiler

---- Minecraft Crash Report ----
// There are four lights!

Time: 2023-07-25 18:03:43
Description: Rendering overlay

com.google.gson.JsonSyntaxException: Expected post to be a JsonArray, was an object ({"ve...0]})
    at net.minecraft.util.GsonHelper.convertToJsonArray(GsonHelper.java:354) ~[forge-1.19.4-45.1.0_mapped_official_1.19.4-recomp.jar%23189!/:?] {re:classloading}
    at net.minecraft.util.GsonHelper.getAsJsonArray(GsonHelper.java:360) ~[forge-1.19.4-45.1.0_mapped_official_1.19.4-recomp.jar%23189!/:?] {re:classloading}
    at software.bernie.geckolib.loading.json.typeadapter.BakedAnimationsAdapter.getTripletObj(BakedAnimationsAdapter.java:111) ~[geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4.jar%23196!/:4.1.3] {re:classloading}
    at software.bernie.geckolib.loading.json.typeadapter.BakedAnimationsAdapter.bakeBoneAnimations(BakedAnimationsAdapter.java:71) ~[geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4.jar%23196!/:4.1.3] {re:classloading}
    at software.bernie.geckolib.loading.json.typeadapter.BakedAnimationsAdapter.bakeAnimation(BakedAnimationsAdapter.java:53) ~[geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4.jar%23196!/:4.1.3] {re:classloading}
    at software.bernie.geckolib.loading.json.typeadapter.BakedAnimationsAdapter.deserialize(BakedAnimationsAdapter.java:39) ~[geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4.jar%23196!/:4.1.3] {re:classloading}
    at software.bernie.geckolib.loading.json.typeadapter.BakedAnimationsAdapter.deserialize(BakedAnimationsAdapter.java:31) ~[geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4.jar%23196!/:4.1.3] {re:classloading}
    at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:76) ~[gson-2.10.jar%23128!/:?] {}
    at com.google.gson.Gson.fromJson(Gson.java:1214) ~[gson-2.10.jar%23128!/:?] {}
    at com.google.gson.Gson.fromJson(Gson.java:1319) ~[gson-2.10.jar%23128!/:?] {}
    at com.google.gson.Gson.fromJson(Gson.java:1261) ~[gson-2.10.jar%23128!/:?] {}
    at software.bernie.geckolib.loading.FileLoader.loadAnimationsFile(FileLoader.java:28) ~[geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4.jar%23196!/:4.1.3] {re:classloading}
    at software.bernie.geckolib.cache.GeckoLibCache.lambda$loadAnimations$1(GeckoLibCache.java:90) ~[geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4.jar%23196!/:4.1.3] {re:classloading}
    at software.bernie.geckolib.cache.GeckoLibCache.lambda$loadResources$5(GeckoLibCache.java:112) ~[geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4.jar%23196!/:4.1.3] {re:classloading}
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] {}
    at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?] {}
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}
    at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
    at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {}
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {}
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {}


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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.util.GsonHelper.convertToJsonArray(GsonHelper.java:354) ~[forge-1.19.4-45.1.0_mapped_official_1.19.4-recomp.jar%23189!/:?] {re:classloading}
    at net.minecraft.util.GsonHelper.getAsJsonArray(GsonHelper.java:360) ~[forge-1.19.4-45.1.0_mapped_official_1.19.4-recomp.jar%23189!/:?] {re:classloading}
    at software.bernie.geckolib.loading.json.typeadapter.BakedAnimationsAdapter.getTripletObj(BakedAnimationsAdapter.java:111) ~[geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4.jar%23196!/:4.1.3] {re:classloading}
    at software.bernie.geckolib.loading.json.typeadapter.BakedAnimationsAdapter.bakeBoneAnimations(BakedAnimationsAdapter.java:71) ~[geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4.jar%23196!/:4.1.3] {re:classloading}
-- Overlay render details --
Details:
    Overlay name: net.minecraft.client.gui.screens.LoadingOverlay
Stacktrace:
    at net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:943) ~[forge-1.19.4-45.1.0_mapped_official_1.19.4-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1148) ~[forge-1.19.4-45.1.0_mapped_official_1.19.4-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.run(Minecraft.java:719) ~[forge-1.19.4-45.1.0_mapped_official_1.19.4-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:205) ~[forge-1.19.4-45.1.0_mapped_official_1.19.4-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
    at net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:25) ~[fmlloader-1.19.4-45.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {}


-- Last reload --
Details:
    Reload number: 1
    Reload reason: initial
    Finished: No
    Packs: vanilla, mod_resources

-- System Details --
Details:
    Minecraft Version: 1.19.4
    Minecraft Version ID: 1.19.4
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 17.0.5, Eclipse Adoptium
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
    Memory: 177732416 bytes (169 MiB) / 452984832 bytes (432 MiB) up to 4278190080 bytes (4080 MiB)
    CPUs: 4
    Processor Vendor: GenuineIntel
    Processor Name: Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
    Identifier: Intel64 Family 6 Model 158 Stepping 9
    Microarchitecture: Kaby Lake
    Frequency (GHz): 3.79
    Number of physical packages: 1
    Number of physical CPUs: 4
    Number of logical CPUs: 4
    Graphics card #0 name: NVIDIA GeForce GTX 1080
    Graphics card #0 vendor: NVIDIA (0x10de)
    Graphics card #0 VRAM (MB): 4095.00
    Graphics card #0 deviceId: 0x1b80
    Graphics card #0 versionInfo: DriverVersion=31.0.15.3179
    Memory slot #0 capacity (MB): 8192.00
    Memory slot #0 clockSpeed (GHz): 1.92
    Memory slot #0 type: DDR4
    Memory slot #1 capacity (MB): 8192.00
    Memory slot #1 clockSpeed (GHz): 1.92
    Memory slot #1 type: DDR4
    Virtual memory max (MB): 21673.70
    Virtual memory used (MB): 19629.14
    Swap memory total (MB): 5355.34
    Swap memory used (MB): 198.91
    JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
    Launched Version: MOD_DEV
    Backend library: LWJGL version 3.3.1 build 7
    Backend API: NVIDIA GeForce GTX 1080/PCIe/SSE2 GL version 3.2.0 NVIDIA 531.79, NVIDIA Corporation
    Window size: 854x480
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: 
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    Graphics mode: fast
    Resource Packs: 
    Current Language: en_us
    CPU: 4x Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
    ModLauncher: 10.0.9+10.0.9+main.dcd20f30
    ModLauncher launch target: forgeclientuserdev
    ModLauncher naming: mcp
    ModLauncher services: 
        mixin-0.8.5.jar mixin PLUGINSERVICE 
        eventbus-6.0.3.jar eventbus PLUGINSERVICE 
        fmlloader-1.19.4-45.1.0.jar slf4jfixer PLUGINSERVICE 
        fmlloader-1.19.4-45.1.0.jar object_holder_definalize PLUGINSERVICE 
        fmlloader-1.19.4-45.1.0.jar runtime_enum_extender PLUGINSERVICE 
        fmlloader-1.19.4-45.1.0.jar capability_token_subclass PLUGINSERVICE 
        accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE 
        fmlloader-1.19.4-45.1.0.jar runtimedistcleaner PLUGINSERVICE 
        modlauncher-10.0.9.jar mixin TRANSFORMATIONSERVICE 
        modlauncher-10.0.9.jar fml TRANSFORMATIONSERVICE 
    FML Language Providers: 
        [email protected]
        lowcodefml@null
        javafml@null
    Mod List: 
        forge-1.19.4-45.1.0_mapped_official_1.19.4-recomp.|Minecraft                     |minecraft                     |1.19.4              |SIDED_SETU|Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
                                                          |Forge                         |forge                         |45.1.0              |SIDED_SETU|Manifest: NOSIGNATURE
        geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4|GeckoLib 4                    |geckolib                      |4.1.3               |SIDED_SETU|Manifest: NOSIGNATURE
        main                                              |The Diffy Experience          |the_diffy_experience          |1.0.0               |SIDED_SETU|Manifest: NOSIGNATURE
    Crash Report UUID: e0c78a1d-6fb9-404f-b5d2-b949e65306be
    FML: 45.1
    Forge: net.minecraftforge:45.1.0

latest.log:

https://mclo.gs/hnNSKMl

 

Why does this happen, even if I follow tutorials and guides precisely?

How do I fix it?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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