Skip to content

Entity Death Drop

Zazsona edited this page Jul 22, 2021 · 6 revisions

About

Heads with this source type can drop whenever an entity dies, using weapons enchanted with Looting increases the chance of a drop.

Specification

Source Type Key: ENTITY_DEATH_DROP
Required Permissions: decorheads.dropheads

Example

  myhead:
    name: My Head
    texture: eyJ0ZXh0dXJlcyI6eyJTS0lOI...
    sources:
      my-drop-source:
        source-type: ENTITY_DEATH_DROP
        drop-rate: 50

Required Filters

Drop Rate

Tag: drop-rate
Description: Sets the drop rate (as a percentage) for the head to drop. Supports decimal values.
Example: drop-rate: 1.5

Optional Filters

Entities

Tag: 'entities'
Description: Sets the entities that must be killed/die for a head to drop.
Example:

entities:
- Zombie
- Skeleton

Blocks

Tag: blocks
Description: Sets the block the entity must die on to drop a head. Example:

blocks:
- Dirt
- Gravel
- Sand

Tools

Tag: tools
Description: Sets the tools / items the player must use to kill the entity for a head to drop. Any item can be used here, including blocks. Example:

tools:
- Iron_Axe
- Wooden_Axe
- Oak_Planks

Biomes

Tag: biomes
Description: Sets the biomes the entity must die in for a head to drop. Example:

biomes:
- Desert
- Desert_Hills
- Desert_Lakes

Event Invoker

Tag: event-invoker
Description: Sets the whether the kill should be performed by a player or the environment
Example: event-invoker: Player or event-invoker: Environment

Clone this wiki locally