Sueta

DamageDrops

1.6

Mobs have a chance to drop loot when taking damage

·Plugin

The premise of DamageDrops is simple, mobs have a chance to drop items when taking damage from a player.

Current mobs include:
- Iron Golem
- Skeleton / Wither skeleton, Skeleton Horse
- Zombie, Zombie Villager, Zombie Horse
- Creeper
- Bee
- Blaze
- Piglins

Tool required:
- None
- Iron+ Pickaxe
- Iron+ Sword / Axe

Commands:
- /damagedropsreload

Default config:

drop_chance_interval: 1000
spawnerdrops: false
mobs:
  creeper:
    creeperdrops: true
    highestlootnum: 2
    commonlootchance: 0.3
    mediumlootchance: 0.15
    rarelootchance: 0.02
    loot:
      lootlevel: 3
      commonloot:
        - GUNPOWDER
      mediumloot:
        - FIRE_CHARGE
        - FLINT
      rareloot:
        - TNT
  zombie:
    zombiedrops: true
    highestlootnum: 2
    commonlootchance: 0.3
    mediumlootchance: 0.15
    rarelootchance: 0.02
    loot:
      lootlevel: 1
      commonloot:
        - ROTTEN_FLESH
      mediumloot:
        - ROTTEN_FLESH
      rareloot:
        - ROTTEN_FLESH
  skeleton:
    skeletondrops: true
    highestlootnum: 2
    commonlootchance: 0.3
    mediumlootchance: 0.15
    rarelootchance: 0.02
    loot:
      lootlevel: 1
      commonloot:
        - BONE
        - BONE_MEAL
      mediumloot:
        - BONE
        - BONE_MEAL
      rareloot:
        - BONE
        - BONE_MEAL
  irongolem:
    golemdrops: true
    highestlootnum: 2
    commonlootchance: 0.3
    mediumlootchance: 0.15
    rarelootchance: 0.02
    loot:
      lootlevel: 2
      commonloot:
        - RAW_IRON
      mediumloot:
        - POPPY
      rareloot:
        - POPPY
  blaze:
    blazedrops: true
    highestlootnum: 2
    commonlootchance: 0.02
    mediumlootchance: 0.02
    rarelootchance: 0.02
    loot:
      lootlevel: 3
      commonloot:
        - BLAZE_ROD
      mediumloot:
        - BLAZE_ROD
      rareloot:
        - BLAZE_ROD
  bee:
    beedrops: true
    highestlootnum: 1
    commonlootchance: 0.3
    mediumlootchance: 0.15
    rarelootchance: 0.02
    loot:
      lootlevel: 1
      commonloot:
        - HONEYCOMB
      mediumloot:
        - HONEYCOMB
      rareloot:
        - HONEYCOMB
  piglin:
    piglindrops: true
    highestlootnum: 2
    commonlootchance: 0.3
    mediumlootchance: 0.15
    rarelootchance: 0.02
    loot:
      lootlevel: 3
      commonloot:
        - ROTTEN_FLESH
      mediumloot:
        - GOLD_NUGGET
      rareloot:
        - GOLD_INGOT

Use the spigot docs to find the names for items for the mob drops.

To do:
- Add more mobs
- Documentation

Similar projects

Plugin →