Looting Enchant in Drops
Looting in Drop Tables
Currently to add additional drops via Looting in a drop table, one would have to nest multiple conditional drop tables, per drop, using enchantment condition checks.
Neither the BonusLuckItems and BonusLevelItems accommodate this, and a BonusLootingItems check that operates similar to Bonus Luck, but for the Looting enchant levels of the trigger's weapon, would streamline this immensely and fill a missing gap in supporting vanilla behaviors.
Fancy Drop attribute
Feature parity with the already-supported Fortune FancyDrop attribute, the Looting attribute would add lootingMod amounts to the max range of the drop amount based on the Looting enchantment level of the killer's weapon./
Similar to the fortuneMod attribute, the LootingMod would be the modifier (defaults to 1) added to the max range.
Drops:
- diamond{looting=true;lootingMod=0.5} 1 1
The above DropTable is actually dropping 1 to 1 diamonds, but thanks to a Looting II weapon, would now be dropping 1 to 2 from the + 0.5*2) fortuneMod.
or as a DropTable setting:
BonusLootingItems: [numbers]/[range]
- A modifier on the number of drops generated based on the Looting enchantment level on the killer's weapon.
- Can be set as a range, i.e.
0.5to8 - Works with Looting enchantment, adding
[Looting Lvl] * [BonusLootingItems]toMaxItemsif set, elseTotalItems, elseMinItems. - Requires that
TotalItems,MinItemsorMaxItemsare set on the table.
internal_droptablename:
TotalItems: 1
BonusLootingItems: 1
Drops:
- diamond 1 1