Jump to content

Recommended Posts

Posted (edited)

The game crashed whilst initializing game Error: java.lang.IllegalStateException: The ObjectHolder annotation cannot apply to a field that does not map to a registry. Ensure the registry was created during the RegistryEvent.NewRegistry event. (found : doggytalents.api.inferface.Talent at doggytalents.ModTalents.BED_FINDER)

 

and here is the crash report

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

Time: 8/16/19 8:59 PM
Description: Initializing game

java.lang.IllegalStateException: The ObjectHolder annotation cannot apply to a field that does not map to a registry. Ensure the registry was created during the RegistryEvent.NewRegistry event. (found : doggytalents.api.inferface.Talent at doggytalents.ModTalents.BED_FINDER)
    at net.minecraftforge.registries.ObjectHolderRef.<init>(ObjectHolderRef.java:95) ~[?:?] {}
    at net.minecraftforge.registries.ObjectHolderRegistry.scanClassForFields(ObjectHolderRegistry.java:174) ~[?:?] {}
    at net.minecraftforge.registries.ObjectHolderRegistry.scanTarget(ObjectHolderRegistry.java:137) ~[?:?] {}
    at net.minecraftforge.registries.ObjectHolderRegistry.lambda$findObjectHolders$5(ObjectHolderRegistry.java:108) ~[?:?] {}
    at net.minecraftforge.registries.ObjectHolderRegistry$$Lambda$2280/1338957699.accept(Unknown Source) ~[?:?] {}
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51] {}
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] {}
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] {}
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[?:1.8.0_51] {}
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51] {}
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] {}
    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51] {}
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51] {}
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] {}
    at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51] {}
    at net.minecraftforge.registries.ObjectHolderRegistry.findObjectHolders(ObjectHolderRegistry.java:108) ~[?:?] {}
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183) ~[?:?] {}
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:79) ~[?:?] {pl:runtimedistcleaner:A}
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$1955/812448650.run(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:95) ~[?:?] {pl:runtimedistcleaner:A}
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$1956/1067809448.run(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:79) ~[?:?] {pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:453) [?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365) [?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:155) [?:?] {}
    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.14.4-28.0.49.jar:28.0] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$344/1965036946.call(Unknown Source) [forge-1.14.4-28.0.49.jar:28.0] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-3.2.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-3.2.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) [modlauncher-3.2.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:80) [modlauncher-3.2.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-3.2.0.jar:?] {}


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.ObjectHolderRef.<init>(ObjectHolderRef.java:95)
    at net.minecraftforge.registries.ObjectHolderRegistry.scanClassForFields(ObjectHolderRegistry.java:174)
    at net.minecraftforge.registries.ObjectHolderRegistry.scanTarget(ObjectHolderRegistry.java:137)
    at net.minecraftforge.registries.ObjectHolderRegistry.lambda$findObjectHolders$5(ObjectHolderRegistry.java:108)
    at net.minecraftforge.registries.ObjectHolderRegistry$$Lambda$2280/1338957699.accept(Unknown Source)
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
    at net.minecraftforge.registries.ObjectHolderRegistry.findObjectHolders(ObjectHolderRegistry.java:108)
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183)
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:79)
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$1955/812448650.run(Unknown Source)
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:95)
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$1956/1067809448.run(Unknown Source)
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:79)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:453)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365)
    at net.minecraft.client.main.Main.main(SourceFile:155)
    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$344/1965036946.call(Unknown Source)
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:80)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

