public final class DeathChestLocationFinder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeathChestLocationFinder.Location
A death chest location.
|
| Modifier and Type | Method and Description |
|---|---|
static @Nullable DeathChestLocationFinder.Location |
find(DeathChest deathChest,
boolean doubleChest)
Finds the most suitable location to place a queued death chest.
|
public static @Nullable DeathChestLocationFinder.Location find(DeathChest deathChest, boolean doubleChest)
deathChest - a queued DeathChest.doubleChest - whether a double chest is preferred.DeathChestLocationFinder.Location that describes the most suitable location to place the specified
death chest.