BetterDrops ⚡ icon

BetterDrops ⚡ -----

Add custom drops to mobs and blocks.



[​IMG]
FEATURES:
[​IMG] Loot Customization: Any item, probability, command.
[​IMG] Main command: /betterdrops.
[​IMG] Easy to configure, easy to use.

DEPENDENCIES:
- NBTAPI

PERMISSIONS:
betterdrops.commands.main​

[​IMG]

[​IMG]
Code (YAML):

items
:
  # Define an object with the id "custom-log".
  custom-log
:
    # Preferably, copy the NBT with the command /betterdrops nbt
    NBT
: ' {id: "minecraft:log",Count:2b,Damage:0s }'
    # The probability of obtaining this object, in percentage.
    probability
: 40
    # The list of commands to be executed when the object is obtained.
    commands
:
     - 'msg <player> &aYou got lucky! x2 &6LOG'

  # Define an object with the id "custom-diamond".
  custom-diamond
:
    # Preferably, copy the NBT with the command /betterdrops nbt
    NBT
: ' {id: "minecraft:diamond",Count:1b,Damage:0s }'
    # The probability of obtaining this object, in percentage.
    probability
: 20
    # The list of commands to be executed when the object is obtained.
    commands
:
     - 'msg <player> &bDIAMONDS!'

drops-block
:
  log-drop
:
    # If set to true, the originally dropped items are kept.
    keep-original-drops
: false
    # The type of block that drops the object.
    block
: LOG
    # The list of worlds where the block drops the object.
    worlds
:
     - 'world'
    # The list of objects that can be dropped.
    items
:
     - 'custom-log'

drops-entity
:
  cow-drop
:
    # If set to true, the originally dropped items are kept.
    keep-original-drops
: true
    # The type of entity that drops the object.
    entity
: COW
    # The list of worlds where the entity drops the object.
    worlds
:
     - 'world'
    # The list of objects that can be dropped.
    items
:
     - 'custom-diamond'
 
Resource Information
Author:
----------
Total Downloads: 527
First Release: Dec 11, 2022
Last Update: Jul 19, 2023
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings