Skip to main content
Version: Snapshots

Drop

Determines the items that should still be dropped on death.

effects:
drop:
mode: "PERCENTAGE"
min: 10.0
max: 25.0 # Between 10% and 25%
filters:
items:
- "SHEARS"
- "G:RESOURCES"
slots:
- "ALL"
name:
- '!Crate Key'
lore:
- '!Soulbound'

mode

mode: "PERCENTAGE"
  • SIMPLE: Drops a random amount of items between min and max.
  • PERCENTAGE: Drops a percentage of items between min and max from the stack of items.
  • ALL: Drops all items.

min

min: 10.0

the minimum bounds for the operation

max

max: 10.0

the max bounds for the operation

Filters:

filters:
items:
- "SHEARS"
- "G:RESOURCES"
slots:
- "ALL"

Allows you to make sure the effect only applies to certain items based on various criteria.

Filter options

Items

items:
- "SHEARS"
- "G:RESOURCES"

A list of slots that are affected by this effect. Defaults to all slots.

Slots

slots:
- "ALL"

A list of slots that are affected by this effect. Defaults to all slots.

Name

name:
- '!Crate Key'

A String or list of strings for item names that the affected item must have. Supports ! to negate the filter.

Lore

name:
- 'Dropped on death'

A String or list of strings for item lore lines that the affected item must have. Supports ! to negate the filter.