Custom mob with custom animation instantly crash the minecraft

Started by Yoxan on Fri, 02/19/2021 - 21:31

Topic category: Help with modding (Java Edition)

Last seen on 01:39, 11. Jun 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom mob with custom animation instantly crash the minecraft
Fri, 02/19/2021 - 21:31

So, I made a custom mob on Blockbench v3.6.6 with the Geckolib plugin and exported as a animated java entity and the animation, I followed this tutorial: https://mcreator.net/forum/66357/feders-geckolib-plugin-tutorial?page=11 , but when I open minecraft and spawn the mob my game instantly crash. Can someone please spot what is making it crash?

here is the crash log:

---- Minecraft Crash Report ----

Time: 19/02/21 18:20
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
    at net.minecraft.client.renderer.entity.EntityRendererManager.func_229086_a_(EntityRendererManager.java:232) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.WorldRenderer.func_228426_a_(WorldRenderer.java:925) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.GameRenderer.func_228378_a_(GameRenderer.java:600) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:422) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:924) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:553) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:204) ~[Forge%201.15.2.jar:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] {}
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) ~[forge-1.15.2-31.2.48.jar:31.2] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.2.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.2.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.2.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.2.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.2.jar:?] {}

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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.client.renderer.entity.EntityRendererManager.func_229086_a_(EntityRendererManager.java:232)
    at net.minecraft.client.renderer.WorldRenderer.func_228426_a_(WorldRenderer.java:925)
    at net.minecraft.client.renderer.GameRenderer.func_228378_a_(GameRenderer.java:600)

-- Affected level --
Details:
    All players: 1 total; [ClientPlayerEntity['Calacredo'/293, l='MpServer', x=-141.93, y=74.00, z=91.45]]
    Chunk stats: Client Chunk Cache: 2025, 1521
    Level dimension: DimensionType{minecraft:overworld}
    Level name: MpServer
    Level seed: -2357685108645043712
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: {}
    Level spawn location: World: (-144,72,96), Chunk: (at 0,4,0 in -9,6; contains blocks -144,0,96 to -129,255,111), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Level time: 1238 game time, 1238 day time
    Known server brands: 
    Level was modded: false
    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
    Server brand: forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:442)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:1763)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:572)
    at net.minecraft.client.main.Main.main(SourceFile:204)
    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.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51)
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

-- System Details --
Details:
    Minecraft Version: 1.15.2
    Minecraft Version ID: 1.15.2
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.8.0_261, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 249530824 bytes (237 MB) / 906227712 bytes (864 MB) up to 10321395712 bytes (9843 MB)
    CPUs: 4
    JVM Flags: 5 total; -Xmn128M -Xmx9856M -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -XX:+UseConcMarkSweepGC
    ModLauncher: 5.1.2+70+master.2845bb9
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /mixin-0.8.2.jar mixin PLUGINSERVICE 
        /eventbus-2.2.1-service.jar eventbus PLUGINSERVICE 
        /forge-1.15.2-31.2.48.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.15.2-31.2.48.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-2.1.3-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.15.2-31.2.48.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.15.2-31.2.48.jar runtimedistcleaner PLUGINSERVICE 
        /mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE 
        /forge-1.15.2-31.2.48.jar fml TRANSFORMATIONSERVICE 
    FML: 31.2
    Forge: net.minecraftforge:31.2.48
    FML Language Providers: 
        javafml@31.2
        minecraft@1
    Mod List: 
        forge-1.15.2-31.2.48-client.jar Minecraft {minecraft@1.15.2 DONE}
        forge-1.15.2-31.2.48-universal.jar Forge {forge@31.2.48 DONE}
        TheAshen.jar The Ashen {theashen@1.1.2 DONE}
        tl_skin_cape_forge_1.15.2-1.10.jar TLSkinCape {tlskincape@1.6 DONE}
        forge-1.15.2-geckolib-2.0.0.jar Geckolib {geckolib@2.0.0 DONE}
        jei-1.15.2-6.0.3.15.jar Just Enough Items {jei@6.0.3.15 DONE}
    Launched Version: Forge 1.15.2
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: AMD Radeon R7 200 Series GL version 4.6.14736 Compatibility Profile Context 20.9.1 27.20.12029.1000, ATI Technologies Inc.
    GL Caps: Using framebuffer using OpenGL 3.0
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (US)
    CPU: 4x Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz

Last seen on 01:39, 11. Jun 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sorry for the bump, but I…
Mon, 02/22/2021 - 12:53

Sorry for the bump, but I really need help with this.

Last seen on 01:39, 11. Jun 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
.
Sun, 02/28/2021 - 19:59

.