Jump to content

crash when minecraft is initializing


Axeuul

Recommended Posts

Hello everyone, I tried to play (with the CurseForge app) with mods that I love but it doesn't work :

(I don't know a lot about mods, that's why I need your help)

 

Here's my crash report :

 

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

Time: 9/13/21 7:51 PM
Description: Initializing game

java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.util.registry.Registry
    at net.minecraft.item.Items.func_221546_a(Items.java:915) ~[?:?] {re:mixin,pl:object_holder_definalize:A,re:classloading,pl:object_holder_definalize:A}
    at net.minecraft.item.Items.<clinit>(Items.java:17) ~[?:?] {re:mixin,pl:object_holder_definalize:A,re:classloading,pl:object_holder_definalize:A}
    at net.minecraft.client.renderer.ItemRenderer.<clinit>(ItemRenderer.java:49) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:enchantedbookredesign.mixins.json:ItemRendererMixin,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.RenderType.<clinit>(SourceFile:282) ~[?:?] {re:classloading,re:mixin}
    at net.minecraft.client.gui.fonts.EmptyGlyph.<init>(SourceFile:10) ~[?:?] {re:classloading}
    at net.minecraft.client.gui.fonts.Font.<clinit>(SourceFile:30) ~[?:?] {re:classloading}
    at net.minecraft.client.gui.fonts.FontResourceManager.func_212318_b(SourceFile:152) ~[?:?] {re:classloading}
    at net.minecraft.client.gui.fonts.FontResourceManager$$Lambda$1653/862791841.apply(Unknown Source) ~[?:?] {}
    at java.util.HashMap.computeIfAbsent(HashMap.java:1118) ~[?:1.8.0_51] {}
    at net.minecraft.client.gui.fonts.FontResourceManager.func_211504_a(SourceFile:151) ~[?:?] {re:classloading}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:408) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/immersive_portals/immersive_portals.mixins_client.json:block_manipulation.MixinMinecraftClient_B,pl:mixin:APP:assets/immersive_portals/immersive_portals.mixins_client.json:MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:166) [?:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) [forge-1.15.2-31.2.0.jar:31.2] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$425/1821581506.call(Unknown Source) [forge-1.15.2-31.2.0.jar:31.2] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.0.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.item.Items.func_221546_a(Items.java:915)
    at net.minecraft.item.Items.<clinit>(Items.java:17)
    at net.minecraft.client.renderer.ItemRenderer.<clinit>(ItemRenderer.java:49)
    at net.minecraft.client.renderer.RenderType.<clinit>(SourceFile:282)
    at net.minecraft.client.gui.fonts.EmptyGlyph.<init>(SourceFile:10)
    at net.minecraft.client.gui.fonts.Font.<clinit>(SourceFile:30)
    at net.minecraft.client.gui.fonts.FontResourceManager.func_212318_b(SourceFile:152)
    at net.minecraft.client.gui.fonts.FontResourceManager$$Lambda$1653/862791841.apply(Unknown Source)
    at java.util.HashMap.computeIfAbsent(HashMap.java:1118)
    at net.minecraft.client.gui.fonts.FontResourceManager.func_211504_a(SourceFile:151)
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:408)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.main.Main.main(SourceFile:166)
    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.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$425/1821581506.call(Unknown Source)
    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 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: 1182843496 bytes (1128 MB) / 1684537344 bytes (1606 MB) up to 3817865216 bytes (3641 MB)
    CPUs: 12
    JVM Flags: 5 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m -XX:PermSize=256m
    ModLauncher: 5.1.0+69+master.79f13f7
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-2.2.0-service.jar eventbus PLUGINSERVICE 
        /forge-1.15.2-31.2.0.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.15.2-31.2.0.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-2.1.1-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.15.2-31.2.0.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.15.2-31.2.0.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.15.2-31.2.0.jar fml TRANSFORMATIONSERVICE 
        /_MixinBootstrap-1.1.0.jar mixinbootstrap TRANSFORMATIONSERVICE 
        /_MixinBootstrap-1.1.0.jar mixin PLUGINSERVICE 
        /_MixinBootstrap-1.1.0.jar mixinbootstrap PLUGINSERVICE 
    FML: 31.2
    Forge: net.minecraftforge:31.2.0
    FML Language Providers: 
        [email protected]
        minecraft@1
    Mod List: 
        Abnormals-Core-1.15.2-1.0.6.jar Abnormals Core {[email protected] NONE}
        AdvancementExtreme_1.15.2-0.1.0.jar Advancement Extreme {[email protected] NONE}
        Apotheosis-1.15.2-3.3.8.jar Apotheosis {[email protected] NONE}
        Artifacts-1.15.2-2.5.3.jar Artifacts {[email protected] NONE}
        bambooeverything-1.15-1.0.0.jar Bamboo Everything {[email protected] NONE}
        BetterCaves-1.15.2-1.0.jar YUNG's Better Caves {[email protected] NONE}
        BetterMineshaftsForge-1.15.2-1.3.2.jar YUNG's Better Mineshafts {[email protected] NONE}
        BetterThanMending-1.4.0.jar BetterThanMending {[email protected] NONE}
        BiomesOPlenty-1.15.2-10.0.0.366-universal.jar Biomes O' Plenty {[email protected] NONE}
        Bookshelf-1.15.2-5.6.40.jar Bookshelf {[email protected] NONE}
        BossMod.jar Necromancer {[email protected] NONE}
        byg-1.0.11.jar Oh The Biomes You'll Go {[email protected] NONE}
        collective-1.15.2-2.26.jar Collective {[email protected] NONE}
        compactores-1.15.2-2.1.4.jar Compact Ores {[email protected] NONE}
        CosmeticArmorReworked-1.15.2-v3a.jar CosmeticArmorReworked {[email protected] NONE}
        craftingstation-3.1.0.jar Crafting Station {[email protected] NONE}
        CraftingTweaks_1.15.2-11.0.1.jar Crafting Tweaks {[email protected] NONE}
        curios-FORGE-1.15.2-2.0.2.7.jar Curios API {[email protected] NONE}
        CyclopsCore-1.15.2-1.9.0.jar Cyclops Core {[email protected] NONE}
        darkks-biome-mod-v3.2.jar Darkk's Biome {[email protected] NONE}
        deadlyendphantoms-1.15.2-1.01.jar Deadly End Phantoms {[email protected] NONE}
        dragonfight-1.2.jar dragonfight mod {[email protected] NONE}
        DungeonCrawl-1.15.2-2.3.0.jar Dungeon Crawl {[email protected] NONE}
        ElenaiDodge-1.15.2-1.7.2.jar Elenai Dodge {[email protected] NONE}
        enchantedbookredesign-2.0a.jar Enchanted Book Redesign {[email protected] NONE}
        EverlastingAbilities-1.15.2-1.6.3.jar EverlastingAbilities {[email protected] NONE}
        ExtendedNetherBackport-1.15.2-Beta-4.3.2.jar Extended Nether Backport {[email protected] NONE}
        extratags-1.1.jar Extra Tags {[email protected] NONE}
        Hwyla-forge-1.10.8-B72_1.15.2.jar Waila {waila@version NONE}
        immersive-portals-0.24forMc1.15withForge.jar Immersive Portals {[email protected] NONE}
        invtweaks-1.15.2-2.0.9.jar Inventory Tweaks Renewed {[email protected] NONE}
        jei-1.15.2-6.0.3.16.jar Just Enough Items {[email protected] NONE}
        luckyores-1.15.2-1.3.1.jar Lucky Ores Mod {[email protected] NONE}
        moreoverlays-1.17.5-mc1.15.2.jar More Overlays Updated {[email protected] NONE}
        NaturesCompass-1.15.2-1.8.5.jar Nature's Compass {[email protected] NONE}
        nether_ores-1.1.jar Nether ores {[email protected] NONE}
        netherleather-1.15.2-1.0.jar Nether Leather {[email protected] NONE}
        NetherPortalFix_1.15.2-6.0.2.jar NetherPortalFix {[email protected] NONE}
        netherportalspread_1.15.2-5.1.jar Nether Portal Spread {[email protected] NONE}
        oneplayersleeping-1.15.2-0.0.4.jar One Player Sleeping {[email protected] NONE}
        OreExcavation-1.7.151.jar Ore Excavation {oreexcavation@NONE NONE}
        OresAboveDiamonds-1.15.2-v6.3.1.jar Ores Above Diamonds {[email protected] NONE}
        placeableblazerods_1.15.2-1.1.jar Placeable Blaze Rods {[email protected] NONE}
        Placebo-1.15.2-3.1.1.jar Placebo {[email protected] NONE}
        Postlamp_mc1.15.2_v1.1.0.jar Post Lamp {[email protected] NONE}
        ProgressiveBosses-2.1.5-mc1.15.2.jar Progressive Bosses {[email protected] NONE}
        SakuraBiome_v1.1(1.15.2).jar SakuraBiome {[email protected] NONE}
        Savage-and-Ravage-1.15.2-1.1.4.jar Savage & Ravage {[email protected] NONE}
        smallernetherportals_1.15.2-1.6.jar Smaller Nether Portals {[email protected] NONE}
        structurescompass-1.15.2-1.2.0.jar Structures Compass {[email protected] NONE}
        that_future_mod_v_1_3_0_release.jar That future mod {[email protected] NONE}
        ToolBelt-1.15.2-1.14.2.jar Tool Belt {[email protected] NONE}
        TravelersBackpack-1.15.2-4.0.8.jar Traveler's Backpack {[email protected] NONE}
        travellersboots-1.16.x-1.4.3.jar Traveller's Boots {[email protected] NONE}
        treeharvester_1.15.2-2.4.jar Tree Harvester {[email protected] NONE}
        Uncharted_1.15.2_v06.jar Uncharted {uncharted@v06 NONE}
        valhelsia_structures-15.0.3a.jar Valhelsia Structures {[email protected] NONE}
        WAWLA-1.15.2-3.0.4.jar WAWLA {[email protected] NONE}
        XaerosWorldMap_1.17.0.1_Forge_1.15.2.jar Xaero's World Map {[email protected] NONE}
        xptome-1.15.2-v2.1.2.jar XP Tome {[email protected] NONE}
        forge-1.15.2-31.2.0-universal.jar Forge {[email protected] NONE}
        forge-1.15.2-31.2.0-client.jar Minecraft {[email protected] NONE}
    Launched Version: forge-31.2.0
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: Intel(R) UHD Graphics GL version 4.6.0 - Build 26.20.100.7642, Intel
    GL Caps: Using framebuffer using OpenGL 3.0
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    CPU: 12x Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz

 

 

