🎇Requirements

  • Enchant

  • NBT

  • Player Effect

  • Player XP-Level

  • Player Permission


Enchant

This can be specified using the following syntax:

blocks:
  yellow-crystal:
    requirements:
      enchant: "DAMAGE_ALL:5" # DAMAGE_ALL is the Enchant 5 is the level.

NBT

NBT can be specified using the following syntax:

blocks:
  yellow-crystal:
    requirements:
      nbt: "yellow-crystal-breaker"

Player Effect

Player Effects can be specified using the following syntax:

blocks:
  yellow-crystal:
    requirements:
      effect: "SPEED:2" # SPEED is the effect 2 is the level

Player XP-Level

Player XP-Level can be specified using the following syntax:

blocks:
  yellow-crystal:
    requirements:
      xp-level: 30

Player Permission

Player Permission can be specified using the following syntax:

blocks:
  yellow-crystal:
    requirements:
      permission: "epicblocks.break.yellow-crystal" #example of permission

Last updated