Skip to main content

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​

KeyTypeDefaultDescription
enabledbooleantrueEnable or disable the offhand module
offhandsobject[][]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