# Plugin CustomItemsDrop
> The CustomItemsDrop plugin allows players to receive loot in their inventory when breaking blocks and killing creatures.
>
# Currently implemented
* **Loot drop from blocks**
* **Loot drop from entities**
# Configuration example
```
# blocks: :: List of blocks
# block_name: :: Name of the block
# drop_name: :: Name of the item
# permission: :: Player's permission
# count: :: Quantity to be added to the inventory
# percent: :: Drop chance
# play_sound: :: Play sound on success
# sound_name: :: Name of the sound
# cancel_break_event :: Cancel block break event
# loot_bonus_enchant :: Add enchantment luck to quantity
# hide_enchantments :: Hide item enchantments in lore
# name :: Name of the item (This item can be removed)
# :: Example: "Custom item name"
# lore :: Lore of the item (This item can be removed)
# enchantments :: Enchantments of the item (This item can be removed)
blocks:
spruce_log:
spruce_log:
permission: "none"
count: 5
percent: 5.0
play_sound: true
sound_name: "ENTITY_EXPERIENCE_ORB_PICKUP"
cancel_break_event: true
loot_bonus_enchant: false
hide_enchantments: false
name:
- "Spruce log"
lore:
- "Custom lore"
enchantments:
unbreaking:
level: 3
ignore_level_restriction: false
diamond:
permission: "none"
count: 1
percent: 63.0
play_sound: true
sound_name: "ENTITY_EXPERIENCE_ORB_PICKUP"
cancel_break_event: true
loot_bonus_enchant: false
hide_enchantments: false
name:
- "Diamond"
lore:
- "Custom lore"
enchantments:
unbreaking:
level: 1
ignore_level_restriction: false
```
CustomItemsDrop is a free Minecraft Java mod. Compatible with Minecraft 1.21, 1.21.1. Downloaded 40 times (via Hangar). Download it and open it directly in the game.
Explore more