Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
EliteMobs
/
com.magmaguy.elitemobs.instanced.dungeons
/
DifficultyResolver
Difficulty
Resolver
public
final
class
DifficultyResolver
Resolves package-local names without changing persisted IDs or translated menu labels.
Members
Constructors
Difficulty
Resolver
Link copied to clipboard
public
void
DifficultyResolver
(
String
source
,
List
<
Map
<
String
,
Object
>
>
definitions
)
Functions
is
Canonical
Link copied to clipboard
public
static
boolean
isCanonical
(
String
id
)
matches
Link copied to clipboard
public
boolean
matches
(
List
<
String
>
filter
,
Object
selectedId
,
String
filterSource
)
parse
Filter
Link copied to clipboard
public
static
List
<
String
>
parseFilter
(
Object
raw
,
String
source
)
Both authored loot and powers accept either one ID or a YAML list of IDs.
resolve
Link copied to clipboard
public
String
resolve
(
Object
raw
)
Returns the canonical 0/1/2 ID, or the normalized custom ID when no tier is known.
resolve
Selected
Link copied to clipboard
public
String
resolveSelected
(
Object
raw
)