-- System Details --
Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    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: 1443732728 bytes (1376 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
    CPUs: 8
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    ModLauncher: 3.2.0+60+b86c1d4
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-0.10.6-service.jar eventbus PLUGINSERVICE 
        /forge-1.14.4-28.0.49.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.0.49.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-0.16.0-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.0.49.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.0.49.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.14.4-28.0.49.jar fml TRANSFORMATIONSERVICE 
    FML: 28.0
    Forge: net.minecraftforge:28.0.49
    FML Language Providers: 
        [email protected]
        minecraft@1
    Mod List: 
        BetterAdvancements-1.14.4-0.1.0.87.jar Better Advancements {[email protected] CREATE_REGISTRIES}
        BiomesOPlenty-1.14.4-9.0.0.198-universal (1).jar Biomes O' Plenty {biomesoplenty@version CONSTRUCT}
        Building-Gadgets-Mod-1.14.4.jar Building Gadgets {buildinggadgets@version CONSTRUCT}
        caelus-FORGE-1.14.4-0.10.jar Caelus API {[email protected] CREATE_REGISTRIES}
        Camera-Mod-1.14.4.jar Camera Mod {[email protected] CONSTRUCT}
        Craftable-Saddles-Mod-1.14.4.jar Craftable Saddles {[email protected] LOAD_REGISTRIES}
        curios-FORGE-1.14.4-0.18.jar Curios API {[email protected] LOAD_REGISTRIES}
        curiouselytra-FORGE-1.14.4-0.7 (1).jar Curious Elytra {[email protected] LOAD_REGISTRIES}
        DoggyTalents-1.14.4-1.15.1.3-universal.jar Doggy Talents {[email protected] CREATE_REGISTRIES}
        ender_compass-2.2.1.jar Ender Compass {[email protected] ERROR}
        EuhDawsons-GraveStone-Mod-1.14.4.jar Gravestone Mod {[email protected] CREATE_REGISTRIES}
        Fish-Traps-Mod-1.14.4.jar Fish Traps {[email protected] CREATE_REGISTRIES}
        FPS-Reducer-Mod-1.14.4.jar FPS Reducer {[email protected] LOAD_REGISTRIES}
        Good-Night-Sleep-Mod-1.14.4.jar Good Night's Sleep {[email protected] CREATE_REGISTRIES}
        Iron-Chests-Mod-1.14.4.jar Iron Chests {[email protected] LOAD_REGISTRIES}
        jei-1.14.4-6.0.0.10.jar Just Enough Items {[email protected] CONSTRUCT}
        Lucky-Block-Mod-1.14.4.jar Lucky Block {[email protected] CONSTRUCT}
        MC-Paint-Mod-1.14.4.jar Mc Paint {[email protected] LOAD_REGISTRIES}
        Mob-Catcher-Mod-1.14.4.jar Mob Catcher {[email protected] CONSTRUCT}
        MrCrayfishs-Furniture-Mod-1.14.4.jar MrCrayfish's Furniture Mod {[email protected] CONSTRUCT}
        Music-Player-Mod-1.14.4.jar Music Player {[email protected] LOAD_REGISTRIES}
        OpenBlocks-Elevator-Mod-1.14.4.jar Elevator Mod {[email protected] LOAD_REGISTRIES}
        Practical-Tools-Mod-1.14.4.jar Practical Tools {[email protected] LOAD_REGISTRIES}
        quickhomes-1.14.4-1.2.3.jar QuickHomes {[email protected] CONSTRUCT}
        rhodonite-1.14.4-0.2.jar Rhodonite {[email protected] LOAD_REGISTRIES}
        RingOfMiner-1.14.4-1.0.3.jar Ring of Miner {[email protected] LOAD_REGISTRIES}
        Road-Stuff-2-Mod-1.14.4.jar Road Stuff 2 {[email protected] LOAD_REGISTRIES}
        simpleores-1.14.4-2.0.6.0.jar Simple Ores {[email protected] LOAD_REGISTRIES}
        Simply-Light-Mod-1.14.4.jar Simply Light {[email protected] LOAD_REGISTRIES}
        StoneChest-1.14.4-1.0.1.jar Stone Chest {[email protected] LOAD_REGISTRIES}
        SuperTools-1.2.jar Super Tools {[email protected] CREATE_REGISTRIES}
        TorchMaster-Mod-1.14.4.jar Torchmaster {[email protected] CONSTRUCT}
        Travellers-Boots-Mod-1.14.4.jar Traveller's Boots {[email protected] LOAD_REGISTRIES}
        U-Team-Core-1.14.4.jar U Team Core {[email protected] CREATE_REGISTRIES}
        useful_backpacks-1.14.4-1.7.0.34.jar Useful Backpacks {[email protected] CONSTRUCT}
        Xaeros_Minimap_1.17.6_Forge_1.14.4.jar Xaero's Minimap {[email protected] LOAD_REGISTRIES}
        XL-Food-Mod-1.14.4.jar XL Food Mod {[email protected] LOAD_REGISTRIES}
        forge-1.14.4-28.0.49-universal.jar Forge {[email protected] CONSTRUCT}
        goprone-1.14.x-1.0.3.jar GoProne {[email protected] CONSTRUCT}
        forge-1.14.4-28.0.49-client.jar Minecraft {[email protected] CONSTRUCT}
    Launched Version: 1.14.4-forge-28.0.49
    LWJGL: 3.2.2 build 10
    OpenGL: GeForce GTX 1050/PCIe/SSE2 GL version 4.6.0 NVIDIA 387.92, 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 'forge'
    Type: Client (map_client.txt)
    Resource Packs: vanilla
    Current Language: ~~ERROR~~ NullPointerException: null
    CPU: 8x Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz

Edited by web4isgay
Posted
46 minutes ago, diesieben07 said:

The file names of most of your mods suggest you obtained them from an illegal reposting site.

Check out StopModReposts on why this is a problem and obtain your mods properly before continueing.

ive tried redownloading every mods from forge, and still the same crash message shown up?

is it a bug with the mod that i can do nothing about it?

Posted
42 minutes ago, web4isgay said:

ive tried redownloading every mods from forge, and still the same crash message shown up?

Post new logs for the new crash please

Posted

heres the new logs

 

---- Minecraft Crash Report ----
// Ooh. Shiny.

Time: 8/16/19 10:46 PM
Description: Initializing game

java.lang.IllegalStateException: The ObjectHolder annotation cannot apply to a field that does not map to a registry. Ensure the registry was created during the RegistryEvent.NewRegistry event. (found : doggytalents.api.inferface.Talent at doggytalents.ModTalents.BED_FINDER)
    at net.minecraftforge.registries.ObjectHolderRef.<init>(ObjectHolderRef.java:95) ~[?:?] {}
    at net.minecraftforge.registries.ObjectHolderRegistry.scanClassForFields(ObjectHolderRegistry.java:174) ~[?:?] {}
    at net.minecraftforge.registries.ObjectHolderRegistry.scanTarget(ObjectHolderRegistry.java:137) ~[?:?] {}
    at net.minecraftforge.registries.ObjectHolderRegistry.lambda$findObjectHolders$5(ObjectHolderRegistry.java:108) ~[?:?] {}
    at net.minecraftforge.registries.ObjectHolderRegistry$$Lambda$2264/1769687268.accept(Unknown Source) ~[?:?] {}
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51] {}
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] {}
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_51] {}
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[?:1.8.0_51] {}
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) ~[?:1.8.0_51] {}
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) ~[?:1.8.0_51] {}
    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_51] {}
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_51] {}
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_51] {}
    at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_51] {}
    at net.minecraftforge.registries.ObjectHolderRegistry.findObjectHolders(ObjectHolderRegistry.java:108) ~[?:?] {}
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183) ~[?:?] {}
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:79) ~[?:?] {pl:runtimedistcleaner:A}
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$1947/1483997353.run(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:95) ~[?:?] {pl:runtimedistcleaner:A}
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$1948/521114357.run(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:79) ~[?:?] {pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:453) [?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365) [?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:155) [?:?] {}
    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.14.4-28.0.49.jar:28.0] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$344/523051393.call(Unknown Source) [forge-1.14.4-28.0.49.jar:28.0] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-3.2.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-3.2.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) [modlauncher-3.2.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:80) [modlauncher-3.2.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-3.2.0.jar:?] {}


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.ObjectHolderRef.<init>(ObjectHolderRef.java:95)
    at net.minecraftforge.registries.ObjectHolderRegistry.scanClassForFields(ObjectHolderRegistry.java:174)
    at net.minecraftforge.registries.ObjectHolderRegistry.scanTarget(ObjectHolderRegistry.java:137)
    at net.minecraftforge.registries.ObjectHolderRegistry.lambda$findObjectHolders$5(ObjectHolderRegistry.java:108)
    at net.minecraftforge.registries.ObjectHolderRegistry$$Lambda$2264/1769687268.accept(Unknown Source)
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
    at net.minecraftforge.registries.ObjectHolderRegistry.findObjectHolders(ObjectHolderRegistry.java:108)
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183)
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:79)
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$1947/1483997353.run(Unknown Source)
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:95)
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$1948/521114357.run(Unknown Source)
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:79)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:453)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365)
    at net.minecraft.client.main.Main.main(SourceFile:155)
    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$344/523051393.call(Unknown Source)
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:80)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

