JDKDigital / lootbundles

Other
0 stars 1 forks source link

1.19.2 Server crash #2

Closed ModernGamingWorld closed 3 months ago

ModernGamingWorld commented 5 months ago

crash-2024-05-02_08.58.09-server.txt

Not sure whos mods is the cause of the crash, but it blames this mod and Easy Mob Farm

JaisDK commented 5 months ago

the crash is from this mod

did you change the loot modifier or are you playing a pack that has it changed?

ModernGamingWorld commented 5 months ago

@JaisDK Yes, I have a certain way I dont want people bypassing things in my modpack with Lootbundle and mob farms, so I removed some of the easy vanilla mobs/animals

JaisDK commented 5 months ago

What did you change them to?

ModernGamingWorld commented 5 months ago

@JaisDK I removed them from the file to stop them from being included. otherwise there was no way to stop them

JaisDK commented 5 months ago

can I see the changes? and how did you apply the changes? with a datapack?

ModernGamingWorld commented 5 months ago

its all posted under here in my Datapack mod https://github.com/AzureDoom/Modern-s-Monumental-Recipe/tree/1.19.2/src/main/resources/data/lootbundles/loot_modifiers

all I did was copy over your loot modifers and remove what i did not want to drop, it has been working fine till the server crashed

JaisDK commented 5 months ago

you set maxCount to 0, that's what's causing the crash

ModernGamingWorld commented 5 months ago

@JaisDK is there any easy way to disable stuff like Loot fragments and whatnot? As I do not use them, its kind of dumb in my eyes to have them cause server crashes if a modpack developer wants them disabled. I only use the loot bundles for Quests and do not need its recipes. I had players complain to me that loot fragments drop, but are useless if they are not attached to anything like recipes. There should be a feature or configuration option to disable things like loot bundles or fragment dropping if we only want them in our quest books. if there is no easy way to solve this, I might have to find a different mod to use

JaisDK commented 5 months ago

yes, use the same files as you have but set the probability to 0 not the maxcount