Jump to content

having trouble with my custom pack please help here's my crash report


Recommended Posts

Posted

---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 1/10/24 12:49 PM
Description: There was a severe problem during mod loading that has caused the game to fail

cpw.mods.fml.common.LoaderException: java.lang.VerifyError: Inconsistent stackmap frames at branch target 194
Exception Details:
  Location:
    net/minecraft/entity/item/EntityItem.func_70071_h_()V @165: if_icmpne
  Reason:
    Current frame's stack size doesn't match stackmap.
  Current Frame:
    bci: @165
    flags: { }
    locals: { 'net/minecraft/entity/item/EntityItem', 'net/minecraft/item/ItemStack' }
    stack: { 'net/minecraft/entity/item/EntityItem', double, double_2nd, double, double_2nd, integer, integer }
  Stackmap Frame:
    bci: @194
    flags: { }
    locals: { 'net/minecraft/entity/item/EntityItem', 'net/minecraft/item/ItemStack' }
    stack: { }
  Bytecode:
    0x0000000: 2ab6 007b 100a b600 864c 2bc6 0016 2bb6
    0x0000010: 0064 c600 0f2b b600 642a b600 8a99 0004
    0x0000020: b12a b600 8ec7 000a 2ab6 0091 a702 1a2a
    0x0000030: b700 932a b400 959e 000d 2a59 b400 9504
    0x0000040: 64b5 0095 2a2a b400 98b5 009b 2a2a b400
    0x0000050: 9eb5 00a1 2a2a b400 a4b5 00a7 2a59 b400
    0x0000060: 4d14 00a8 2ab8 00af 2a2a 2ab4 0098 2ab4
    0x0000070: 00b3 b400 b82a b400 b3b4 00bb 6314 002b
    0x0000080: 6f2a b400 a4b6 00bf b500 c32a 2ab4 004a
    0x0000090: 2ab4 004d 2ab4 0050 b600 c62a b400 9b8e
    0x00000a0: 2ab4 0098 8ea0 001d 2ab4 00a1 8e2a b400
    0x00000b0: 9e8e a000 102a b400 a78e 2ab4 00a4 8e9f
    0x00000c0: 0007 04a7 0004 033d 1c9a 000d 2ab4 00c9
    0x00000d0: 1019 709a 007f 2ab4 00cc 2ab4 0098 b800
    0x00000e0: d22a b400 9eb8 00d2 2ab4 00a4 b800 d2b6
    0x00000f0: 00d6 b600 dcb2 00e2 a600 4c2a 1400 43b5
    0x0000100: 004d 2a2a b400 e6b6 00ec 2ab4 00e6 b600
    0x0000110: ec66 12ed 6a8d b500 4a2a 2ab4 00e6 b600
    0x0000120: ec2a b400 e6b6 00ec 6612 ed6a 8db5 0050
    0x0000130: 2a12 ef12 f00d 2ab4 00e6 b600 ec12 f06a
    0x0000140: 62b6 00f4 2ab4 00cc b400 f79a 0007 2ab7
    0x0000150: 00fa 12fb 462a b400 fe99 002b 2ab4 00cc
    0x0000160: 2ab4 0098 b800 d22a b400 b3b4 00b8 b800
    0x0000170: d204 642a b400 a4b8 00d2 b600 d6b4 0101
    0x0000180: 12fb 6a46 2a59 b400 4a25 8d6b b500 4a2a
    0x0000190: 59b4 004d 1401 026b b500 4d2a 59b4 0050
    0x00001a0: 258d 6bb5 0050 2ab4 00fe 9900 0f2a 59b4
    0x00001b0: 004d 1401 046b b500 4d2a 59b4 0107 0460
    0x00001c0: b501 072a b600 7b10 0ab6 0086 3a04 2ab4
    0x00001d0: 00cc b400 f79a 0060 2ab4 0107 2ab4 0020
    0x00001e0: a100 5519 04c6 004c bb01 0959 2a19 04b6
    0x00001f0: 0064 c700 0911 1770 a700 1119 04b6 0064
    0x0000200: 1904 2ab4 00cc b600 6cb7 010c 3a05 b201
    0x0000210: 1219 05b6 0118 9900 142a 59b4 0020 1905
    0x0000220: b401 1b60 b500 20a7 0007 2ab6 0091 a700
    0x0000230: 072a b600 9119 04c6 000f 1904 b401 1e9d
    0x0000240: 0007 2ab6 0091 b1                      
  Stackmap Table:
    append_frame(@33,Object[#96])
    same_frame(@47)
    same_frame(@68)
    same_frame_extended(@194)
    same_frame(@198)
    same_locals_1_stack_item_frame(@199,Integer)
    append_frame(@214,Integer)
    same_frame_extended(@324)
    same_frame(@338)
    append_frame(@388,Float)
    same_frame(@441)
    full_frame(@507,{Object[#2],Object[#96],Integer,Float,Object[#96]},{Uninitialized[#488],Uninitialized[#488],Object[#2]})
    full_frame(@521,{Object[#2],Object[#96],Integer,Float,Object[#96]},{Uninitialized[#488],Uninitialized[#488],Object[#2],Integer})
    append_frame(@554,Object[#265])
    chop_frame(@558,1)
    same_frame(@561)
    same_frame(@565)
    chop_frame(@582,3)

    at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:559)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    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.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.VerifyError: Inconsistent stackmap frames at branch target 194
Exception Details:
  Location:
    net/minecraft/entity/item/EntityItem.func_70071_h_()V @165: if_icmpne
  Reason:
    Current frame's stack size doesn't match stackmap.
  Current Frame:
    bci: @165
    flags: { }
    locals: { 'net/minecraft/entity/item/EntityItem', 'net/minecraft/item/ItemStack' }
    stack: { 'net/minecraft/entity/item/EntityItem', double, double_2nd, double, double_2nd, integer, integer }
  Stackmap Frame:
    bci: @194
    flags: { }
    locals: { 'net/minecraft/entity/item/EntityItem', 'net/minecraft/item/ItemStack' }
    stack: { }
  Bytecode:
    0x0000000: 2ab6 007b 100a b600 864c 2bc6 0016 2bb6
    0x0000010: 0064 c600 0f2b b600 642a b600 8a99 0004
    0x0000020: b12a b600 8ec7 000a 2ab6 0091 a702 1a2a
    0x0000030: b700 932a b400 959e 000d 2a59 b400 9504
    0x0000040: 64b5 0095 2a2a b400 98b5 009b 2a2a b400
    0x0000050: 9eb5 00a1 2a2a b400 a4b5 00a7 2a59 b400
    0x0000060: 4d14 00a8 2ab8 00af 2a2a 2ab4 0098 2ab4
    0x0000070: 00b3 b400 b82a b400 b3b4 00bb 6314 002b
    0x0000080: 6f2a b400 a4b6 00bf b500 c32a 2ab4 004a
    0x0000090: 2ab4 004d 2ab4 0050 b600 c62a b400 9b8e
    0x00000a0: 2ab4 0098 8ea0 001d 2ab4 00a1 8e2a b400
    0x00000b0: 9e8e a000 102a b400 a78e 2ab4 00a4 8e9f
    0x00000c0: 0007 04a7 0004 033d 1c9a 000d 2ab4 00c9
    0x00000d0: 1019 709a 007f 2ab4 00cc 2ab4 0098 b800
    0x00000e0: d22a b400 9eb8 00d2 2ab4 00a4 b800 d2b6
    0x00000f0: 00d6 b600 dcb2 00e2 a600 4c2a 1400 43b5
    0x0000100: 004d 2a2a b400 e6b6 00ec 2ab4 00e6 b600
    0x0000110: ec66 12ed 6a8d b500 4a2a 2ab4 00e6 b600
    0x0000120: ec2a b400 e6b6 00ec 6612 ed6a 8db5 0050
    0x0000130: 2a12 ef12 f00d 2ab4 00e6 b600 ec12 f06a
    0x0000140: 62b6 00f4 2ab4 00cc b400 f79a 0007 2ab7
    0x0000150: 00fa 12fb 462a b400 fe99 002b 2ab4 00cc
    0x0000160: 2ab4 0098 b800 d22a b400 b3b4 00b8 b800
    0x0000170: d204 642a b400 a4b8 00d2 b600 d6b4 0101
    0x0000180: 12fb 6a46 2a59 b400 4a25 8d6b b500 4a2a
    0x0000190: 59b4 004d 1401 026b b500 4d2a 59b4 0050
    0x00001a0: 258d 6bb5 0050 2ab4 00fe 9900 0f2a 59b4
    0x00001b0: 004d 1401 046b b500 4d2a 59b4 0107 0460
    0x00001c0: b501 072a b600 7b10 0ab6 0086 3a04 2ab4
    0x00001d0: 00cc b400 f79a 0060 2ab4 0107 2ab4 0020
    0x00001e0: a100 5519 04c6 004c bb01 0959 2a19 04b6
    0x00001f0: 0064 c700 0911 1770 a700 1119 04b6 0064
    0x0000200: 1904 2ab4 00cc b600 6cb7 010c 3a05 b201
    0x0000210: 1219 05b6 0118 9900 142a 59b4 0020 1905
    0x0000220: b401 1b60 b500 20a7 0007 2ab6 0091 a700
    0x0000230: 072a b600 9119 04c6 000f 1904 b401 1e9d
    0x0000240: 0007 2ab6 0091 b1                      
  Stackmap Table:
    append_frame(@33,Object[#96])
    same_frame(@47)
    same_frame(@68)
    same_frame_extended(@194)
    same_frame(@198)
    same_locals_1_stack_item_frame(@199,Integer)
    append_frame(@214,Integer)
    same_frame_extended(@324)
    same_frame(@338)
    append_frame(@388,Float)
    same_frame(@441)
    full_frame(@507,{Object[#2],Object[#96],Integer,Float,Object[#96]},{Uninitialized[#488],Uninitialized[#488],Object[#2]})
    full_frame(@521,{Object[#2],Object[#96],Integer,Float,Object[#96]},{Uninitialized[#488],Uninitialized[#488],Object[#2],Integer})
    append_frame(@554,Object[#265])
    chop_frame(@558,1)
    same_frame(@561)
    same_frame(@565)
    chop_frame(@582,3)

    at fossilsarcheology.client.render.tileentity.TileEntityAncientChestRender.<init>(TileEntityAncientChestRender.java:21)
    at fossilsarcheology.client.ClientProxy.init(ClientProxy.java:185)
    at fossilsarcheology.Revival.preInit(Revival.java:116)
    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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
    at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
    ... 10 more


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

-- System Details --
Details:
    Minecraft Version: 1.7.10
    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: 1186863200 bytes (1131 MB) / 2558001152 bytes (2439 MB) up to 3817865216 bytes (3641 MB)
    JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096m -Xms256m
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 126 mods loaded, 115 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCH    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    UCH    fiskheroescore{2.2.2} [Fisk's Superheroes Core] (FiskHeroes-1.7.10-2.2.2.jar) 
    UCH    FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10.jar) 
    UCH    Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar) 
    UCH    AdvancedRocketryCore{1} [Advanced Rocketry] (minecraft.jar) 
    UCH    CodeChickenCore{1.0.7.48} [CodeChicken Core] (minecraft.jar) 
    UCH    ivtoolkit{1.2.1} [IvToolkit] (minecraft.jar) 
    UCH    NotEnoughItems{1.0.5.120} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.120-universal.jar) 
    UCH    <CoFH ASM>{000} [CoFH ASM] (minecraft.jar) 
    UCH    FastCraft{1.25} [FastCraft] (fastcraft-1.25.jar) 
    UCH    securitycraft{v1.8.13} [SecurityCraft] ([1.7.10] SecurityCraft v1.8.13.jar) 
    UCH    DamageIndicatorsMod{3.3.2} [Damage Indicators] ([1.7.10]DamageIndicatorsMod-3.3.2.jar) 
    UCH    bspkrsCore{6.16} [bspkrsCore] ([1.7.10]bspkrsCore-universal-6.16.jar) 
    UCH    Treecapitator{1.7.10} [Treecapitator] ([1.7.10]Treecapitator-universal-2.0.4.jar) 
    UCH    CoFHCore{1.7.10R3.1.4} [CoFH Core] (CoFHCore-[1.7.10]3.1.4-329.jar) 
    UCH    BuildCraft|Core{7.1.25} [BuildCraft] (buildcraft-7.1.25.jar) 
    UCH    libVulpes{0.2.8.-37} [libVulpes] (LibVulpes-1.7.10-0.2.8-37-universal.jar) 
    UCH    advancedRocketry{1.0.19b} [Advanced Rocketry] (AdvancedRocketry-1.7.10-1.0.19b.jar) 
    UCH    Baubles{1.0.1.10} [Baubles] (Baubles-1.7.10-1.0.1.10.jar) 
    UCH    adventurebackpack{1.7.10-0.8b} [Adventure Backpack] (adventurebackpack-1.7.10-0.8c.jar) 
    UCH    AncientWarfare{2.4.114-beta-MC1.7.10} [Ancient Warfare Core] (ancientwarfare-2.4.115-beta-MC1.7.10-FULL.jar) 
    UCH    AncientWarfareAutomation{2.4.114-beta-MC1.7.10} [Ancient Warfare Automation] (ancientwarfare-2.4.115-beta-MC1.7.10-FULL.jar) 
    UCH    AncientWarfareNEIPlugin{2.4.114-beta-MC1.7.10} [Ancient Warfare NEI Plugin] (ancientwarfare-2.4.115-beta-MC1.7.10-FULL.jar) 
    UCH    AncientWarfareNpc{2.4.114-beta-MC1.7.10} [Ancient Warfare NPCs] (ancientwarfare-2.4.115-beta-MC1.7.10-FULL.jar) 
    UCH    AncientWarfareStructure{2.4.114-beta-MC1.7.10} [Ancient Warfare Structures] (ancientwarfare-2.4.115-beta-MC1.7.10-FULL.jar) 
    UCH    Aquaculture{1.2.6} [Aquaculture] (Aquaculture-1.7.10-1.2.6.21.jar) 
    UCH    ArchimedesShips{1.7.10 v1.7.1} [Archimedes' Ships] (ArchimedesShips-1.7.1.jar) 
    UCH    BetterFoliage{2.0.17} [Better Foliage] (BetterFoliage-MC1.7.10-2.0.17.jar) 
    UCH    BiblioCraft{1.11.7} [BiblioCraft] (BiblioCraft[v1.11.7][MC1.7.10].jar) 
    UCH    BiomesOPlenty{2.1.0} [Biomes O' Plenty] (BiomesOPlenty-1.7.10-2.1.0.1889-universal.jar) 
    UCH    BiblioWoodsBoP{1.9} [BiblioWoods Biomes O'Plenty Edition] (BiblioWoods[BiomesOPlenty][v1.9].jar) 
    UCH    bookshelf{1.0.4.187} [Bookshelf] (Bookshelf-1.7.10-1.0.4.187.jar) 
    UCH    BuildCraft|Builders{7.1.25} [BC Builders] (buildcraft-7.1.25.jar) 
    UCH    BuildCraft|Robotics{7.1.25} [BC Robotics] (buildcraft-7.1.25.jar) 
    UCH    BuildCraft|Silicon{7.1.25} [BC Silicon] (buildcraft-7.1.25.jar) 
    UCH    BuildCraft|Energy{7.1.25} [BC Energy] (buildcraft-7.1.25.jar) 
    UCH    BuildCraft|Transport{7.1.25} [BC Transport] (buildcraft-7.1.25.jar) 
    UCH    BuildCraft|Factory{7.1.25} [BC Factory] (buildcraft-7.1.25.jar) 
    UCH    TwilightForest{2.3.8dev} [The Twilight Forest] (twilightforest-1.7.10-2.3.8.jar) 
    UCH    ForgeMultipart{1.2.0.345} [Forge Multipart] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar) 
    UCH    chisel{2.9.5.11} [Chisel] (Chisel-2.9.5.11.jar) 
    UCH    CarpentersBlocks{3.3.8.2} [Carpenter's Blocks] (Carpenter's Blocks v3.3.8.2 - MC 1.7.10.jar) 
    UCH    ChiselFacades{1.7.10-2.12-chiselteam} [Chisel Facades] (ChiselFacades-1.7.10-2.12-chiselteam.jar) 
    UCH    Waila{1.5.10} [Waila] (Waila-1.5.10_1.7.10.jar) 
    UCH    CompactMachines{1.7.10-1.21} [Compact Machines] (compactmachines-1.7.10-1.21.jar) 
    UCH    copiousdogs{6.4.7} [Copious Dogs] (Copious Dogs 6.4.7 for 1.7.10.jar) 
    UCH    cr{1.1.0} [Crafting Redstone] (CraftingRedstoneV1.1.0[1.7.10].jar) 
    UCH    MineTweaker3{3.1.0} [MineTweaker 3] (CraftTweaker-1.7.10-3.1.0-legacy.jar) 
    UCH    DeathCounter{4.0.0} [DeathCounter] (DeathCounter-4.0.0.jar) 
    UCH    PTRModelLib{1.0.0} [PTRModelLib] (Decocraft-2.4.2_1.7.10.jar) 
    UCH    props{2.4.2} [Decocraft] (Decocraft-2.4.2_1.7.10.jar) 
    UCH    doggytalents{1.14.2.317} [Doggy Talents] (DoggyTalents-1.7.10-1.14.2.317-universal.jar) 
    UCH    ThermalFoundation{1.7.10R1.2.6} [Thermal Foundation] (ThermalFoundation-[1.7.10]1.2.6-118.jar) 
    UCH    ExtraUtilities{1.2.12} [Extra Utilities] (extrautilities-1.2.12.jar) 
    UCH    harvestcraft{1.7.10j} [Pam's HarvestCraft] (Pam's HarvestCraft 1.7.10Lb.jar) 
    UCH    progressiveautomation{1.6.35} [Progressive Automation] (ProgressiveAutomation-1.7.10-1.6.35.jar) 
    UCH    Mantle{1.7.10-0.3.2.jenkins191} [Mantle] (Mantle-1.7.10-0.3.2b.jar) 
    UCH    MineFactoryReloaded{1.7.10R2.8.1} [MineFactory Reloaded] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UCH    ThermalExpansion{1.7.10R4.1.5} [Thermal Expansion] (ThermalExpansion-[1.7.10]4.1.5-248.jar) 
    UCH    TConstruct{1.7.10-1.8.8.build988} [Tinkers' Construct] (TConstruct-1.7.10-1.8.8.jar) 
    UCH    ExtraTiC{1.4.6} [ExtraTiC] (ExtraTiC-1.7.10-1.4.6.jar) 
    UCH    fastleafdecay{1.4} [Fast Leaf Decay] (FastLeafDecay-1.7.10-1.4.jar) 
    UCH    fiskheroes{2.2.2} [Fisk's Superheroes] (FiskHeroes-1.7.10-2.2.2.jar) 
    UCH    fisktag{1.0.0} [FiskTag] (FiskHeroes-1.7.10-2.2.2.jar) 
    UCH    llibrary{1.5.1} [LLibrary] (llibrary-1.5.1-1.7.10.jar) 
    UCE    fossil{7.3.2} [Fossils and Archeology Revival] (fossilsarcheology-7.3.2.jar) 
    UCH    friendlyfire{1.0.0} [Friendly Fire] (FriendlyFire-1.7.10-1.0.0.jar) 
    UCH    GardenContainers{1.7.10-1.7.0} [Garden Containers] (GardenStuff-1.7.10-1.7.0.jar) 
    UCH    GardenCore{1.7.10-1.7.0} [Garden Core] (GardenStuff-1.7.10-1.7.0.jar) 
    UCH    GardenStuff{1.7.10-1.7.0} [Garden Stuff] (GardenStuff-1.7.10-1.7.0.jar) 
    UCH    GardenTrees{1.7.10-1.7.0} [Garden Trees] (GardenStuff-1.7.10-1.7.0.jar) 
    UCH    gravestone{0.7.10.3} [Gravestone] (GraveStone Mod 0.7.10.3.jar) 
    UCH    iChunUtil{4.2.3} [iChunUtil] (iChunUtil-4.2.3.jar) 
    UCH    Hats{4.0.1} [Hats] (Hats-4.0.1.jar) 
    UCH    IronChest{6.0.62.742} [Iron Chest] (ironchest-1.7.10-6.0.62.742-universal.jar) 
    UCH    JABBA{1.2.2} [JABBA] (Jabba-1.2.2_1.7.10.jar) 
    UCH    journeymap{5.1.4p6} [JourneyMap] (journeymap-1.7.10-5.1.4p6-unlimited.jar) 
    UCH    JourneyMapServer{1.0.5_MC1.7.10} [JourneyMapServer] (JourneyMapServer1.01_Bukkit_MC1.9.jar) 
    UCH    malisiscore{1.7.10-0.14.3} [MalisisCore] (malisiscore-1.7.10-0.14.3.jar) 
    UCH    malisisdoors{1.7.10-1.13.2} [Malisis' Doors] (malisisdoors-1.7.10-1.13.2.jar) 
    UCH    RadixCore{2.1.3} [RadixCore] (RadixCore-1.7.10-2.1.3-universal.jar) 
    UCH    MCA{1.7.10-5.2.2} [Minecraft Comes Alive] (MCA-1.7.10-5.2.2-universal.jar) 
    UCH    Mekanism{9.1.1} [Mekanism] (Mekanism-1.7.10-9.1.1.1031.jar) 
    UCH    MineFactoryReloaded|CompatBuildCraft{1.7.10R2.8.1} [MFR Compat: BuildCraft] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UCH    MineFactoryReloaded|CompatForgeMicroblock{1.7.10R2.8.1} [MFR Compat: ForgeMicroblock] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UCH    MineFactoryReloaded|CompatThermalExpansion{1.7.10R2.8.1} [MFR Compat: Thermal Expansion] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UCH    MineFactoryReloaded|CompatTConstruct{1.7.10R2.8.1} [MFR Compat: Tinkers' Construct] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UCH    MineFactoryReloaded|CompatTwilightForest{1.7.10R2.8.1} [MFR Compat: TwilightForest] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UCH    MineFactoryReloaded|CompatVanilla{1.7.10R2.8.1} [MFR Compat: Vanilla] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UCH    mobdisabler{1.1} [Villain's Mob Disabler] (MobDisabler-1.1.jar) 
    UCH    nolpfij_mobstatues{0.1.1} [mobstatues] (MobStatues-1.7.10-0.1.1.jar) 
    UCH    modtweaker2{0.9.6} [Mod Tweaker 2] (ModTweaker2-0.9.6.jar) 
    UCH    cfm{3.4.7} [§9MrCrayfish's Furniture Mod] (MrCrayfishFurnitureModv3.4.7(1.7.10).jar) 
    UCH    MrTJPCoreMod{1.1.0.33} [MrTJPCore] (MrTJPCore-1.1.0.33-universal.jar) 
    UCH    mw{1.10.3} [Modern Warfare] (mw-1.10.3_mc1.7.10.jar) 
    UCH    naturescompass{1.3.1} [Nature's Compass] (NaturesCompass-1.7.10-1.3.1.jar) 
    UCH    netherportalfix{1.0} [Nether Portal Fix] (netherportalfix-mc1.7.10-1.1.0.jar) 
    UCH    yurtmod{1.12.1} [Nomadic Tents] (NomadicTents[1.7.10]-1.12.1.jar) 
    UCH    weeeflowers{1.7.2b} [Pam's Weee! Flowers] (Pam's WeeeFlowers 1.7.2b.zip) 
    UCH    patpatpat{1.0.0} [PatPatPat] (PatPatPat-Forge-1.7.10-1.0.0.jar) 
    UCH    StorageDrawers{1.7.10-1.10.9} [Storage Drawers] (StorageDrawers-1.7.10-1.10.9.jar) 
    UCH    StorageDrawersBop{1.7.10-1.1.1} [Storage Drawers: Biomes O' Plenty Pack] (StorageDrawers-BiomesOPlenty-1.7.10-1.1.1.jar) 
    UCH    ThermalDynamics{1.7.10R1.2.1} [Thermal Dynamics] (ThermalDynamics-[1.7.10]1.2.1-172.jar) 
    UCH    TravellersGear{1.16.6} [Traveller's Gear] (TravellersGear-1.7.10-1.16.6.jar) 
    UCH    vefluids{0.1.1.25} [VoltzEngine Fluids module] (VE-FluidHandling-1.7.10-0.1.1b25.jar) 
    UCH    VeinMiner{0.36.0_1.7.10-28a7f13} [Vein Miner] (VeinMiner-1.7.10-0.36.0.496+28a7f13.jar) 
    UCH    VeinMinerModSupport{0.36.0_1.7.10-28a7f13} [Mod Support] (VeinMiner-1.7.10-0.36.0.496+28a7f13.jar) 
    UCH    waystones{1.0.12} [Waystones] (Waystones-mc1.7.10-1.0.12.jar) 
    UCH    weaponmaster{3.0.0} [Weaponmaster 3.0.0] (weaponmaster-client-only-forge-1.7.10-3.0.1.jar) 
    UCH    weaponmod{v1.14.3} [Balkon's WeaponMod] (weaponmod-1.14.3.jar) 
    UCH    wolfarmor{1.3.0} [Wolf Armor and Storage] (wolfarmor-1.3.0.1.jar) 
    UCH    woodenbucket{0.0.3.9} [Wooden Bucket] (WoodenBucket-1.7.10-0.0.3b9-universal.jar) 
    UCH    yegamolchattels{1.1.2} [Ye Gamol Chattels] (YeGamolChattels-1.1.2.jar) 
    UCH    McMultipart{1.2.0.345} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar) 
    UCH    ForgeMicroblock{1.2.0.345} [Forge Microblocks] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar) 
    UD    MineFactoryReloaded|CompatAppliedEnergistics{1.7.10R2.8.1} [MFR Compat: Applied Energistics] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UD    MineFactoryReloaded|CompatAtum{1.7.10R2.8.1} [MFR Compat: Atum] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UD    MineFactoryReloaded|CompatBackTools{1.7.10R2.8.1} [MFR Compat: BackTools] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UD    MineFactoryReloaded|CompatChococraft{1.7.10R2.8.1} [MFR Compat: Chococraft] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UD    MineFactoryReloaded|CompatExtraBiomes{1.7.10R2.8.1} [MFR Compat: ExtraBiomes] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UD    MineFactoryReloaded|CompatForestry{1.7.10R2.8.1} [MFR Compat: Forestry] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UD    MineFactoryReloaded|CompatIC2{1.7.10R2.8.1} [MFR Compat: IC2] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UD    MineFactoryReloaded|CompatProjRed{1.7.10R2.8.1} [MFR Compat ProjectRed] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UD    MineFactoryReloaded|CompatRailcraft{1.7.10R2.8.1} [MFR Compat: Railcraft] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UD    MineFactoryReloaded|CompatSufficientBiomes{1.7.10R2.8.1} [MFR Compat: Sufficient Biomes] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    UD    MineFactoryReloaded|CompatThaumcraft{1.7.10R2.8.1} [MFR Compat: Thaumcraft] (MineFactoryReloaded-[1.7.10]2.8.1-174.jar) 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 536.23' Renderer: 'NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2'
    CoFHCore: -[1.7.10]3.1.4-329
    ThermalFoundation: -[1.7.10]1.2.6-118
    Mantle Environment: Environment healthy.
    MineFactoryReloaded: -[1.7.10]2.8.1-174
    ThermalExpansion: -[1.7.10]4.1.5-248
    TConstruct Environment: Environment healthy.
    ThermalDynamics: -[1.7.10]1.2.1-172
    Chisel: Errors like "[FML]: Unable to lookup ..." are NOT the cause of this crash. You can safely ignore these errors. And update forge while you're at 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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • 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() ); } }  
    • Do you use features of inventory profiles next (ipnext) or is there a change without it?
    • Remove rubidium - you are already using embeddium, which is a fork of rubidium
  • Topics

×
×
  • Create New...

Important Information

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