Mythic Metals

Mythic Metals

8M Downloads

[Crash] Ticking entity is missing fire vulnerability on server

Hiusi opened this issue ยท 6 comments

commented
[23:15:55] [Server thread/WARN]: Neruina caught an exception, see below for cause
java.lang.IllegalArgumentException: Can't find attribute mythicmetals:fire_vulnerability
        at net.minecraft.class_5132.method_26865(class_5132.java:21) ~[server-intermediary.jar:?]
        at net.minecraft.class_5132.method_26862(class_5132.java:27) ~[server-intermediary.jar:?]
        at net.minecraft.class_5131.method_26852(class_5131.java:68) ~[server-intermediary.jar:?]
        at net.minecraft.class_1309.method_45325(class_1309.java:1977) ~[server-intermediary.jar:?]
        at net.minecraft.class_1309.localvar$dob000$mythicmetals$changeFireDamage(class_1309.java:30876) ~[server-intermediary.jar:?]
        at net.minecraft.class_1309.method_5643(class_1309.java) ~[server-intermediary.jar:?]
        at net.minecraft.class_1420.method_5643(class_1420.java:225) ~[server-intermediary.jar:?]
        at net.minecraft.class_1297.method_5730(class_1297.java:605) ~[server-intermediary.jar:?]
        at net.minecraft.class_1297.method_5670(class_1297.java:545) ~[server-intermediary.jar:?]
        at net.minecraft.class_1309.method_5670(class_1309.java:406) ~[server-intermediary.jar:?]
        at net.minecraft.class_1308.method_5670(class_1308.java:302) ~[server-intermediary.jar:?]
        at net.minecraft.class_1297.method_5773(class_1297.java:487) ~[server-intermediary.jar:?]
        at net.minecraft.class_1309.method_5773(class_1309.java:2468) ~[server-intermediary.jar:?]
        at net.minecraft.class_1308.method_5773(class_1308.java:372) ~[server-intermediary.jar:?]
        at net.minecraft.class_1420.method_5773(class_1420.java:131) ~[server-intermediary.jar:?]
        at net.minecraft.class_3218.mixinextras$bridge$method_5773$261(class_3218.java) ~[server-intermediary.jar:?]
        at net.minecraft.class_3218.wrapOperation$epi000$puzzleslib$tickNonPassenger(class_3218.java:18297) ~[server-intermediary.jar:?]
        at net.minecraft.class_3218.method_18762(class_3218.java:770) ~[server-intermediary.jar:?]
        at net.minecraft.class_1937.mixinextras$bridge$accept$197(class_1937.java) ~[server-intermediary.jar:?]
        at com.bawnorton.neruina.handler.TickHandler.safelyTickEntities(TickHandler.java:92) ~[Neruina-2.1.1-fabric+1.21.jar:?]
        at net.minecraft.class_1937.wrapOperation$dph000$neruina$catchTickingEntities$notTheCauseOfTickLag(class_1937.java:11583) ~[server-intermediary.jar:?]
        at net.minecraft.class_1937.method_18472(class_1937.java:498) ~[server-intermediary.jar:?]
        at net.minecraft.class_3218.method_31420(class_3218.java:408) ~[server-intermediary.jar:?]
        at net.minecraft.class_5574.method_31791(class_5574.java:54) ~[server-intermediary.jar:?]
        at net.minecraft.class_3218.method_18765(class_3218.java:372) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021) ~[server-intermediary.jar:?]
        at net.minecraft.class_3176.method_3813(class_3176.java:299) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281) ~[server-intermediary.jar:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
[23:17:37] [Server thread/WARN]: Neruina caught an exception, see below for cause
java.lang.IllegalArgumentException: Can't find attribute mythicmetals:fire_vulnerability
        at net.minecraft.class_5132.method_26865(class_5132.java:21) ~[server-intermediary.jar:?]
        at net.minecraft.class_5132.method_26862(class_5132.java:27) ~[server-intermediary.jar:?]
        at net.minecraft.class_5131.method_26852(class_5131.java:68) ~[server-intermediary.jar:?]
        at net.minecraft.class_1309.method_45325(class_1309.java:1977) ~[server-intermediary.jar:?]
        at net.minecraft.class_1309.localvar$dob000$mythicmetals$changeFireDamage(class_1309.java:30876) ~[server-intermediary.jar:?]
        at net.minecraft.class_1309.method_5643(class_1309.java) ~[server-intermediary.jar:?]
        at net.minecraft.class_4466.method_5643(class_4466.java:691) ~[server-intermediary.jar:?]
        at net.minecraft.class_1297.method_5730(class_1297.java:605) ~[server-intermediary.jar:?]
        at net.minecraft.class_1297.method_5670(class_1297.java:545) ~[server-intermediary.jar:?]
        at net.minecraft.class_1309.method_5670(class_1309.java:406) ~[server-intermediary.jar:?]
        at net.minecraft.class_1308.method_5670(class_1308.java:302) ~[server-intermediary.jar:?]
        at net.minecraft.class_1297.method_5773(class_1297.java:487) ~[server-intermediary.jar:?]
        at net.minecraft.class_1309.method_5773(class_1309.java:2468) ~[server-intermediary.jar:?]
        at net.minecraft.class_1308.method_5773(class_1308.java:372) ~[server-intermediary.jar:?]
        at net.minecraft.class_4466.method_5773(class_4466.java:292) ~[server-intermediary.jar:?]
        at net.minecraft.class_3218.mixinextras$bridge$method_5773$261(class_3218.java) ~[server-intermediary.jar:?]
        at net.minecraft.class_3218.wrapOperation$epi000$puzzleslib$tickNonPassenger(class_3218.java:18297) ~[server-intermediary.jar:?]
        at net.minecraft.class_3218.method_18762(class_3218.java:770) ~[server-intermediary.jar:?]
        at net.minecraft.class_1937.mixinextras$bridge$accept$197(class_1937.java) ~[server-intermediary.jar:?]
        at com.bawnorton.neruina.handler.TickHandler.safelyTickEntities(TickHandler.java:92) ~[Neruina-2.1.1-fabric+1.21.jar:?]
        at net.minecraft.class_1937.wrapOperation$dph000$neruina$catchTickingEntities$notTheCauseOfTickLag(class_1937.java:11583) ~[server-intermediary.jar:?]
        at net.minecraft.class_1937.method_18472(class_1937.java:498) ~[server-intermediary.jar:?]
        at net.minecraft.class_3218.method_31420(class_3218.java:408) ~[server-intermediary.jar:?]
        at net.minecraft.class_5574.method_31791(class_5574.java:54) ~[server-intermediary.jar:?]
        at net.minecraft.class_3218.method_18765(class_3218.java:372) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021) ~[server-intermediary.jar:?]
        at net.minecraft.class_3176.method_3813(class_3176.java:299) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281) ~[server-intermediary.jar:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
commented

I can implement a fix for this, but it doesn't fully solve the issue. I assume some mod in your pack is creating a LivingEntity, but completely replacing the attributes on it.
I will leave this open for now in case anyone stumbles into the same issue. Generally, if you could somehow get a crash log of this, then it should contain the ticking entity and would probably point to what is going wrong.

commented

Could you provide more information on this issue? A full log of when the crash occured would be helpful, as it contains more details on when the crash occured, plus a full mod list with their versions

commented

This is the full log on the server:

2024-08-15-3.log

Modlist:

  • accessories 1.0.0-beta.26+1.21
  • adventurez 1.4.21
  • afkplus 1.5.0
  • alloy_forgery 2.4.1+1.21
  • amplified_nether 1.2.5
  • appleskin 3.0.5+mc1.21
  • architectury 13.0.6
  • armoroftheages 1.4.3
  • armorstatues 21.0.0
  • armortip 1.1.0
  • armourers_workshop 3.0.0-beta.14
  • artifacts 12.0.5
  • audioplayer 1.21.1-1.10.3
  • automodpack-bootstrap 1.0.0
  • badpackets 0.8.1
  • balm-fabric 21.0.14
  • bclib 21.0.13
  • beautify 1.2.1+1.21
  • betterend 21.0.9
  • betterfurniture 1.21-1.0.5
  • bettergrass 1.0.21+1.21
  • betternether 21.0.11
  • biomesoplenty 21.0.0.15
  • blabber 1.7.1
  • bosses_of_mass_destruction 1.10.1-1.21
  • camerapture 1.6.1
  • cardinal-components 6.1.1
  • carryon 2.2.1
  • charmofundying 9.0.0+1.21
  • chococraft 0.11.7
  • chunksending 1.21-2.8
  • chunky 1.4.16
  • cleanview 1.21-v1-fabric
  • cloth-config 15.0.130
  • clumps 18.0.0.2
  • collective 7.81
  • configuration 3.0.0
  • cookingforblockheads 21.0.4
  • coroutil 1.21.0-1.3.7
  • crafttweaker 20.0.21
  • craterlib 2.0.3
  • creativecore 2.12.6
  • cristellib 1.2.7
  • croptopia 3.0.9
  • ctov 3.5.1
  • cupboard 1.21-2.7
  • debugify 1.21+1.0
  • deuf_refabricated 1.1.0
  • disenchanting_table 3.0.2
  • doggytalents 1.18.27
  • drippyloadingscreen 3.0.7
  • dungeons_arise 2.1.60
  • dynamiclights 1.8.3+mod
  • easy_npc 5.5.1
  • elytraslot 9.0.0+1.21
  • emojiful 5.1.5
  • enhancedgroups 1.21.1-1.6.1
  • entityculling 1.6.6
  • epherolib 1.2.0-1.20.6
  • eternal_starlight 0.1.4+1.21.1+fabric
  • extended_drawers 3.0.3+mc.1.21
  • fabric-api 0.102.0+1.21
  • fabric-language-kotlin 1.12.0+kotlin.2.0.10
  • fabricloader 0.16.0
  • fallingtree 1.21.0.7
  • fancymenu 3.2.5
  • fastasyncworldsave 1.21-2.0
  • faux-custom-entity-data 12.0.1
  • ferritecore 7.0.0
  • forgeconfigapiport 21.0.8
  • friendsandfoes 2.0.16
  • ftbfiltersystem 21.0.0
  • ftblibrary 2100.1.4
  • ftbquests 2100.1.4
  • ftbteams 2100.1.0
  • ftbxmodcompat 3.2.1
  • fuji 1.4.3
  • fwaystones 3.3.3+mc1.21
  • geckolib 4.5.8
  • glitchcore 2.0.0.2
  • gobber2 2.10.24
  • grassoverhaul 1.0.0
  • guarding 1.21.1-2.7.2
  • handcrafted 4.0.1
  • hopobettermineshaft 1.2.7
  • hopobetterruinedportal 1.4.3
  • hopobetterunderwaterruins 1.2.0
  • iceberg 1.2.5
  • idwtialsimmoedm 0.3.1+1.21
  • invview 1.4.15-1.20.5+
  • jade 15.1.5+fabric
  • java 21
  • kiwi 15.1.0+fabric
  • knightquest 1.5.0
  • konkrete 1.9.9
  • letmedespawn 1.3.1
  • lithium 0.13.0
  • lithostitched 1.2.5
  • lootr 0.9.35.88
  • luckperms 5.4.137
  • macawsroofsbop 1.21-1.0
  • mcwdoors 1.1.1
  • mcwfences 1.1.2
  • mcwfencesbop 1.21-1.0
  • mcwfurnitures 3.3.0
  • mcwholidays 1.1.0
  • mcwlights 1.1.1
  • mcwroofs 2.3.1
  • mcwtrpdoors 1.1.3
  • mcwwindows 2.3.2
  • melius-vanish 1.5.6+1.21
  • melody 1.0.10
  • mes 1.3.2-1.21-fabric
  • midnightlib 1.5.8
  • minecraft 1.21
  • mixintrace 1.1.1+1.17
  • mns 1.0.2-1.21-fabric
  • modernfix 5.19.1+mc1.21
  • monolib 1.3.0
  • moonlight 1.21-2.14.10
  • more_babies 2.0.0
  • mr_beyondenchant 1.5.0
  • mr_catenary 1.3
  • mr_dungeons_andtaverns 1-v4.3
  • mr_katters_structures 2.0
  • mr_neoenchant 5.6.0
  • mr_tidal_towns 1.3.3
  • mr_yggdrasil_structure 1.4.0
  • mru 0.4.5+1.21
  • mss 1.1.2-1.21-fabric
  • mvs 4.1.3-1.21-fabric
  • mythicmetals 0.20.0+1.21-alpha6
  • natures_spirit 1.6.2-1.21
  • naturescompass 1.21-2.2.6-fabric
  • necronomicon 1.4.2
  • neruina 2.1.1
  • nightautoconfig 1.0.6
  • nochatreports 1.21-v2.8.0
  • noisium 2.2.1+mc1.21
  • notenoughanimations 1.7.4
  • openpartiesandclaims 0.23.2
  • owo 0.12.11+1.21
  • packetfixer 1.4.1
  • paxi 1.21-Fabric-5.0.0
  • pickupnotifier 21.0.0
  • ping-wheel 1.9.2
  • placeholder-api 2.4.1+1.21
  • polymer-bundled 0.9.9+1.21
  • polymorph 1.0.4+1.21
  • puzzleslib 21.0.22
  • reacharound 1.3.0
  • regions_unexplored 0.5.6.1
  • repurposed_structures 7.5.4+1.21-fabric
  • resourcefullib 3.0.9
  • rewardz 1.0.3
  • roughlyenoughitems 16.0.754
  • sawmill 1.21-1.4.4
  • sereneseasons 10.0.0.6
  • simplerpc 3.3.2
  • sketch 1.21.1-1.2.1
  • smoothchunk 1.21-3.6
  • sootychimneys 1.3.0
  • sound_physics_remastered 1.21.1-1.4.6
  • spark 1.10.97
  • sparsestructures 2.2.0
  • starterkit 7.1
  • structureessentials 1.21-3.4
  • swordofbeyondjourney 1.0.1
  • t_and_t 1.13.2
  • tclayer 3.10.0+beta.6
  • tectonic 2.4.1
  • terrablender 4.0.0.1
  • toms_storage 2.0.9
  • totw_modded fabric-1.21-1.0.5
  • trashslot 21.0.2
  • travelersbackpack fabric-1.21-10.0.6
  • unionlib 12.0.5
  • uselessreptile 0.7.4.2-1.21
  • vanityslots 1.4.1+1.21
  • veinmining 5.0.0-beta+1.21
  • voicechat 1.21.1-2.5.20
  • waterframes 2.0.14a
  • watut 1.21.0-1.1.3
  • worldedit 7.3.6+6892-3d660b8
  • wover 21.0.13
  • xaerominimap 24.2.1
  • xaeroworldmap 1.38.8
  • yet_another_config_lib_v3 3.5.0+1.21-fabric
  • yigd 2.4.4
  • yungsapi 1.21-Fabric-5.0.0
commented

Hello, I had exactly the same problem. When I was loading into a world the game crashed. I tried disabling some mods and without the Eternal starlight mod (0.1.5+1.21.1+fabric) it was running fine.

commented

This is precisely the issue. As suspected, that mod cancels the method in this line of code: https://github.com/LeoMinecraftModding/eternal-starlight/blob/adf37aab706cf92812cd5961a29b8d741914cc44/common/src/main/java/cn/leolezury/eternalstarlight/common/mixin/LivingEntityMixin.java#L70
This makes whether the attributes exist load-order dependent, and is therefore a bug on their end

commented

Should be fixed in the newer versions of Eternal Starlight (0.1.6+)