Understanding Loot and Loot Tables
Explaining loot and loot tables
Last updated
example_table:
weight: 100
drops:
'1':
weight: 60
type: ECONOMY
from: VAULT
min: 10
max: 20example_table:
weight: 100
drops:
'1':
weight: 10
type: ITEM
material: DIAMOND_PICKAXE
name: "&aEnchanted Diamond Pickaxe"
min: 1
max: 1
enchantments:
- unbreaking:3
- efficiency:3
- fortune:3
lore:
- "&7This is an enchanted diamond pickaxe"
- "&7that you got from killing a mob."example_table:
weight: 100
drops:
'1':
weight: 10
type: CUSTOM_ITEM
from: ITEMS_ADDER
item: RUBY_SHARD
min: 3
max: 5example_table:
weight: 100
drops:
'1':
weight: 5
type: POTION
effect: SPEED
amplifier: 2
min: 80
max: 120example_table:
weight: 100
drops:
'1':
weight: 10
type: COMMAND
min: 1
max: 1
command: give {player} diamond 1
message: "&7You have been given a diamond."