Can you tell what's wrong and how to fix it ? 

Thank you so much !

Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Yeah, Minecraft.getInstance().player only works on the client side. Is there a way to get the player from the NetworkEvent.Context?
    • I have tried multimc, prism, and curseforge. They all crash without creating any logs.
    • I play with friends a server with mods, funny enough im the only one getting the error. Link to the crash error:https://pastebin.com/Qgn57EXZ
    • I have a keybind where you spit like a llama. On singleplayer both the entity and particle spawn and it's sound is played (https://youtu.be/bpxnFDuWw_I). But on a server only the entity is spawned and nothing else (https://youtu.be/veVQ4zSqnIA), no particles nor sound. Upon starting the server I have noticed this error in the window (https://postimg.cc/K3KDCpMY), don't know if it's relevant. The server works fine but when I want to spit the following pops up in the serverlog '''Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER''' (https://postimg.cc/LqTDP1Sm). I have prepared the following code of the Server-to-Client packet class which I have made to spawn mentioned particles and sounds. package mett.palemannie.tabakmod.networking.packets; import net.minecraft.client.Minecraft; import net.minecraft.core.particles.ParticleTypes; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.sounds.SoundEvents; import net.minecraft.util.RandomSource; import net.minecraft.world.entity.player.Player; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class SpuckEffektS2CPacket { public SpuckEffektS2CPacket(){ } public SpuckEffektS2CPacket(FriendlyByteBuf buf){ } public void toBytes(FriendlyByteBuf buf){ } public boolean handle(Supplier<NetworkEvent.Context> supplier){ NetworkEvent.Context context = supplier.get(); context.enqueueWork(()-> { Player player = Minecraft.getInstance().player; //Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER Level level = Minecraft.getInstance().level; RandomSource rdm = RandomSource.create(); float r = rdm.nextInt(80, 120) / 100f; player.playSound(SoundEvents.LLAMA_SPIT, 1f, r); Vec3 MausPos = player.getEyePosition(); Vec3 SchauWinkel = player.getLookAngle(); level.addParticle(ParticleTypes.SPIT, true, MausPos.x, MausPos.y, MausPos.z, SchauWinkel.x/4, SchauWinkel.y/4, SchauWinkel.z/4); }); return true; } } Is there an alternative to Minecraft.getInstance().player;? dumb question. I have looked at other mods (MrCrayfish's Gun Mod, Ars Noveau, Apotheosis) on how they handle such server-to-client sound and particles but I haven't got any wiser.    
    • i keep getting error on minecraft when im trying to play modpack. When i go to logs folder i got this. 
  • Topics

×
×
  • Create New...

Important Information

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