Nether Portal Spread (Fabric)

Nether Portal Spread (Fabric)

106k Downloads

Drop chance being ignored - Fabric 1.21.0-3.4

Chaogomu opened this issue ยท 1 comments

commented

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.

commented

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.

  1. Edit config:
    'minecraft:zombie' : '{count:1,id:"minecraft:zombie_head",tag:{dropchance:0.05d}}'
  2. Open Game
  3. ingame run the command "/cmed additem zombie 0.005" holding a zombie_head
  4. kill a zombie always drops head (seems the dropchange got set to 1.00)
  5. exit game
  6. edit config:
    'minecraft:zombie' : '{count:1,id:"minecraft:zombie_head"}'