Package de.jeff_media.angelchest
Interface AngelChestPlugin
public interface AngelChestPlugin
Represents the main instance of the AngelChest plugin
-
Method Summary
Modifier and TypeMethodDescription@NotNull AngelChest
createAngelChest(AngelChestBuilder angelChestBuilder)
@NotNull Set<AngelChest>
Gets a Set of all currently loaded AngelChests@NotNull LinkedHashSet<AngelChest>
getAllAngelChestsFromPlayer(OfflinePlayer player)
Gets a LinkedHashSet of all AngelChests currently loaded and owned by a specific player.@Nullable AngelChest
getAngelChestAtBlock(Block block)
Gets an AngelChest at a specific location, or null if that block is not an AngelChest
-
Method Details
-
getAllAngelChests
Gets a Set of all currently loaded AngelChests- Returns:
- Set including all loaded AngelChests
-
getAllAngelChestsFromPlayer
Gets a LinkedHashSet of all AngelChests currently loaded and owned by a specific player. The position of the chests inside the LinkedHashSet correspondents to their ID in /aclist- Parameters:
player
-- Returns:
- Set including all loaded AngelChests by this player
-
getAngelChestAtBlock
Gets an AngelChest at a specific location, or null if that block is not an AngelChest- Parameters:
block
-- Returns:
- The AngelChest, or null
-
createAngelChest
-