Skip to main content

Effects (Runes)

Terminology Update

In the current version of zItems, "Runes" are now called "Effects". This documentation uses both terms interchangeably, but the configuration uses effects.

Effects are special abilities that can be applied to items in zItems. They provide unique mechanics that enhance gameplay, from mining entire ore veins to auto-selling drops.

Quick Reference

EffectDescriptionEvent
VEIN_MININGMine entire ore veinsBlock Break
HAMMERMine in 3x3 (or larger) areaBlock Break
MELT_MININGAuto-smelt mined blocksBlock Break
XP_BOOSTMultiply XP dropsBlock Break
SILK_SPAWNERPick up spawnersBlock Break
AUTO_SELLAutomatically sell dropsBlock Break / Kill
ABSORPTIONItems go to inventoryBlock Break / Kill
FARMING_HOEArea harvest and plantBlock Break / Interact
SELL_STICKSell container contentsPlayer Interact
INFINITE_BUCKETUnlimited bucket usesBucket Events
UNBREAKABLEPrevent durability lossAlways Active
ENCHANTS_APPLICATORModify enchantmentsOn Application
ATTRIBUTES_APPLICATORAdd/modify attributesOn Application

Adding Effects to Items

In Item Configuration

my_pickaxe:
material: NETHERITE_PICKAXE
display-name: "<gold>Super Pickaxe</gold>"

effects:
- type: VEIN_MINING
tags:
- MINEABLE_PICKAXE
block-limit: 32
damage: 1

- type: MELT_MINING

- type: XP_BOOST
boost: 2.0

Using Commands

Apply effects to items in-game:

/zitems applyeffect vein_mining
/zitems applyeffect melt_mining
/zitems applyeffect xp_boost

Effect Configuration

Each effect has specific configuration options. Here's the general structure:

effects:
- type: EFFECT_TYPE
# Effect-specific options here

# Common options for all effects:
applicable-materials: # Restrict to specific items
- DIAMOND_PICKAXE
- NETHERITE_PICKAXE
applicable-tags: # Or use material tags
- PICKAXES
applicability-blacklisted: false # Invert the filter

Detailed Effect Documentation

For complete documentation on each effect:

See Effects Overview for the complete reference.

Effect Stacking

Multiple effects can be applied to the same item:

effects:
- type: VEIN_MINING
block-limit: 32

- type: MELT_MINING

- type: XP_BOOST
boost: 2.0

- type: AUTO_SELL
multiplier: 1.5
Incompatibilities

Some effects cannot be combined:

  • VEIN_MINING + HAMMER - Both modify block breaking
  • AUTO_SELL + ABSORPTION - Both process drops differently

Effect Items (Runes)

Effects can be represented as physical items that players can apply:

vein_mining_effect:
material: EMERALD
display-name: "<green>Vein Mining Rune</green>"

effects:
- type: VEIN_MINING
block-limit: 32

# Physical representation
representation:
material: EMERALD
display-name: "<green>Vein Mining Rune</green>"
lore:
- "<gray>Apply at smithing table</gray>"

applicator-type: SMITHING_TABLE
template:
item: NETHERITE_UPGRADE_SMITHING_TEMPLATE

Players can then:

  1. Obtain the rune item
  2. Place it in a smithing table with their tool
  3. Apply the effect to their tool

Controlling Effect Access

Item-Level Control

my_item:
# Allow adding more effects
allow-additional-effects: true

# Disable specific effects
disabled-effects:
- AUTO_SELL
- VEIN_MINING

# Show effects in lore
base-effects-visible: true
additional-effects-visible: true

# Limit displayed effects
nb-effects-view: 3

Permission Control

# Allow specific effects
/lp user Steve permission set zitems.effect.vein_mining true

# Allow all effects
/lp group vip permission set zitems.effect.* true

Legacy Migration

If you have old configurations using runes:, update them to use effects::

Old format:

runes:
- vein_mining
- melt_mining

New format:

effects:
- type: VEIN_MINING
block-limit: 32

- type: MELT_MINING

Next Steps

Copyright © 2026 GroupeZ|Build #loading...|-