Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1876

Closed
Open
Created Mar 28, 2025 by Brickgard@BrickgardReporter

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] 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
Edited Mar 29, 2025 by Brickgard
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking