fonnymunkey / EditableEdibles

Minecraft utility mod for editing food effects
MIT License
0 stars 0 forks source link

CRASH WHEN TRYING TO EAT IN A NEW WORLD #3

Open tomygcz opened 2 weeks ago

tomygcz commented 2 weeks ago

Every time I create a new world and try to eat something, the game just crash but when I rejoin the same world problem seems to dissapear and I can eat normally again.

crash-2024-08-31_16.51.53-client.txt

fonnymunkey commented 2 weeks ago

Can you upload your latest.log file from the logs folder when you crash and your editableedibles config file?

tomygcz commented 2 weeks ago

Yeah of course, here they are.

latest.log

(GitHub doesn't seem to support .cfg files but here I send what I did in the config file)

    # List of food items and if their default onFoodEaten handling should be cancelled 
    # Format: String itemid, Int metadata (-1 for any), Boolean shouldcancel 
    # Example: minecraft:chicken, -1, true
    S:"Food Default Effect Override" <
        minecraft:chicken, -1, true
        minecraft:rotten_flesh, -1, true
    >

    # List of food items with their effects and chance to be applied when eaten 
    # Format: String itemid, Int metadata (-1 for any), String potionid, Int duration, Int amplifier, Boolean showparticles, Float 
    chance 
    # Example: minecraft:chicken, -1, minecraft:hunger, 120, 0, false, 0.25
    S:"Food Effects and Chances" <
        minecraft:beef, -1, minecraft:poison, 100, 0, true, 1.0
        minecraft:beef, -1, minecraft:nausea, 600, 0, true, 1.0
        minecraft:beef, -1, minecraft:instant_damage, 0, 0, true, 0.25
        minecraft:porkchop, -1, minecraft:poison, 100, 0, true, 1.0
        minecraft:porkchop, -1, minecraft:nausea, 600, 0, true, 1.0
        minecraft:porkchop, -1, minecraft:instant_damage, 0, 0, true, 0.25
        minecraft:mutton, -1, minecraft:poison, 100, 0, true, 1.0
        minecraft:mutton, -1, minecraft:nausea, 600, 0, true, 1.0
        minecraft:mutton, -1, minecraft:instant_damage, 0, 0, true, 0.25
        minecraft:chicken, -1, minecraft:poison, 100, 0, true, 1.0
        minecraft:chicken, -1, minecraft:nausea, 600, 0, true, 1.0
        minecraft:chicken, -1, minecraft:instant_damage, 0, 0, true, 0.255
        minecraft:fish, 0, minecraft:poison, 100, 0, true, 1.0
        minecraft:fish, 0, minecraft:nausea, 600, 0, true, 1.0
        minecraft:fish, 0, minecraft:instant_damage, 0, 0, true, 0.25
        minecraft:fish, 1, minecraft:poison, 100, 0, true, 1.0
        minecraft:fish, 1, minecraft:nausea, 600, 0, true, 1.0
        minecraft:fish, 1, minecraft:instant_damage, 0, 0, true, 0.25
        minecraft:rotten_flesh, -1, minecraft:poison, 200, 0, true, 1.0
        minecraft:rotten_flesh, -1, minecraft:nausea, 600, 0, true, 1.0
        minecraft:rotten_flesh, -1, minecraft:instant_damage, 0, 0, true, 1.0
    >
fonnymunkey commented 2 weeks ago

I am unable to reproduce the issue with a matching modlist and editableedibles config, so its possible it is another mods config option causing issues.

There are multiple errors in your log related to (I assume) Raw Mouse Input, VintageFix, Universal Tweaks, and RLMixins. If you could try removing each mod to see if the crash goes away to try to narrow it down it would be appreciated, otherwise I think I would need a copy of your instance in order to debug further without just guessing.

tomygcz commented 1 week ago

Okay so after a few testing I found the problem. Seems to be an incompatibility with Alfheim Lighting Engine (latest version 1.4), here I send the log. If you can't find anything there maybe I should report it to Alfheim?

latest.log

tomygcz commented 1 week ago

Update: Okay it seems its not Alfheim, will continue testing but what I mention worked for a moment