DungeonInstance
Inheritors
Constructors
Link copied to clipboard
public void DungeonInstance(ContentPackagesConfigFields contentPackagesConfigFields, Location lobbyLocation, Location startLocation, World world, Player player, String difficultyName)
public void DungeonInstance(ContentPackagesConfigFields contentPackagesConfigFields, Location lobbyLocation, Location startLocation, World world, Collection<Player> initialPlayers, String difficultyName)
protected void DungeonInstance(ContentPackagesConfigFields contentPackagesConfigFields, Location lobbyLocation, Location startLocation, World world, Collection<Player> initialPlayers, String difficultyName, BooleanSupplier admissionAuthorization)
Properties
Inherited properties
Link copied to clipboard
Link copied to clipboard
protected boolean destroyingMatch
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected int maxPlayers
Link copied to clipboard
protected int minPlayers
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
protected boolean addEntryRoster(Player initiator, List<UUID> entryMemberIds, BooleanSupplier admissionAuthorization)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected static File cloneWorldFiles(ContentPackagesConfigFields instancedDungeonsConfigFields, String instancedWordName)
Link copied to clipboard
Creates a one-life encounter mob owned and cleaned up by this dungeon.
Link copied to clipboard
De-registers a dungeon instance whose constructor body threw after super() had already registered it and started its scheduler tasks.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected static DungeonInstance initializeInstancedWorld(ContentPackagesConfigFields instancedDungeonsConfigFields, String instancedWordName, Player player, String difficultyName)
protected static DungeonInstance initializeInstancedWorld(ContentPackagesConfigFields instancedDungeonsConfigFields, String instancedWordName, Player player, List<UUID> entryMemberIds, String difficultyName)
protected static DungeonInstance initializeInstancedWorld(ContentPackagesConfigFields instancedDungeonsConfigFields, String instancedWordName, Player player, List<UUID> entryMemberIds, String difficultyName, PartyDungeonReadyCheckManager.LaunchReservation reservation)
Link copied to clipboard
A dungeon instance is also dead once its world removal is scheduled or its world reference is gone; both can precede the registry evictions the base check keys on, and the browser holds these objects for the whole 30–90 second deletion window.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks if the level sync is using a relative value (starts with + or -)
Link copied to clipboard
protected static boolean launchEvent(ContentPackagesConfigFields instancedDungeonsConfigFields, String instancedWordName, Player player)
Link copied to clipboard
Link copied to clipboard
Parses the levelSync value from config.
Link copied to clipboard
Participant exits are independent of the boundary used to eject intruders.
Link copied to clipboard
protected static List<UUID> prepareDungeonEntryRoster(Player initiator, ContentPackagesConfigFields configFields)
Link copied to clipboard
protected static String readyCheckDescription(ContentPackagesConfigFields configFields, String difficultyName)
Link copied to clipboard
Recalculates the level sync based on a dynamic level (used by DynamicDungeonInstance).
Link copied to clipboard
Link copied to clipboard
Player-facing entry boundary.
Link copied to clipboard
protected static List<Player> resolveDungeonEntryRoster(Player initiator, Collection<UUID> memberIds, ContentPackagesConfigFields configFields, DungeonInstance allowedInstance)
Link copied to clipboard
Schedules a cancellable delayed teardown, reusing the destroyMatchTask slot so it is cancelled by cancelDestroyMatchTask()/cleanupInstanceReferences() like every other instanced-dungeon task.
Link copied to clipboard
public static void setupInstancedDungeon(Player player, String instancedDungeonConfigFieldsString, String difficultyName)
Link copied to clipboard
Inherited functions
Link copied to clipboard
Releases an admission reservation if registration could not finish.
Link copied to clipboard
Link copied to clipboard
True only when both the active participant and a prospective combat target remain inside this ongoing instance.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns this participant's remaining dungeon/arena lives, or null when no counter is active.
Link copied to clipboard
Distinguishes successive matches that reuse the same world and physical region.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The single admission predicate.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
True for a player currently waiting in this match's spectator/downed state.
Link copied to clipboard
Admitted players whose entry task has reached the lobby, including the start countdown.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Acquired after all cancellable admission preflights, before player registration.
Link copied to clipboard