Skip to main content

Module head

Module head 

Source
Expand description

Head module — player head drops on death.

§Configuration

FieldDefaultDescription
enabledfalseWhether this module is active
skull_drop_chance0.01Chance (0.0 - 1.0) for a player’s head to drop

§Mechanics

When a player dies, there is a chance their head (with their skin profile) is dropped at their death location.

§Notes

This module is currently a stub. The Pumpkin plugin API does not yet expose a PlayerDeathEvent (or equivalent), so player head drop mechanics cannot be hooked until upstream support is added. Additionally, creating player head items with skin profiles requires item data component APIs that may not be available in the WASM plugin environment.

Structs§

Head
Handles player head drops on death.
HeadConfig
Configuration for the player head drop module.