-- System Details --
Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    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: 1360533480 bytes (1297 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
    CPUs: 8
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    ModLauncher: 3.2.0+60+b86c1d4
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-0.10.6-service.jar eventbus PLUGINSERVICE 
        /forge-1.14.4-28.0.49.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.0.49.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-0.16.0-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.0.49.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.0.49.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.14.4-28.0.49.jar fml TRANSFORMATIONSERVICE 
    FML: 28.0
    Forge: net.minecraftforge:28.0.49
    FML Language Providers: 
        [email protected]
        minecraft@1
    Mod List: 
        BetterAdvancements-1.14.4-0.1.0.87.jar Better Advancements {[email protected] CREATE_REGISTRIES}
        BiomesOPlenty-1.14.4-9.0.0.231-universal.jar Biomes O' Plenty {[email protected] CONSTRUCT}
        buildinggadgets-3.0.2.jar Building Gadgets {[email protected] CONSTRUCT}
        caelus-FORGE-1.14.4-0.11.jar Caelus API {[email protected] CONSTRUCT}
        Craftable+Saddles+[1.14]-1.3 (1).jar Craftable Saddles {[email protected] LOAD_REGISTRIES}
        curios-FORGE-1.14.4-0.22.jar Curios API {[email protected] LOAD_REGISTRIES}
        curiouselytra-FORGE-1.14.4-0.7 (1).jar Curious Elytra {[email protected] CONSTRUCT}
        DoggyTalents-1.14.4-1.15.1.3-universal.jar Doggy Talents {[email protected] CONSTRUCT}
        ElevatorMod-1.14.4-1.3.11.jar Elevator Mod {[email protected] CONSTRUCT}
        EuhDawsons-GraveStone-Mod-1.14.4.jar Gravestone Mod {[email protected] CREATE_REGISTRIES}
        fishtraps-0.0.4 (1).jar Fish Traps {[email protected] LOAD_REGISTRIES}
        FpsReducer-mc1.14.4-1.12.5 (1).jar FPS Reducer {[email protected] LOAD_REGISTRIES}
        furniture-7.0.0-pre5-1.14.4.jar MrCrayfish's Furniture Mod {[email protected] CONSTRUCT}
        good-nights-sleep-1.14.4-0.2.1 (1).jar Good Night's Sleep {[email protected] CREATE_REGISTRIES}
        ironchest-1.14.3-9.0.DEV.55a7af2.jar Iron Chests {[email protected] CONSTRUCT}
        jei-1.14.4-6.0.0.10.jar Just Enough Items {[email protected] CREATE_REGISTRIES}
        Lucky-Block-Mod-1.14.4.jar Lucky Block {[email protected] CONSTRUCT}
        mcpaint-1.4.4.jar Mc Paint {[email protected] CONSTRUCT}
        mobcatcher-1.2a.jar Mob Catcher {[email protected] CONSTRUCT}
        music_player-1.14.4-2.0.3.35 (1).jar Music Player {[email protected] LOAD_REGISTRIES}
        practicaltools-1.14.4-1.4.jar Practical Tools {[email protected] LOAD_REGISTRIES}
        quickhomes-1.14.4-1.2.3.jar QuickHomes {[email protected] CONSTRUCT}
        rhodonite-1.14.4-0.3 (1).jar Rhodonite {[email protected] CONSTRUCT}
        RingOfMiner-1.14.4-1.0.3.jar Ring of Miner {[email protected] LOAD_REGISTRIES}
        roadstuff-1.14.4-2.0.4.0 (1).jar Road Stuff 2 {[email protected] LOAD_REGISTRIES}
        simpleores-1.14.4-2.0.6.0.jar Simple Ores {[email protected] LOAD_REGISTRIES}
        simplylight-0.8.6.jar Simply Light {[email protected] LOAD_REGISTRIES}
        StoneChest-1.14.4-1.0.1.jar Stone Chest {[email protected] CONSTRUCT}
        SuperTools-1.2.jar Super Tools {[email protected] CONSTRUCT}
        torchmaster-2.0.0.6-alpha.jar Torchmaster {[email protected] CREATE_REGISTRIES}
        travellersboots-1.14.4-1.2.1.jar Traveller's Boots {[email protected] LOAD_REGISTRIES}
        u_team_core-1.14.4-2.7.0.129 (1).jar U Team Core {[email protected] CONSTRUCT}
        useful_backpacks-1.14.4-1.7.0.34.jar Useful Backpacks {[email protected] CONSTRUCT}
        Xaeros_Minimap_1.17.6_Forge_1.14.4.jar Xaero's Minimap {[email protected] LOAD_REGISTRIES}
        XL-Food-Mod-1.14.4-2.0.3.jar XL Food Mod {[email protected] LOAD_REGISTRIES}
        forge-1.14.4-28.0.49-universal.jar Forge {[email protected] CONSTRUCT}
        goprone-1.14.x-1.0.3.jar GoProne {[email protected] CONSTRUCT}
        forge-1.14.4-28.0.49-client.jar Minecraft {[email protected] CONSTRUCT}
    Launched Version: 1.14.4-forge-28.0.49
    LWJGL: 3.2.2 build 10
    OpenGL: GeForce GTX 1050/PCIe/SSE2 GL version 4.6.0 NVIDIA 387.92, 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 'forge'
    Type: Client (map_client.txt)
    Resource Packs: vanilla
    Current Language: ~~ERROR~~ NullPointerException: null
    CPU: 8x Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz

Posted

after some researching, ive found out that its a bug caused by the mod. Are there any ways to remove the mod entirely from my modded survival world in order to play it?

Posted

If you know which mod it is, you should be able to just delete it from your mods folder.

 

I would also make sure all mods downloaded from sketchy websites have been removed, who knows what's been packed into them or how out of date they are.

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • It is 1.12.2 - I have no idea if there is a 1.12 pack
    • Okay, but does the modpack works with 1.12 or just with 1.12.2, because I need the Forge client specifically for Minecraft 1.12, not 1.12.2
    • Version 1.19 - Forge 41.0.63 I want to create a wolf entity that I can ride, so far it seems to be working, but the problem is that when I get on the wolf, I can’t control it. I then discovered that the issue is that the server doesn’t detect that I’m riding the wolf, so I’m struggling with synchronization. However, it seems to not be working properly. As I understand it, the server receives the packet but doesn’t register it correctly. I’m a bit new to Java, and I’ll try to provide all the relevant code and prints *The comments and prints are translated by chatgpt since they were originally in Spanish* Thank you very much in advance No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. MountableWolfEntity package com.vals.valscraft.entity; import com.vals.valscraft.network.MountSyncPacket; import com.vals.valscraft.network.NetworkHandler; import net.minecraft.client.Minecraft; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.Mob; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.animal.Wolf; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.Entity; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.network.PacketDistributor; public class MountableWolfEntity extends Wolf { private boolean hasSaddle; private static final EntityDataAccessor<Byte> DATA_ID_FLAGS = SynchedEntityData.defineId(MountableWolfEntity.class, EntityDataSerializers.BYTE); public MountableWolfEntity(EntityType<? extends Wolf> type, Level level) { super(type, level); this.hasSaddle = false; } @Override protected void defineSynchedData() { super.defineSynchedData(); this.entityData.define(DATA_ID_FLAGS, (byte)0); } public static AttributeSupplier.Builder createAttributes() { return Wolf.createAttributes() .add(Attributes.MAX_HEALTH, 20.0) .add(Attributes.MOVEMENT_SPEED, 0.3); } @Override public InteractionResult mobInteract(Player player, InteractionHand hand) { ItemStack itemstack = player.getItemInHand(hand); if (itemstack.getItem() == Items.SADDLE && !this.hasSaddle()) { if (!player.isCreative()) { itemstack.shrink(1); } this.setSaddle(true); return InteractionResult.SUCCESS; } else if (!level.isClientSide && this.hasSaddle()) { player.startRiding(this); MountSyncPacket packet = new MountSyncPacket(true); // 'true' means the player is mounted NetworkHandler.CHANNEL.sendToServer(packet); // Ensure the server handles the packet return InteractionResult.SUCCESS; } return InteractionResult.PASS; } @Override public void travel(Vec3 travelVector) { if (this.isVehicle() && this.getControllingPassenger() instanceof Player) { System.out.println("The wolf has a passenger."); System.out.println("The passenger is a player."); Player player = (Player) this.getControllingPassenger(); // Ensure the player is the controller this.setYRot(player.getYRot()); this.yRotO = this.getYRot(); this.setXRot(player.getXRot() * 0.5F); this.setRot(this.getYRot(), this.getXRot()); this.yBodyRot = this.getYRot(); this.yHeadRot = this.yBodyRot; float forward = player.zza; float strafe = player.xxa; if (forward <= 0.0F) { forward *= 0.25F; } this.flyingSpeed = this.getSpeed() * 0.1F; this.setSpeed((float) this.getAttributeValue(Attributes.MOVEMENT_SPEED) * 1.5F); this.setDeltaMovement(new Vec3(strafe, travelVector.y, forward).scale(this.getSpeed())); this.calculateEntityAnimation(this, false); } else { // The wolf does not have a passenger or the passenger is not a player System.out.println("No player is mounted, or the passenger is not a player."); super.travel(travelVector); } } public boolean hasSaddle() { return this.hasSaddle; } public void setSaddle(boolean hasSaddle) { this.hasSaddle = hasSaddle; } @Override protected void dropEquipment() { super.dropEquipment(); if (this.hasSaddle()) { this.spawnAtLocation(Items.SADDLE); this.setSaddle(false); } } @SubscribeEvent public static void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase == TickEvent.Phase.START) { MinecraftServer server = net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer(); if (server != null) { for (ServerPlayer player : server.getPlayerList().getPlayers()) { if (player.isPassenger() && player.getVehicle() instanceof MountableWolfEntity) { MountableWolfEntity wolf = (MountableWolfEntity) player.getVehicle(); System.out.println("Tick: " + player.getName().getString() + " is correctly mounted on " + wolf); } } } } } private boolean lastMountedState = false; @Override public void tick() { super.tick(); if (!this.level.isClientSide) { // Only on the server boolean isMounted = this.isVehicle() && this.getControllingPassenger() instanceof Player; // Only print if the state changed if (isMounted != lastMountedState) { if (isMounted) { Player player = (Player) this.getControllingPassenger(); // Verify the passenger is a player System.out.println("Server: Player " + player.getName().getString() + " is now mounted."); } else { System.out.println("Server: The wolf no longer has a passenger."); } lastMountedState = isMounted; } } } @Override public void addPassenger(Entity passenger) { super.addPassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(true)); } } } @Override public void removePassenger(Entity passenger) { super.removePassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is no longer mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(false)); } } } @Override public boolean isControlledByLocalInstance() { Entity entity = this.getControllingPassenger(); return entity instanceof Player; } @Override public void positionRider(Entity passenger) { if (this.hasPassenger(passenger)) { double xOffset = Math.cos(Math.toRadians(this.getYRot() + 90)) * 0.4; double zOffset = Math.sin(Math.toRadians(this.getYRot() + 90)) * 0.4; passenger.setPos(this.getX() + xOffset, this.getY() + this.getPassengersRidingOffset() + passenger.getMyRidingOffset(), this.getZ() + zOffset); } } } MountSyncPacket package com.vals.valscraft.network; import com.vals.valscraft.entity.MountableWolfEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.player.Player; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class MountSyncPacket { private final boolean isMounted; public MountSyncPacket(boolean isMounted) { this.isMounted = isMounted; } public void encode(FriendlyByteBuf buffer) { buffer.writeBoolean(isMounted); } public static MountSyncPacket decode(FriendlyByteBuf buffer) { return new MountSyncPacket(buffer.readBoolean()); } public void handle(NetworkEvent.Context context) { context.enqueueWork(() -> { ServerPlayer player = context.getSender(); // Get the player from the context if (player != null) { // Verifies if the player has dismounted if (!isMounted) { Entity vehicle = player.getVehicle(); if (vehicle instanceof MountableWolfEntity wolf) { // Logic to remove the player as a passenger wolf.removePassenger(player); System.out.println("Server: Player " + player.getName().getString() + " is no longer mounted."); } } } }); context.setPacketHandled(true); // Marks the packet as handled } } networkHandler package com.vals.valscraft.network; import com.vals.valscraft.valscraft; import net.minecraft.resources.ResourceLocation; import net.minecraftforge.network.NetworkRegistry; import net.minecraftforge.network.simple.SimpleChannel; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class NetworkHandler { private static final String PROTOCOL_VERSION = "1"; public static final SimpleChannel CHANNEL = NetworkRegistry.newSimpleChannel( new ResourceLocation(valscraft.MODID, "main"), () -> PROTOCOL_VERSION, PROTOCOL_VERSION::equals, PROTOCOL_VERSION::equals ); public static void init() { int packetId = 0; // Register the mount synchronization packet CHANNEL.registerMessage( packetId++, MountSyncPacket.class, MountSyncPacket::encode, MountSyncPacket::decode, (msg, context) -> msg.handle(context.get()) // Get the context with context.get() ); } }  
  • Topics

×
×
  • Create New...

Important Information

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