Offhand Module
Featuresβ
- Define offhand items with custom abilities and chance
- Configure item data and effects via YAML
- Manage global enable/disable of offhand system
Configuration Referenceβ
| Key | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | true | Enable or disable the offhand module |
| offhands | object[] | [] | List of offhand item definitions (id, item-data, ability) |
Exampleβ
offhand.yml
enabled: true
offhands:
- id: test2
item-data:
material: BLUE_DYE
amount: 1
damage: 0
title: Test 2
enchantments: []
flags: []
ability:
type: multiple
chance: 1.0
abilities:
- type: poison
chance: 0.2
duration: 20
amplifier: 1