Dungeon Difficulty

Added in v1.3.1.

Description

Matches the difficulty of the dungeon occupying the target location's world. The difficulty value is matched case sensitively against the difficulty namespace. Use DEFAULT to match instances with no configured difficulty.

This condition is location based and resolves by world name, so it can misresolve under one-world dungeons where many instances share a world. For an entity based, case insensitive match prefer dungeondifficultynamed.

Attributes

Attribute Aliases Description Default
difficulty d Difficulty namespace to match, case sensitive. Required: omitting it throws a NullPointerException whenever the instance has no configured difficulty. (none)

Examples

HardMode:
  Conditions:
  - dungeondifficulty{difficulty=hard} true

Passes when the dungeon in the target location's world was started on the difficulty whose namespace is exactly hard.

Aliases

  • dungeondifficultylevel
Updated Aug 19, 2026