EMDungeonLocator

public class EMDungeonLocator implements DungeonLocator

DungeonLocator implementation backed by EMPackage's static world registry. A location counts as being inside EliteMobs content whenever its world is owned by any WorldPackage subclass — open-world dungeons, instanced dungeons, dynamic dungeons, and hub/story worlds all qualify. Non-world package types (items, events, meta, models) aren't keyed by world name and never match.

Intended to gate anti-exploit checks that should cover every EM-managed world, not just the narrow "dungeon" subset, since content-pack scripts usually want to block interaction across every EliteMobs content world. The query is an O(1) HashMap lookup against the world name.

Constructors

Link copied to clipboard
public void EMDungeonLocator()

Functions

Link copied to clipboard
public boolean contains(Location location)