Drop chance being ignored - Fabric 1.21.0-3.4
Chaogomu opened this issue ยท 1 comments
Information
Minecraft version: 1.21.0
Modloader: Fabric
Fabric loader version: 0.100.8+1.21
Environment: Singleplayer
Mod name: Configurable Extra Mob Drops
Mod version: 1.21.0-3.4
Description
Using the command /cemd additem Adds the item to the creature, but does not set the drop chance, which defaults to 100%.
I tested multiple items on multiple creatures, and they all had a 100% drop chance for the added item, regardless of the set drop chance. The text always says that it's been added with a drop chance of whatever you entered, but there's no drop chance tag in the config. Just the item count and item ID.
I then went into the config file to manually add the drop chance tag using the page description to get the format, and it was completely ignored. Even tried /cemd reload, and it's still 100% on every item added via the mod.
i may add that even editing the .txt config files with the drop chances eg: "tag:{dropchance:0.005d}"
the dropchance value not only is ignored but also the entry gets overwriten by the mod removing the drop chance.
- Edit config:
'minecraft:zombie' : '{count:1,id:"minecraft:zombie_head",tag:{dropchance:0.05d}}' - Open Game
- ingame run the command "/cmed additem zombie 0.005" holding a zombie_head
- kill a zombie always drops head (seems the dropchange got set to 1.00)
- exit game
- edit config:
'minecraft:zombie' : '{count:1,id:"minecraft:zombie_head"}'