Suggestion Open

Looting Enchant in Drops

#6223 opened by Unknown 1 year ago

Unknownreported this suggestion

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] to MaxItems if set, else TotalItems, else MinItems.
  • Requires that TotalItems, MinItems or MaxItems are set on the table.
internal_droptablename:
  TotalItems: 1
  BonusLootingItems: 1
  Drops:
  - diamond 1 1
Unknowncommented

+1 for this feature.

I want vanilla mob drops for disguised mobs. However, if I have a Zombie disguised as a skeleton, I cannot get the Skeleton drops, I will get rotten flesh

Unknowncommented

This is kinda crucial, Looting is like the top tier minecraft enchant.

Another way would be to define a formula for it

TotalItems: 1+LL/3 Making the total items rise with 1/3rd rounded(up? down?) or

MinItems: min(5,1+LL) making the min items 1 + looting up to 5

Sign in to join the discussion.