Expand description
Head module — player head drops on death.
§Configuration
| Field | Default | Description |
|---|---|---|
enabled | false | Whether this module is active |
skull_drop_chance | 0.01 | Chance (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.
- Head
Config - Configuration for the player head drop module.