Index

A B C D E F G H I J K L M N O P R S T U V W Y 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractCustomItem - Class in net.mathias2246.buildmc.api.item
An abstract-class that can be used to define custom-item types for your plugin.
AbstractCustomItem(Plugin, NamespacedKey) - Constructor for class net.mathias2246.buildmc.api.item.AbstractCustomItem
 
AbstractSelectionTool - Class in net.mathias2246.buildmc.api.item.abstractTypes
An abstract-class that can be used to create selection tools.
AbstractSelectionTool(Plugin, NamespacedKey) - Constructor for class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
The default constructor for selection tools.
AbstractTool - Class in net.mathias2246.buildmc.api.item.abstractTypes
An abstract class that should be used to define custom tools for your plugin.
AbstractTool(Plugin, NamespacedKey) - Constructor for class net.mathias2246.buildmc.api.item.abstractTypes.AbstractTool
 
ADDED - Enum constant in enum class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent.ChangeAction
 
addEntries(Plugin, Collection) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Registers multiple new entries.
addEntries(Plugin, Collection) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Registers multiple new entries.
addEntries(Plugin, T...) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Registers multiple new entries.
addEntries(Plugin, T...) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Registers multiple new entries.
addEntry(Plugin, T) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Registers a new entry under a certain key.
addEntry(Plugin, T) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Registers a new entry under a certain key.
addEntryOrThrow(Plugin, T) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Registers a new entry under a certain key.
addMember(UUID) - Method in class net.mathias2246.buildmc.api.team.Team
Adds a member by his UUID to this team.
addMember(UUID, boolean, boolean) - Method in class net.mathias2246.buildmc.api.team.Team
Adds a member by his UUID to this team.
addMember(Entity) - Method in class net.mathias2246.buildmc.api.team.Team
Adds a Entity as a member to this team.
addPlayerToWhitelist(long, UUID) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Adds a player to a claim's whitelist.
addProtection(long, Protection) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Adds a protection to a claim by ID.
addProtection(long, NamespacedKey) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Adds a protection to a claim by ID.
addProtection(Claim, Protection) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Adds a protection to a claim by ID.
addProtection(Claim, NamespacedKey) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Adds a protection to a claim by ID.
addProtection(NamespacedKey) - Method in class net.mathias2246.buildmc.api.claims.Claim
Adds a protection to this claim.
addRegistry(String, Registry) - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder.Builder
Adds an existing Registry instance to the holder instance that this Builder will build.
addRegistry(String, Registry) - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder
Adds a Registry to this holder under a certain key.
addStatus(StatusInstance) - Method in class net.mathias2246.buildmc.api.event.player.StatusLoadEvent
Adds a status to the registry during the loading phase.
addTag(Tag) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Adds a Tag to this registry.
addTag(Tag) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Adds a Tag to this registry, if not initialized.
addWhitelistedPlayer(UUID) - Method in class net.mathias2246.buildmc.api.claims.Claim
Adds a player to the whitelist of this claim.
ALLOW - Enum constant in enum class net.mathias2246.buildmc.api.status.StatusInstance.AllowStatus
The player is allowed to use this status
allowFirstSelection(ItemStack, Location, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
Checks if the player should be able to set the first selection position.
allowPlayer(Player) - Method in class net.mathias2246.buildmc.api.status.StatusInstance
Checks if the given player can have this status.
allowSecondSelection(ItemStack, Location, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
Checks if the player should be able to set the second selection position.
applyBoost(Player) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Applies a spawn-elytra boost to the given player using default multiplier and vertical velocity values, and marks them as boosted.
applyBoost(Player, int, double) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Applies a spawn-elytra boost to the given player and marks them as having boosted for this flight session.
applyRawBoost(Player) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Applies a spawn-elytra boost to the given player using default values, without marking them as boosted.
applyRawBoost(Player, int, double) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Applies a spawn-elytra boost to the given player without marking them as boosted, allowing multiple boosts per flight.
audiences() - Method in class net.mathias2246.buildmc.api.team.Team
 
AudienceUtil - Class in net.mathias2246.buildmc.util
 
AudienceUtil() - Constructor for class net.mathias2246.buildmc.util.AudienceUtil
 
author - Variable in class net.mathias2246.buildmc.api.DiscordEmbed
 
author(String) - Method in class net.mathias2246.buildmc.api.DiscordEmbed.Builder
 

B

BaseRegistry<T> - Class in net.mathias2246.buildmc.util.registry
An implementation of Bukkit's Registry that is permanently mutable.
BaseRegistry(Key) - Constructor for class net.mathias2246.buildmc.util.registry.BaseRegistry
Initializes a new empty register
blockToChunk(int) - Static method in class net.mathias2246.buildmc.util.LocationUtil
Converts a block coordinate to its chunk coordinate.
BoundingBoxSelection - Class in net.mathias2246.buildmc.api.selection
 
BoundingBoxSelection(BoundingBox, World, Material) - Constructor for class net.mathias2246.buildmc.api.selection.BoundingBoxSelection
 
build() - Method in class net.mathias2246.buildmc.api.DiscordEmbed.Builder
 
build() - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder.Builder
 
build(Player) - Method in interface net.mathias2246.buildmc.util.ParticleSpawner.Builder
 
buildDefaultItemStack() - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Creates the default ItemStack for this custom-item type.
Builder() - Constructor for class net.mathias2246.buildmc.api.DiscordEmbed.Builder
 
Builder() - Constructor for class net.mathias2246.buildmc.util.registry.RegistriesHolder.Builder
 
BuildMcAPI - Interface in net.mathias2246.buildmc.api
The primary API interface for BuildMC.
BuildMcFinishedLoadingEvent - Class in net.mathias2246.buildmc.api.event.lifecycle
Fired when BuildMC has finished loading and is up and running.
BuildMcFinishedLoadingEvent(BuildMcAPI) - Constructor for class net.mathias2246.buildmc.api.event.lifecycle.BuildMcFinishedLoadingEvent
Constructs a new BuildMcInitializedEvent.
BuildMcRegistryEvent - Class in net.mathias2246.buildmc.api.event.lifecycle
The BuildMcRegistryEvent is fired once during the plugin startup lifecycle to give other plugins a chance to register or modify values in BuildMC’s registries before they are finalized and made immutable.
BuildMcRegistryEvent(BuildMcAPI) - Constructor for class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
Creates a new BuildMcRegistryEvent.
buildParticleSpawner() - Method in class net.mathias2246.buildmc.util.ParticleSpawner
 
BusEvent - Record Class in net.mathias2246.buildmc.api.messageBus
 
BusEvent(String, SemVer, String, JsonObject, long) - Constructor for record class net.mathias2246.buildmc.api.messageBus.BusEvent
Creates an instance of a BusEvent record class.

C

calculateChunkArea(int, int, int, int) - Static method in class net.mathias2246.buildmc.util.LocationUtil
Calculates the Area in chunks between these chunk coordinates.
calculateChunkArea(Location, Location) - Static method in class net.mathias2246.buildmc.util.LocationUtil
Calculates the number of chunks covered by the area defined by two positions.
canPlayerSee(Player) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
canUse(ItemStack, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Checks if the player can interact in any way with this custom item.
canUse(ItemStack, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
Checks is this custom item is usable.
channelId() - Method in record class net.mathias2246.buildmc.api.messageBus.BusEvent
Returns the value of the channelId record component.
Claim - Class in net.mathias2246.buildmc.api.claims
Represents a claimed area of land within a world.
Claim(Long, ClaimType, String, UUID, int, int, int, int, String, List, List) - Constructor for class net.mathias2246.buildmc.api.claims.Claim
Constructs a new claim.
ClaimCreateEvent - Class in net.mathias2246.buildmc.api.event.claims
Called when one or more claims are created.
ClaimCreateEvent(List) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
Constructs a new ClaimCreateEvent for multiple claims.
ClaimCreateEvent(Claim) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
Constructs a new ClaimCreateEvent for a claim.
ClaimManager - Interface in net.mathias2246.buildmc.api.claims
The ClaimManager provides methods to interact with land claims, protections, and whitelists within the BuildMC plugin.
ClaimOwnerChangeEvent - Class in net.mathias2246.buildmc.api.event.claims
Called when the owner ID of a Claim is about to change.
ClaimOwnerChangeEvent(Claim, String, String) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimOwnerChangeEvent
Creates a new claim owner change event.
ClaimProtectionChangeEvent - Class in net.mathias2246.buildmc.api.event.claims
Called when a Protection of a Claim is about to change.
ClaimProtectionChangeEvent(Claim, Protection, ClaimProtectionChangeEvent.ActiveState) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
ClaimProtectionChangeEvent.ActiveState - Enum Class in net.mathias2246.buildmc.api.event.claims
 
ClaimRegisteredEvent - Class in net.mathias2246.buildmc.api.event.claims
Called after one or more claims have been created and persisted to the database.
ClaimRegisteredEvent(List) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimRegisteredEvent
Constructs a new ClaimRegisteredEvent for multiple claims.
ClaimRegisteredEvent(Claim) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimRegisteredEvent
Constructs a new ClaimRegisteredEvent for a claim.
ClaimRemoveEvent - Class in net.mathias2246.buildmc.api.event.claims
Called when one or more claims were removed.
ClaimRemoveEvent(List) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimRemoveEvent
Constructs a new ClaimRemoveEvent for multiple claims.
ClaimRemoveEvent(Claim) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimRemoveEvent
Constructs a new ClaimRemoveEvent for a single claim.
ClaimType - Enum Class in net.mathias2246.buildmc.api.claims
Represents the type of owner associated with a Claim.
ClaimWhitelistChangeEvent - Class in net.mathias2246.buildmc.api.event.claims
Called when the whitelist of a Claim is about to change.
ClaimWhitelistChangeEvent(Claim, OfflinePlayer, ClaimWhitelistChangeEvent.ChangeAction) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
The default constructor for creating this event.
ClaimWhitelistChangeEvent.ChangeAction - Enum Class in net.mathias2246.buildmc.api.event.claims
Defines which action was applied on the whitelist.
clear() - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Removes all the entries from this registry.
clone() - Method in class net.mathias2246.buildmc.api.team.Team
Creates a clone of this team.
CLOSED - Enum constant in enum class net.mathias2246.buildmc.api.endEvent.EndState
The End is currently closed and cannot be entered by players.
closeEnd(CommandSender, EndChangeCause) - Method in interface net.mathias2246.buildmc.api.endEvent.EndManager
Requests that the End be closed using BuildMC's default announcement key.
closeEnd(CommandSender, EndChangeCause, String) - Method in interface net.mathias2246.buildmc.api.endEvent.EndManager
Requests that the End be closed with a custom announcement key.
color - Variable in class net.mathias2246.buildmc.api.DiscordEmbed
 
color(int) - Method in class net.mathias2246.buildmc.api.DiscordEmbed.Builder
 
COMMAND - Enum constant in enum class net.mathias2246.buildmc.api.endEvent.EndChangeCause
The End is being opened or closed due to a player or admin command.
ComponentUtil - Class in net.mathias2246.buildmc.util
A utility class for Adventure-API Components
ComponentUtil() - Constructor for class net.mathias2246.buildmc.util.ComponentUtil
 
configuration - Variable in class net.mathias2246.buildmc.util.config.YamlConfigurationManager
The configuration instance that is managed by this ConfigurationManager
contains(int, int, UUID) - Method in class net.mathias2246.buildmc.api.claims.Claim
Checks whether this claim contains the given chunk coordinates in the given world.
contains(Chunk) - Method in class net.mathias2246.buildmc.api.claims.Claim
Checks whether this claim contains the given chunk.
contains(NamespacedKey) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Checks if the given NamespacedKey is inside this registry or not.
containsMetadataKey(String) - Method in class net.mathias2246.buildmc.util.MetadataHolder
Checks if a certain metadata key is present in this instance.
currentStep - Variable in class net.mathias2246.buildmc.util.PlayerTimer
The current amount of steps the internal loop has stepped.
CUSTOM_ITEM_PDC_KEY - Static variable in class net.mathias2246.buildmc.api.item.AbstractCustomItem
The NamespacedKey used to store the id of the custom item inside the ItemStack PDC
CUSTOM_ITEMS - Enum constant in enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
The default custom-item registry
CustomEntityEvent - Class in net.mathias2246.buildmc.api.event
Base class for custom Bukkit entity events that support metadata.
CustomEntityEvent(Entity) - Constructor for class net.mathias2246.buildmc.api.event.CustomEntityEvent
 
CustomEvent - Class in net.mathias2246.buildmc.api.event
Base class for custom Bukkit events that support metadata.
CustomEvent() - Constructor for class net.mathias2246.buildmc.api.event.CustomEvent
 
CustomItemListener - Class in net.mathias2246.buildmc.api.item
The Listener used to call the events inside custom item type implementations.
CustomItemListener() - Constructor for class net.mathias2246.buildmc.api.item.CustomItemListener
 
customItemsRegistry - Static variable in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Shared registry instance for AbstractCustomItem instances
CustomPlayerEvent - Class in net.mathias2246.buildmc.api.event
Base class for player-related custom events that support metadata.
CustomPlayerEvent(Player) - Constructor for class net.mathias2246.buildmc.api.event.CustomPlayerEvent
Constructs a new CustomPlayerEvent for the given player.

D

defaultProtections - Static variable in class net.mathias2246.buildmc.api.claims.Protection
A collection of all default protection keys that should be automatically applied when creating a new claim.
DefaultRegistries - Enum Class in net.mathias2246.buildmc.util.registry
An Enum containing all the keys of the registries defined by BuildMC.
defer(Plugin, Consumer) - Static method in class net.mathias2246.buildmc.util.TaskUtil
Runs the given task on the next tick on the main server thread.
deferForEntity(Plugin, Entity, Consumer) - Static method in class net.mathias2246.buildmc.util.TaskUtil
Runs the given task on the next tick on the main server thread.
DeferredRegistry<T> - Class in net.mathias2246.buildmc.util.registry
A DeferredRegistry is an implementation of Bukkit's Registry interface.
DeferredRegistry(Key) - Constructor for class net.mathias2246.buildmc.util.registry.DeferredRegistry
 
delay - Variable in class net.mathias2246.buildmc.util.ParticleSpawner
The delay in ticks between each run.
deleteClaims(Collection) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Deletes multiple Claim objects from the system and removes them from the database.
description - Variable in class net.mathias2246.buildmc.api.DiscordEmbed
 
description(String) - Method in class net.mathias2246.buildmc.api.DiscordEmbed.Builder
 
deserialize(String) - Static method in class net.mathias2246.buildmc.util.LocationUtil
Deserialize a String back into a Location.
deserialize(Map, String) - Static method in class net.mathias2246.buildmc.api.status.StatusInstance
Deserializes a StatusInstance that is represented using a Map.
destroy() - Method in class net.mathias2246.buildmc.api.selection.BoundingBoxSelection
 
destroy() - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
DISABLED - Enum constant in enum class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent.ActiveState
 
DiscordEmbed - Class in net.mathias2246.buildmc.api
 
DiscordEmbed.Builder - Class in net.mathias2246.buildmc.api
 
DiscordEmbed.Field - Record Class in net.mathias2246.buildmc.api
 
display() - Method in class net.mathias2246.buildmc.util.ParticleSpawner
Displays the actual particles.
Displayable - Interface in net.mathias2246.buildmc.api.ui
Used to define a contract for per-player ItemStack creation in UIs.
doesOwnerHaveClaimWithName(String, String) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks whether the owner already has a claim with the given name.
droppedRecently(Player) - Static method in class net.mathias2246.buildmc.api.item.ItemDropTracker
Returns true if the player dropped an item within the configured threshold.

E

editConfiguration(Consumer) - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Uses a Consumer to change the contents of the core configuration before the core plugin finishes loading.
editMeta(ItemStack, Consumer) - Static method in class net.mathias2246.buildmc.api.item.ItemUtil
A helper method for editing ItemMeta using a Consumer that takes in an ItemMeta instance.
ElytraManager - Interface in net.mathias2246.buildmc.api.spawnEyltra
API for interacting with BuildMC's spawn-elytra system.
empty() - Method in class net.mathias2246.buildmc.api.team.Team
Removes all members from this team.
ENABLED - Enum constant in enum class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent.ActiveState
 
EndChangeCause - Enum Class in net.mathias2246.buildmc.api.endEvent
Represents the reason why the End is being opened or closed.
EndManager - Interface in net.mathias2246.buildmc.api.endEvent
API for interacting with BuildMC's End event system.
EndState - Enum Class in net.mathias2246.buildmc.api.endEvent
Represents the current state of the End dimension.
EndStateChangeEvent - Class in net.mathias2246.buildmc.api.event.endevent
Fired when the End state is about to change.
EndStateChangeEvent(EndState, EndState, EndChangeCause, CommandSender, String) - Constructor for class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Constructs a new EndStateChangeEvent.
equals(Object) - Method in record class net.mathias2246.buildmc.api.DiscordEmbed.Field
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.mathias2246.buildmc.api.messageBus.BusEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.mathias2246.buildmc.api.messageBus.SemVer
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.mathias2246.buildmc.api.team.Team
 
EVENT_CHANNELS - Enum constant in enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
The event channel registry
EVENT_SUBSCRIPTIONS - Enum constant in enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
The event subscription registry
EventBus - Interface in net.mathias2246.buildmc.api.messageBus
 
EventChannel - Class in net.mathias2246.buildmc.api.messageBus
 
EventChannel(NamespacedKey, SemVer, String) - Constructor for class net.mathias2246.buildmc.api.messageBus.EventChannel
 
EventHandler - Interface in net.mathias2246.buildmc.api.messageBus
 
EventSubscription - Class in net.mathias2246.buildmc.api.messageBus
 
EventSubscription(NamespacedKey, NamespacedKey, Set, String, EventHandler) - Constructor for class net.mathias2246.buildmc.api.messageBus.EventSubscription
 

F

field(String, String, boolean) - Method in class net.mathias2246.buildmc.api.DiscordEmbed.Builder
 
Field(String, String, boolean) - Constructor for record class net.mathias2246.buildmc.api.DiscordEmbed.Field
Creates an instance of a Field record class.
fields - Variable in class net.mathias2246.buildmc.api.DiscordEmbed
 
firstSelectionKey - Variable in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
The NamespacedKey used to identify the first selection of this selection tool
footer - Variable in class net.mathias2246.buildmc.api.DiscordEmbed
 
footer(String) - Method in class net.mathias2246.buildmc.api.DiscordEmbed.Builder
 
forceRemovePlayerStatus(Player) - Method in interface net.mathias2246.buildmc.api.status.StatusManager
 
forEach(Consumer) - Method in class net.mathias2246.buildmc.api.team.Team
Iterates over all members on this team, and apply an action on each member.
fromPrimitive(String, PersistentDataAdapterContext) - Method in class net.mathias2246.buildmc.util.persistentDataTypes.PersistentDateTimeType
 

G

get(String) - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder
Retrieves a Registry instance from this holder by its key.
get(NamespacedKey) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Gets an entry from the deferred-registry
get(NamespacedKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Gets an entry from the deferred-registry
getAcceptedVersions() - Method in class net.mathias2246.buildmc.api.messageBus.EventSubscription
 
getAction() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
Gets the kind of action that will be used on the player in the whitelist.
getAllClaims() - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Retrieves all Claim entries stored in the database.
getAnnouncementKey() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Gets the translation key for the announcement message.
getApi() - Method in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcFinishedLoadingEvent
Gets the BuildMC API instance.
getApi() - Method in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
Gets the BuildMC API instance.
getAsType(String) - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder
Retrieves a Registry instance from this holder by its key.
getBlockCorners(Claim) - Static method in class net.mathias2246.buildmc.util.LocationUtil
Returns the min and max block coordinates of a claim.
getCause() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Gets the cause of the End state changing.
getChannelId() - Method in class net.mathias2246.buildmc.api.messageBus.EventSubscription
 
getChunkX1() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the first X-coordinate of the claimed area.
getChunkX2() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the second X-coordinate of the claimed area.
getChunkZ1() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the first Z-coordinate of the claimed area.
getChunkZ2() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the second Z-coordinate of the claimed area.
getClaim() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
Convenience method for single-claim operations.
getClaim() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimOwnerChangeEvent
Gets the claim whose ownership is being changed.
getClaim() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
Gets the claim where the protection was toggled on or off.
getClaim() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimRegisteredEvent
Convenience method for single-claim operations.
getClaim() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimRemoveEvent
Convenience method for single-claim operations.
getClaim() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
Gets the claim where the whitelist is about to be changed.
getClaim(Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets the claim at a given location.
getClaimByID(long) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets a claim by its ID.
getClaimId(Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets the claim ID of a claimed Location.
getClaimManager() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Gets the ClaimManager
getClaimNameById(long) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets the name of a claim by its ID.
getClaims() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
Gets an immutable list of claims being created.
getClaims() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimRegisteredEvent
Gets an immutable list of claims that were created.
getClaims() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimRemoveEvent
Gets an immutable list of claims that were removed.
getClaimsInArea(Location, Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets all claims within the given area.
getCollection() - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder
 
getColor() - Method in class net.mathias2246.buildmc.api.team.Team
 
getCommandSender() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Gets the sender responsible for changing the End state.
getComplexType() - Method in class net.mathias2246.buildmc.util.persistentDataTypes.PersistentDateTimeType
 
getCurrentState() - Method in interface net.mathias2246.buildmc.api.endEvent.EndManager
Returns the current state of the End.
getCustomItemFromItemStack(ItemStack) - Static method in class net.mathias2246.buildmc.api.item.ItemUtil
Will try to get a AbstractCustomItem from an ItemStack if it is a custom item.
getCustomItemKey(ItemStack) - Static method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Tries to read the custom item type from an ItemStack.
getDisplay() - Method in class net.mathias2246.buildmc.api.status.StatusInstance
 
getDisplay(Player) - Method in interface net.mathias2246.buildmc.api.ui.Displayable
Create a new ItemStack for usage in UIs.
getDisplayAction() - Method in class net.mathias2246.buildmc.api.claims.Protection
 
getDisplayAction() - Method in interface net.mathias2246.buildmc.api.ui.Displayable
Get the click action associated with this display item.
getDisplayName() - Method in class net.mathias2246.buildmc.api.team.Team
 
getElytraManager() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Gets the ElytraManager
getEndManager() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Gets the EndManager
getEvent() - Method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Gets the PlayerDeathEvent that caused the head to drop.
getEventBus() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Gets the EventBus
getFace() - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
getFirstSelection(Player) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
Tries reading the first selection position from the player's metadata.
getFromClaim() - Method in class net.mathias2246.buildmc.api.event.claims.PlayerChangeClaimEvent
Gets the ID of the claim the player is leaving.
getHandler() - Method in class net.mathias2246.buildmc.api.messageBus.EventSubscription
 
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
Required by the Bukkit event system for registration.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.claims.ClaimOwnerChangeEvent
Gets the static list of handlers for this event type.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
Gets the static list of handlers for this event type.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.claims.ClaimRegisteredEvent
Required by the Bukkit event system for registration.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.claims.ClaimRemoveEvent
Required by the Bukkit event system for registration.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
Gets the static list of handlers for this event type.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.claims.PlayerChangeClaimEvent
Gets the static list of handlers for this event type.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Gets the static list of handlers for this event type.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcFinishedLoadingEvent
Gets the static list of handlers for this event type.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
Gets the static list of handlers for this event type.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.player.PlayerFirstTimeJoinEvent
 
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Gets the static list of handlers for this event type.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportEvent
 
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.player.StatusChangeEvent
 
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.player.StatusLoadEvent
Required static method for Bukkit event registration.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.team.TeamMemberAddEvent
 
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.team.TeamMemberRemovedEvent
 
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.team.TeamRegisteredEvent
 
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.team.TeamUnregisterEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimOwnerChangeEvent
Gets the handler list for this event instance.
getHandlers() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimRegisteredEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimRemoveEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.claims.PlayerChangeClaimEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.CustomEntityEvent
Returns the HandlerList for this event type.
getHandlers() - Method in class net.mathias2246.buildmc.api.event.CustomEvent
Returns the HandlerList for this event type.
getHandlers() - Method in class net.mathias2246.buildmc.api.event.CustomPlayerEvent
Returns the HandlerList for this event type.
getHandlers() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcFinishedLoadingEvent
Gets the list of handlers for this event.
getHandlers() - Method in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
Gets the list of handlers for this event.
getHandlers() - Method in class net.mathias2246.buildmc.api.event.player.PlayerFirstTimeJoinEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Gets the list of handlers for this event instance.
getHandlers() - Method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.player.StatusChangeEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.player.StatusLoadEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.team.TeamMemberAddEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.team.TeamMemberRemovedEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.team.TeamRegisteredEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.team.TeamUnregisterEvent
 
getId() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the database ID of this claim.
getInterpolationDuration() - Method in class net.mathias2246.buildmc.api.selection.BoundingBoxSelection
 
getJoinEvent() - Method in class net.mathias2246.buildmc.api.event.player.PlayerFirstTimeJoinEvent
Gets the PlayerJoinEvent that triggered this event.
getKey() - Method in class net.mathias2246.buildmc.api.claims.Protection
Returns the unique NamespacedKey for this protection.
getKey() - Method in class net.mathias2246.buildmc.api.Guide
 
getKey() - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
 
getKey() - Method in class net.mathias2246.buildmc.api.messageBus.EventChannel
 
getKey() - Method in class net.mathias2246.buildmc.api.messageBus.EventSubscription
 
getKey() - Method in class net.mathias2246.buildmc.api.status.StatusInstance
 
getKey() - Method in class net.mathias2246.buildmc.util.registry.KeyHolder
 
getKey(T) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Gets the NamespacedKey of a T
getKey(T) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Gets the NamespacedKey of a T
getKiller() - Method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Gets the killer of the victim.
getMemberId() - Method in class net.mathias2246.buildmc.api.event.team.TeamMemberEvent
Returns the UUID of the member involved in this event.
getMetadata() - Method in class net.mathias2246.buildmc.api.event.CustomEntityEvent
Returns an unmodifiable view of the metadata map associated with this event.
getMetadata() - Method in class net.mathias2246.buildmc.api.event.CustomEvent
Returns an unmodifiable view of the metadata map associated with this event.
getMetadata() - Method in class net.mathias2246.buildmc.api.event.CustomPlayerEvent
Returns an unmodifiable view of the metadata map associated with this event.
getMetadata() - Method in class net.mathias2246.buildmc.util.MetadataHolder
Returns an unmodifiable view of all metadata entries stored in this instance.
getName() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the display name of this claim.
getName() - Method in class net.mathias2246.buildmc.api.team.Team
 
getNewOwnerId() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimOwnerChangeEvent
Gets the new owner ID that will be assigned to the claim if the event is not cancelled.
getNewState() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
Gets the new state of the protection after the change.
getNewState() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Gets the state that the End is transitioning to.
getNewStatus() - Method in class net.mathias2246.buildmc.api.event.player.StatusChangeEvent
 
getOldOwnerId() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimOwnerChangeEvent
Gets the previous owner ID of the claim.
getOldStatus() - Method in class net.mathias2246.buildmc.api.event.player.StatusChangeEvent
 
getOptional(String) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Optionally retrieves an entry from this registry by its NamespacedKey in a String representation.
getOptional(String) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Optionally retrieves an entry from this deferred-registry by its NamespacedKey in a String representation.
getOptional(String) - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder
Optionally retrieves a Registry instance from this holder by its key and with a certain type.
getOptional(NamespacedKey) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Optionally retrieves an entry from this registry by its NamespacedKey.
getOptional(NamespacedKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Optionally retrieves an entry from this deferred-registry by its NamespacedKey.
getOrigin() - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
getOrThrow(NamespacedKey) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Gets an entry from this registry, or throws an exception
getOrThrow(NamespacedKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Gets an entry from the deferred-registry, or throws an exception
getOwnerId() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the owner ID of this claim.
getOwnerName(Claim) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets the name of the owner of the given claim.
getPermissions() - Method in class net.mathias2246.buildmc.api.status.StatusInstance
Gets an optional set of Permissions, of which at least one is required to set this status.
getPlayerHead() - Method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Gets the ItemStack representing the player's head.
getPlayerTeam(Player) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets the current scoreboard Team of a player.
getPlugin() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Gets the Bukkit plugin instance of BuildMC.
getPlugin() - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
 
getPlugin() - Method in class net.mathias2246.buildmc.util.config.YamlConfigurationManager
 
getPreviousState() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Gets the previous state of the End before this event.
getPrimitiveType() - Method in class net.mathias2246.buildmc.util.persistentDataTypes.PersistentDateTimeType
 
getProtection() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
Gets the protection that was toggled on or off.
getProtections() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the set of protections applied to this claim.
getPublisherId() - Method in class net.mathias2246.buildmc.api.messageBus.EventChannel
 
getRegistriesHolder() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Gets the shared RegistriesHolder that contains all custom registries shared over all plugins that use the BuildMC-API.
getRemainingPlayerClaims(String) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets how many claimable chunks a player has left.
getRemainingPlayerClaims(UUID) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets how many claimable chunks a player has left.
getRemainingTeamClaims(String) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets how many claimable chunks a team has left.
getSecondSelection(Player) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
Tries reading the second selection position from the player's metadata.
getSoundManager() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Gets the SoundManager
getStatusId() - Method in class net.mathias2246.buildmc.api.status.StatusInstance
 
getStatusManager() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Gets the StatusManager
getStatusRegistry() - Method in class net.mathias2246.buildmc.api.event.player.StatusLoadEvent
Returns the registry being populated during this load event.
getSubscriberId() - Method in class net.mathias2246.buildmc.api.messageBus.EventSubscription
 
getTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Gets a Tag from this registry by its key.
getTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Gets a Tag from this registry by its key.
getTags() - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Gets a Collection containing all Tags in this registry.
getTags() - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Gets a Collection containing all Tags in this registry.
getTeam() - Method in class net.mathias2246.buildmc.api.event.team.TeamEvent
Returns the Team involved in this event.
getTeam(String) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Tries to find a registered team with the given string identifier.
getTeamFromMember(UUID) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Tries to return the team where the given UUID is on.
getTeamFromMember(Entity) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Tries to return the team where the given entity is on.
getTeamManager() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Gets the main TeamManager
getTeamManager() - Method in class net.mathias2246.buildmc.api.event.team.TeamEvent
Returns the TeamManager the involved team is registered in.
getTeamManager() - Method in class net.mathias2246.buildmc.api.team.Team
Returns the TeamManager this team is registered in.
getTeams() - Method in class net.mathias2246.buildmc.api.status.StatusInstance
Gets an optional set of Teams, of which at least one is required to set this status.
getTeams() - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Returns an immutable collection of teams.
getTextKey() - Method in class net.mathias2246.buildmc.api.Guide
 
getTimestamp() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimOwnerChangeEvent
Gets the timestamp (in milliseconds since epoch) when this event instance was created.
getTimestamp() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
Gets when the change occurred.
getTimestamp() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
Gets when the change occurred.
getTo() - Method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportEvent
Gets the Location to where the player is teleported after waiting.
getToClaim() - Method in class net.mathias2246.buildmc.api.event.claims.PlayerChangeClaimEvent
Gets the ID of the claim the player is entering.
getTranslationBaseKey() - Method in class net.mathias2246.buildmc.api.claims.Protection
Gets the translation base key used for localization.
getType() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the type of this claim.
getUrls() - Method in class net.mathias2246.buildmc.api.Guide
 
getValue() - Method in class net.mathias2246.buildmc.util.registry.KeyHolder
Gets the stored object
getVersion() - Method in class net.mathias2246.buildmc.api.messageBus.EventChannel
 
getVictim() - Method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Gets the victim whose head is being dropped.
getWhitelistedPlayer() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
Gets the player that is about to be added or removed from the whitelist depending on the action.
getWhitelistedPlayers() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the set of whitelisted players in this claim.
getWorldId() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the world UUID where this claim exists.
giveToPlayer(Player) - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Gives a single item of this type to a player.
giveToPlayer(Player, int) - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Gives a certain amount of this custom item to a player.
giveToPlayer(Player, ItemMetaModifier) - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Gives a single item of this type to a player and modifies the ItemMeta with a custom modifier.
Guide - Class in net.mathias2246.buildmc.api
 
Guide(Key, String, Map) - Constructor for class net.mathias2246.buildmc.api.Guide
 
GUIDES - Enum constant in enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
The default guides registry

H

handle(BusEvent) - Method in interface net.mathias2246.buildmc.api.messageBus.EventHandler
 
hasAllProtectionKeys(Claim, Collection) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks if a claim has all the specified protections by key.
hasAllProtections(Claim, Collection) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks if a claim has all the specified protections by string identifiers.
hasAnyProtection(Claim, Collection) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks if a claim has any of the provided protections.
hasBoosted(Entity) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Checks whether the given entity has already used a boost during their current flight session.
hasBoosted(Player) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Checks whether the given player has already used a boost during their current flight session.
hashCode() - Method in record class net.mathias2246.buildmc.api.DiscordEmbed.Field
Returns a hash code value for this object.
hashCode() - Method in record class net.mathias2246.buildmc.api.messageBus.BusEvent
Returns a hash code value for this object.
hashCode() - Method in record class net.mathias2246.buildmc.api.messageBus.SemVer
Returns a hash code value for this object.
hashCode() - Method in class net.mathias2246.buildmc.api.team.Team
 
hasProtection(Protection) - Method in class net.mathias2246.buildmc.api.claims.Claim
Checks if this claim has a specific protection.
hasProtection(Claim, NamespacedKey) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks if a claim has a specific protection.
hasProtection(NamespacedKey) - Method in class net.mathias2246.buildmc.api.claims.Claim
Checks if this claim has a specific protection.
hasTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Checks if a certain TagKey is found for this registry.
hasTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Checks if a certain TagKey is found for this registry.
hideFromPlayer(Plugin, Player) - Method in class net.mathias2246.buildmc.api.selection.BoundingBoxSelection
 
hideFromPlayer(Plugin, Player) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
How to use it - Section in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
 

I

Important - Section in net.mathias2246.buildmc.util.registry.DeferredRegistry.initialize()
 
Important - Section in net.mathias2246.buildmc.util.registry.DeferredRegistry.isInitialized()
 
init() - Method in class net.mathias2246.buildmc.util.PlayerTimer
 
initialize() - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Initializes this deferred-registry.
inline() - Method in record class net.mathias2246.buildmc.api.DiscordEmbed.Field
Returns the value of the inline record component.
INSTANCE - Static variable in class net.mathias2246.buildmc.util.persistentDataTypes.PersistentDateTimeType
 
InvalidStringException - Exception Class in net.mathias2246.buildmc.util
 
InvalidStringException(String) - Constructor for exception class net.mathias2246.buildmc.util.InvalidStringException
 
isAddedAction() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
If the action of this event is ClaimWhitelistChangeEvent.ChangeAction.ADDED.
isCancelled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
 
isCancelled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimOwnerChangeEvent
Checks whether this event has been cancelled.
isCancelled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
Gets the cancellation state of this event.
isCancelled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
Gets the cancellation state of this event.
isCancelled() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Checks whether the event has been cancelled.
isCancelled() - Method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Checks whether the event has been cancelled.
isCancelled() - Method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportEvent
Gets the cancellation state of this event.
isCancelled() - Method in class net.mathias2246.buildmc.api.event.player.StatusChangeEvent
 
isCancelled() - Method in class net.mathias2246.buildmc.api.event.team.TeamMemberAddEvent
 
isClaimed(Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks if a Location is claimed.
isClaimInArea(UUID, int, int, int, int) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks if there is any claim within the given chunk area.
isCompatibleWith(SemVer) - Method in record class net.mathias2246.buildmc.api.messageBus.SemVer
 
isDefaultEnabled - Variable in class net.mathias2246.buildmc.api.claims.Protection
 
isDefaultEnabled() - Method in class net.mathias2246.buildmc.api.claims.Protection
Returns whether this protection should be enabled by default when creating a new claim.
isDestroyed() - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
isDisabled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
If the new state of the protection is ClaimProtectionChangeEvent.ActiveState.DISABLED.
isElytraEnabled() - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Checks whether the spawn-elytra feature is currently enabled according to BuildMC's configuration.
isEmpty() - Method in class net.mathias2246.buildmc.api.team.Team
Checks if there are any members on this team.
isEnabled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
If the new state of the protection is ClaimProtectionChangeEvent.ActiveState.ENABLED.
isHidden() - Method in class net.mathias2246.buildmc.api.claims.Protection
Returns whether this protection is hidden from players.
isHiddenProtection(DeferredRegistry, NamespacedKey) - Static method in class net.mathias2246.buildmc.api.claims.Protection
Checks if a protection is considered a "hidden" protection in the given registry.
isInElytraZone(Location) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Checks if the given location is inside a spawn-elytra zone.
isInElytraZone(Player) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Checks if the given player is currently inside a spawn-elytra zone.
isInitialized() - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Checks if this deferred-registry is already initialized or not.
isMember(UUID) - Method in class net.mathias2246.buildmc.api.team.Team
 
isMember(UUID) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Checks if the given UUID is a member on any registered team.
isMember(Entity) - Method in class net.mathias2246.buildmc.api.team.Team
 
isMember(Entity) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Checks if the given Entity is a member on any registered team.
isPersistent(String) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Returns if the team with the given identifier is persistent or not.
isPersistent(Team) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Returns if the given team is persistent or not.
isPlayerAllowed(Player, Collection, Claim) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks whether a player is allowed to perform an action in a claim given multiple protection keys.
isPlayerAllowed(Player, Collection, Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks whether a player is allowed to perform an action at a specific location given multiple protection keys.
isPlayerAllowed(Player, NamespacedKey, Claim) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks whether a player is allowed to perform an action in a given claim for a single protection key.
isPlayerAllowed(Player, NamespacedKey, Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks whether a player is allowed to perform an action at a location for a single protection key.
isPlayerAllowedInClaim(Claim, Player) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks whether a player is allowed to be inside the given claim.
isPlayerWhitelisted(UUID) - Method in class net.mathias2246.buildmc.api.claims.Claim
Checks if a player is whitelisted in this claim.
isRegisteredTeam(String) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Checks if the given team is registered in this manager by its name.
isRegisteredTeam(Team) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Checks if the given team is registered in this manager.
isRemovedAction() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
If the action of this event is ClaimWhitelistChangeEvent.ChangeAction.REMOVED.
isThis(ItemStack) - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Checks if the given ItemStack is of this custom item type.
isUsingSpawnElytra(Entity) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Checks if the given entity is currently flying with spawn-elytra.
isUsingSpawnElytra(Player) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Checks if the given player is currently flying with spawn-elytra.
isWorldAllowed(World) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks whether a player is allowed to create a claim in a specific world.
ItemDropTracker - Class in net.mathias2246.buildmc.api.item
Tracks players who recently dropped an item.
ItemDropTracker(Plugin) - Constructor for class net.mathias2246.buildmc.api.item.ItemDropTracker
 
ItemDropTracker(Plugin, long) - Constructor for class net.mathias2246.buildmc.api.item.ItemDropTracker
 
ItemMetaModifier - Interface in net.mathias2246.buildmc.api.item
An interface that defines ItemMeta modifications e.g.
ItemUtil - Class in net.mathias2246.buildmc.api.item
A helper-class for items.
ItemUtil() - Constructor for class net.mathias2246.buildmc.api.item.ItemUtil
 
iterator() - Method in class net.mathias2246.buildmc.api.team.Team
Used to iterate over all members on this team.
iterator() - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
 
iterator() - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
 
iterator() - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder
 

J

joinTeam(UUID, Team) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Tries to make a member join the given team.
joinTeam(Entity, Team) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Tries to make a member join the given team.

K

key() - Method in class net.mathias2246.buildmc.api.Guide
 
key() - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
 
key() - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
 
KeyHolder<T> - Class in net.mathias2246.buildmc.util.registry
A Helper class for storing an object instance with a NamespacedKey as identifier.
KeyHolder(NamespacedKey, T) - Constructor for class net.mathias2246.buildmc.util.registry.KeyHolder
Default constructor for creating a basic non-null KeyHolder instance.
keySet() - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
 
keyStream() - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
 
keyStream() - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
 

L

later(Plugin, long, Consumer) - Static method in class net.mathias2246.buildmc.util.TaskUtil
Runs the given task after a specified number of ticks on the main thread.
leaveTeam(UUID, Team) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Makes the given member leave the given team.
leaveTeam(Entity, Team) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Makes the given member leave the given team.
Lifecycle - Section in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
 
LocationUtil - Class in net.mathias2246.buildmc.util
A Utility class for Bukkit Locations.
LocationUtil() - Constructor for class net.mathias2246.buildmc.util.LocationUtil
 

M

major() - Method in record class net.mathias2246.buildmc.api.messageBus.SemVer
Returns the value of the major record component.
mapPlaceholders(Map) - Static method in class net.mathias2246.buildmc.util.AudienceUtil
 
members() - Method in class net.mathias2246.buildmc.api.team.Team
Gets a Stream of all members on the team.
metadataHolder - Variable in class net.mathias2246.buildmc.api.event.CustomEntityEvent
Internal holder for metadata entries.
metadataHolder - Variable in class net.mathias2246.buildmc.api.event.CustomEvent
Internal holder for metadata entries.
metadataHolder - Variable in class net.mathias2246.buildmc.api.event.CustomPlayerEvent
Internal holder for metadata entries.
MetadataHolder - Class in net.mathias2246.buildmc.util
Base class providing metadata storage.
MetadataHolder() - Constructor for class net.mathias2246.buildmc.util.MetadataHolder
 
MINECRAFT_VERSION - Static variable in class net.mathias2246.buildmc.util.ValidationPatterns
Parses a valid minecraft version.
minor() - Method in record class net.mathias2246.buildmc.api.messageBus.SemVer
Returns the value of the minor record component.
MISSING_PERMISSION - Enum constant in enum class net.mathias2246.buildmc.api.status.StatusInstance.AllowStatus
The player is missing a Permission to use this status
modifyMeta(ItemMeta, Player) - Method in interface net.mathias2246.buildmc.api.item.ItemMetaModifier
Modifies the given ItemMeta.
modifyMeta(ItemMeta, Player, Object) - Method in interface net.mathias2246.buildmc.api.item.ItemMetaModifier
Modifies the given ItemMeta.
mutableMetadata() - Method in class net.mathias2246.buildmc.util.MetadataHolder
Provides internal access to the mutable metadata map.

N

name() - Method in record class net.mathias2246.buildmc.api.DiscordEmbed.Field
Returns the value of the name record component.
net.mathias2246.buildmc.api - package net.mathias2246.buildmc.api
 
net.mathias2246.buildmc.api.claims - package net.mathias2246.buildmc.api.claims
 
net.mathias2246.buildmc.api.endEvent - package net.mathias2246.buildmc.api.endEvent
 
net.mathias2246.buildmc.api.event - package net.mathias2246.buildmc.api.event
 
net.mathias2246.buildmc.api.event.claims - package net.mathias2246.buildmc.api.event.claims
 
net.mathias2246.buildmc.api.event.endevent - package net.mathias2246.buildmc.api.event.endevent
 
net.mathias2246.buildmc.api.event.lifecycle - package net.mathias2246.buildmc.api.event.lifecycle
 
net.mathias2246.buildmc.api.event.player - package net.mathias2246.buildmc.api.event.player
 
net.mathias2246.buildmc.api.event.team - package net.mathias2246.buildmc.api.event.team
 
net.mathias2246.buildmc.api.item - package net.mathias2246.buildmc.api.item
 
net.mathias2246.buildmc.api.item.abstractTypes - package net.mathias2246.buildmc.api.item.abstractTypes
 
net.mathias2246.buildmc.api.messageBus - package net.mathias2246.buildmc.api.messageBus
 
net.mathias2246.buildmc.api.selection - package net.mathias2246.buildmc.api.selection
 
net.mathias2246.buildmc.api.spawnEyltra - package net.mathias2246.buildmc.api.spawnEyltra
 
net.mathias2246.buildmc.api.status - package net.mathias2246.buildmc.api.status
 
net.mathias2246.buildmc.api.team - package net.mathias2246.buildmc.api.team
 
net.mathias2246.buildmc.api.ui - package net.mathias2246.buildmc.api.ui
 
net.mathias2246.buildmc.util - package net.mathias2246.buildmc.util
 
net.mathias2246.buildmc.util.config - package net.mathias2246.buildmc.util.config
 
net.mathias2246.buildmc.util.persistentDataTypes - package net.mathias2246.buildmc.util.persistentDataTypes
 
net.mathias2246.buildmc.util.registry - package net.mathias2246.buildmc.util.registry
 
normalizeChunkCoords(int, int, int, int) - Static method in class net.mathias2246.buildmc.util.LocationUtil
Normalizes a pair of chunk coordinates so that the first value is always the minimum and the second is always the maximum.
normalizeChunkCoords(Claim) - Static method in class net.mathias2246.buildmc.util.LocationUtil
Normalizes the chunk coordinates of a claim so that x1 <= x2 and z1 <= z2.
NOT_ALLOWED - Enum constant in enum class net.mathias2246.buildmc.api.status.StatusInstance.AllowStatus
The player is not allowed to use this status
NOT_IN_TEAM - Enum constant in enum class net.mathias2246.buildmc.api.status.StatusInstance.AllowStatus
The player not in one of the required Teams

O

of(int, int, int) - Static method in record class net.mathias2246.buildmc.api.messageBus.SemVer
 
onCancel() - Method in class net.mathias2246.buildmc.util.PlayerTimer
 
onExit() - Method in class net.mathias2246.buildmc.util.PlayerTimer
 
onInteract(ItemStack, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Executed when a player left- or right-clicks with this custom-item type in his hand.
onInteract(ItemStack, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
 
onInteractEvent(ItemStack, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Called when a PlayerInteractEvent from the CustomItemListener was done with this custom item type
onItemDrop(PlayerDropItemEvent) - Method in class net.mathias2246.buildmc.api.item.ItemDropTracker
 
onItemInteract(PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.CustomItemListener
 
onLeftClick(ItemStack, Location, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Executed when a player left-clicks with this custom-item type in his hand.
onLeftClick(ItemStack, Location, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
 
onRightClick(ItemStack, Location, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Executed when a player right-clicks with this custom-item type in his hand.
onRightClick(ItemStack, Location, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
 
onStep() - Method in class net.mathias2246.buildmc.util.PlayerTimer
 
onStop() - Method in class net.mathias2246.buildmc.util.ParticleSpawner
Extra logic to be executed when the BukkitRunnable stops.
onSuccessfulFirstSelection(ItemStack, Location, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
Called when the first selection was successful.
onSuccessfulSecondSelection(ItemStack, Location, PlayerInteractEvent) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
Called when the second selection was successful.
OPEN - Enum constant in enum class net.mathias2246.buildmc.api.endEvent.EndState
The End is currently open and accessible to players.
openEnd(CommandSender, EndChangeCause) - Method in interface net.mathias2246.buildmc.api.endEvent.EndManager
Requests that the End be opened using BuildMC's default announcement key.
openEnd(CommandSender, EndChangeCause, String) - Method in interface net.mathias2246.buildmc.api.endEvent.EndManager
Requests that the End be opened with a custom announcement key.
OTHER - Enum constant in enum class net.mathias2246.buildmc.api.endEvent.EndChangeCause
The End is being opened or closed for any other reason not covered by COMMAND or PLUGIN.

P

parse(String) - Static method in record class net.mathias2246.buildmc.api.messageBus.SemVer
 
ParticleSpawner - Class in net.mathias2246.buildmc.util
A class for defining custom per-player particle spawners.
ParticleSpawner(Plugin, int, int, Player) - Constructor for class net.mathias2246.buildmc.util.ParticleSpawner
 
ParticleSpawner.Builder<T> - Interface in net.mathias2246.buildmc.util
The builder used to create a certain type of ParticleSpawner.
patch() - Method in record class net.mathias2246.buildmc.api.messageBus.SemVer
Returns the value of the patch record component.
payload() - Method in record class net.mathias2246.buildmc.api.messageBus.BusEvent
Returns the value of the payload record component.
PersistentDateTimeType - Class in net.mathias2246.buildmc.util.persistentDataTypes
 
PersistentDateTimeType() - Constructor for class net.mathias2246.buildmc.util.persistentDataTypes.PersistentDateTimeType
 
PLACEHOLDER - Enum constant in enum class net.mathias2246.buildmc.api.claims.ClaimType
A placeholder claim that does not provide any protections.
player - Variable in class net.mathias2246.buildmc.util.PlayerTimer
The Player that owns this timer
PLAYER - Enum constant in enum class net.mathias2246.buildmc.api.claims.ClaimType
A claim owned by an individual player.
PlayerChangeClaimEvent - Class in net.mathias2246.buildmc.api.event.claims
Called when a Player moves from one claim into another.
PlayerChangeClaimEvent(Player, Long, Long) - Constructor for class net.mathias2246.buildmc.api.event.claims.PlayerChangeClaimEvent
Constructs a new PlayerChangeClaimEvent.
PlayerFirstTimeJoinEvent - Class in net.mathias2246.buildmc.api.event.player
An event that is called when a player joins for the first time.
PlayerFirstTimeJoinEvent(Player, PlayerJoinEvent) - Constructor for class net.mathias2246.buildmc.api.event.player.PlayerFirstTimeJoinEvent
Constructs a new PlayerFirstTimeJoinEvent from a Player and PlayerJoinEvent
PlayerHeadDropEvent - Class in net.mathias2246.buildmc.api.event.player
Called when a Player's head is about to be dropped after death.
PlayerHeadDropEvent(Player, Player, ItemStack, PlayerDeathEvent) - Constructor for class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Constructs a new PlayerHeadDropEvent.
PlayerSpawnTeleportEvent - Class in net.mathias2246.buildmc.api.event.player
Called when a player uses the '/spawn' command to teleport to spawn.
PlayerSpawnTeleportEvent(Player, Location) - Constructor for class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportEvent
The default constructor for creating PlayerSpawnTeleportEvent.
PlayerTimer - Class in net.mathias2246.buildmc.util
Base class for running certain actions periodically on a player.
PlayerTimer(Plugin, Player, int, int) - Constructor for class net.mathias2246.buildmc.util.PlayerTimer
 
playSound(Location, Sound) - Method in interface net.mathias2246.buildmc.util.SoundManager
Plays a sound at a specific location in the world.
playSound(Player, Sound) - Method in interface net.mathias2246.buildmc.util.SoundManager
Plays a sound to a specific player.
plugin - Variable in class net.mathias2246.buildmc.util.PlayerTimer
The Plugin that owns this timer
PLUGIN - Enum constant in enum class net.mathias2246.buildmc.api.endEvent.EndChangeCause
The End is being opened or closed programmatically by another plugin.
preSave() - Method in class net.mathias2246.buildmc.util.config.YamlConfigurationManager
Executed before writing to disk
Protection - Class in net.mathias2246.buildmc.api.claims
Represents a type of Protection that can be applied to claims.
Protection(NamespacedKey) - Constructor for class net.mathias2246.buildmc.api.claims.Protection
Creates a new Protection with default values.
Protection(NamespacedKey, boolean) - Constructor for class net.mathias2246.buildmc.api.claims.Protection
Creates a new Protection.
Protection(NamespacedKey, boolean, boolean) - Constructor for class net.mathias2246.buildmc.api.claims.Protection
Creates a new Protection.
PROTECTIONS - Enum constant in enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
The default protection registry key
publish(NamespacedKey, JsonObject) - Method in interface net.mathias2246.buildmc.api.messageBus.EventBus
Publishes an event to all compatible subscribers of the given channel.
publisherId() - Method in record class net.mathias2246.buildmc.api.messageBus.BusEvent
Returns the value of the publisherId record component.
putMetadata(String, Object) - Method in class net.mathias2246.buildmc.api.event.CustomEntityEvent
Adds or updates a metadata entry for this event.
putMetadata(String, Object) - Method in class net.mathias2246.buildmc.api.event.CustomEvent
Adds or updates a metadata entry for this event.
putMetadata(String, Object) - Method in class net.mathias2246.buildmc.api.event.CustomPlayerEvent
Adds or updates a metadata entry for this event.
putMetadata(String, Object) - Method in class net.mathias2246.buildmc.util.MetadataHolder
Adds a new metadata entry or updates the value for an existing key.

R

register(TeamManager, boolean) - Method in class net.mathias2246.buildmc.api.team.Team
 
registerChannel(Plugin, EventChannel) - Method in interface net.mathias2246.buildmc.api.messageBus.EventBus
Registers a channel that this plugin intends to publish events on.
registerClaims(List) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Registers multiple Claim objects in the system and persists them to the database.
registerSubscription(Plugin, EventSubscription) - Method in interface net.mathias2246.buildmc.api.messageBus.EventBus
Registers a subscription to a channel.
registerTeam(Team, boolean) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Registers a team so that it can be found and optionally persist in storage.
registerZone(Location, Location, World) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Registers or replaces the active spawn-elytra zone.
RegistriesHolder - Class in net.mathias2246.buildmc.util.registry
A registry-holder stores a collection of Registry instances under a certain key.
RegistriesHolder.Builder - Class in net.mathias2246.buildmc.util.registry
A Builder class used to create new instances of RegistriesHolders.
reload() - Method in class net.mathias2246.buildmc.util.config.YamlConfigurationManager
 
reloadStatus() - Method in interface net.mathias2246.buildmc.api.status.StatusManager
 
removeClaimById(long) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Removes a claim by its ID.
REMOVED - Enum constant in enum class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent.ChangeAction
 
removeEntry(NamespacedKey) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Removes an entry from the registry.
removeEntry(NamespacedKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Removes an entry this deferred-registry
removeEntryOrThrow(NamespacedKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Removes an entry this deferred-registry
removeMember(UUID) - Method in class net.mathias2246.buildmc.api.team.Team
Removes a member from this team by his UUID.
removeMember(Entity) - Method in class net.mathias2246.buildmc.api.team.Team
Removes an Entity from this team.
removeMetadata(String) - Method in class net.mathias2246.buildmc.api.event.CustomEntityEvent
Removes a metadata entry associated with the given key.
removeMetadata(String) - Method in class net.mathias2246.buildmc.api.event.CustomEvent
Removes a metadata entry associated with the given key.
removeMetadata(String) - Method in class net.mathias2246.buildmc.api.event.CustomPlayerEvent
Removes a metadata entry associated with the given key.
removeMetadata(String) - Method in class net.mathias2246.buildmc.util.MetadataHolder
Removes a metadata entry from this instance.
removePlayerFromWhitelist(long, UUID) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Removes a player from a claim's whitelist.
removePlayerStatus(Player) - Method in interface net.mathias2246.buildmc.api.status.StatusManager
 
removeProtection(long, Protection) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Removes a protection from a claim by ID.
removeProtection(long, NamespacedKey) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Removes a protection from a claim by ID.
removeProtection(Claim, Protection) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Removes a protection from a claim by ID.
removeProtection(Claim, NamespacedKey) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Removes a protection from a claim by ID.
removeProtection(NamespacedKey) - Method in class net.mathias2246.buildmc.api.claims.Claim
Removes a protection from this claim.
removeSelectionFromPlayer(Player) - Method in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
 
removeStatus(NamespacedKey) - Method in class net.mathias2246.buildmc.api.event.player.StatusLoadEvent
Removes a previously registered status from the registry during loading.
removeTag(Tag) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Removes a Tag from this registry.
removeTag(Tag) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Removes a Tag from this registry, if not initialized.
removeTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
Removes a Tag from this registry.
removeTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
Removes a Tag from this registry, if not initialized.
removeWhitelistedPlayer(UUID) - Method in class net.mathias2246.buildmc.api.claims.Claim
Removes a player from the whitelist of this claim.
renderPlainMessage(CommandSender, String, Map) - Static method in class net.mathias2246.buildmc.util.AudienceUtil
 
renderRichMessage(CommandSender, String, Map) - Static method in class net.mathias2246.buildmc.util.AudienceUtil
Resolves placeholders inside a MiniMessage string and renders translations using the GlobalTranslator.render(Component, Locale) method.
resetBoost(Entity) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Resets the "boost used" flag for the given entity, allowing them to boost again within the same flight.
resetBoost(Player) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Resets the "boost used" flag for the given player, allowing them to boost again within the same flight.
resetPlayerName(Player) - Method in interface net.mathias2246.buildmc.api.status.StatusManager
 
run() - Method in class net.mathias2246.buildmc.util.ParticleSpawner
 
run() - Method in class net.mathias2246.buildmc.util.PlayerTimer
 

S

save() - Method in class net.mathias2246.buildmc.util.config.YamlConfigurationManager
Saves the configuration to the current config file.
saveFromResource() - Method in class net.mathias2246.buildmc.util.config.YamlConfigurationManager
Saves the default config from the plugins resources if the file doesn't exist
secondSelectionKey - Variable in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
The NamespacedKey used to identify the second selection of this selection tool
SelectionFace - Class in net.mathias2246.buildmc.api.selection
 
SelectionFace(Location, BlockData, BlockFace, float, float) - Constructor for class net.mathias2246.buildmc.api.selection.SelectionFace
 
SelectionFace(Location, BlockData, BlockFace, Vector2f) - Constructor for class net.mathias2246.buildmc.api.selection.SelectionFace
 
SemVer - Record Class in net.mathias2246.buildmc.api.messageBus
 
SemVer(int, int, int) - Constructor for record class net.mathias2246.buildmc.api.messageBus.SemVer
Creates an instance of a SemVer record class.
sendActionBar(Audience, Component) - Static method in class net.mathias2246.buildmc.util.AudienceUtil
 
sendMessage(Audience, Component) - Static method in class net.mathias2246.buildmc.util.AudienceUtil
 
sendRichMessage(CommandSender, String, Map) - Static method in class net.mathias2246.buildmc.util.AudienceUtil
Resolves placeholders inside a MiniMessage string and displays it to a CommandSender.
serialize() - Method in class net.mathias2246.buildmc.api.status.StatusInstance
 
serialize(Location) - Static method in class net.mathias2246.buildmc.util.LocationUtil
Serialize a Location into a String.
SERVER - Enum constant in enum class net.mathias2246.buildmc.api.claims.ClaimType
A claim owned by the server.
setAnnouncementKey(String) - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Sets the translation key for the announcement message.
setBlock(Material) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
setBlock(BlockData) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
setBoundingBox(BoundingBox) - Method in class net.mathias2246.buildmc.api.selection.BoundingBoxSelection
 
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
 
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.claims.ClaimOwnerChangeEvent
Sets the cancellation state of this event.
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
Sets the cancellation state of this event.
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
Sets the cancellation state of this event.
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Sets whether the event is cancelled.
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Sets whether the event is cancelled.
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportEvent
Sets the cancellation state of this event.
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.player.StatusChangeEvent
 
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.team.TeamMemberAddEvent
 
setColor(TextColor) - Method in class net.mathias2246.buildmc.api.team.Team
 
setConfigFile(File) - Method in class net.mathias2246.buildmc.util.config.YamlConfigurationManager
Sets the file that this ConfigurationManager accesses.
setDefaultEnabled(boolean) - Method in class net.mathias2246.buildmc.api.claims.Protection
Sets whether this protection should be enabled by default in new claims.
setDisplayName(Component) - Method in class net.mathias2246.buildmc.api.team.Team
 
setFaceMaterial(BlockFace, Material) - Method in class net.mathias2246.buildmc.api.selection.BoundingBoxSelection
 
setHidden(boolean) - Method in class net.mathias2246.buildmc.api.claims.Protection
Sets whether this protection is hidden from players.
setID(Long) - Method in class net.mathias2246.buildmc.api.claims.Claim
Deprecated.
setInterpolationDuration(int) - Method in class net.mathias2246.buildmc.api.selection.BoundingBoxSelection
 
setName(String) - Method in class net.mathias2246.buildmc.api.claims.Claim
Sets the claim name of this claim.
setName(ItemStack, Component) - Static method in class net.mathias2246.buildmc.api.item.ItemUtil
Sets the name of an ItemStack to the given Component.
setNewStatus(StatusInstance) - Method in class net.mathias2246.buildmc.api.event.player.StatusChangeEvent
 
setOrigin(Location) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
setOrigin(Location, int) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
setOwnerId(String) - Method in class net.mathias2246.buildmc.api.claims.Claim
Sets the owner ID of this claim.
setPlayerFlying(Player, boolean) - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Grants or revokes spawn-elytra flight for a player.
setPlayerHead(ItemStack) - Method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Sets the ItemStack to drop as the player's head.
setPlayerName(Player, Component) - Method in interface net.mathias2246.buildmc.api.status.StatusManager
 
setPlayerStatus(Player, String, boolean) - Method in interface net.mathias2246.buildmc.api.status.StatusManager
 
setRemainingPlayerClaims(String, Integer) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Sets the number of claimable chunks a player has left.
setRemainingPlayerClaims(UUID, Integer) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Sets the number of claimable chunks a player has left.
setRemainingTeamClaims(String, Integer) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Sets the number of claimable chunks a team has left.
setSize(float, float) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
setSize(float, float, int) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
setSize(float, float, int, int) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
setSize(Vector3f) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
setTo(Location) - Method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportEvent
Sets the Location to where the player is teleported after waiting.
setupConfiguration() - Method in class net.mathias2246.buildmc.util.config.YamlConfigurationManager
Executed when the config file gets loaded.
shouldCancel() - Method in class net.mathias2246.buildmc.util.PlayerTimer
 
shouldStop() - Method in class net.mathias2246.buildmc.util.ParticleSpawner
Contains conditions for when to exit the run loop early.
showToPlayer(Plugin, Player) - Method in class net.mathias2246.buildmc.api.selection.BoundingBoxSelection
 
showToPlayer(Plugin, Player) - Method in class net.mathias2246.buildmc.api.selection.SelectionFace
 
size() - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
 
size() - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
 
SoundManager - Interface in net.mathias2246.buildmc.util
Provides a platform-independent way to play sounds in BuildMC.
source - Variable in class net.mathias2246.buildmc.util.ParticleSpawner
 
splitComponentByNewline(Component) - Static method in class net.mathias2246.buildmc.util.ComponentUtil
Tries to split TextComponents on new-line characters.
spliterator() - Method in class net.mathias2246.buildmc.api.team.Team
 
start(int) - Method in class net.mathias2246.buildmc.util.PlayerTimer
 
StatusChangeEvent - Class in net.mathias2246.buildmc.api.event.player
Called when a players status is about to change.
StatusChangeEvent(Player, StatusInstance, StatusInstance) - Constructor for class net.mathias2246.buildmc.api.event.player.StatusChangeEvent
The default constructor
STATUSES - Enum constant in enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
The default statuses registry key
StatusInstance - Class in net.mathias2246.buildmc.api.status
The instance of a status that shows up inside the '/status set ...' command when registered.
StatusInstance(String, Set, Set, Component) - Constructor for class net.mathias2246.buildmc.api.status.StatusInstance
Constructs a new StatusInstance with optional Teams and Permission requirements.
StatusInstance.AllowStatus - Enum Class in net.mathias2246.buildmc.api.status
A simple enum to show if a player is allowed to use a StatusInstance, or if he doesn't fulfill all requirements.
StatusLoadEvent - Class in net.mathias2246.buildmc.api.event.player
Event fired during the loading (and reloading) phase of statuses.
StatusLoadEvent(Plugin, BaseRegistry) - Constructor for class net.mathias2246.buildmc.api.event.player.StatusLoadEvent
Creates a new StatusLoadEvent.
StatusManager - Interface in net.mathias2246.buildmc.api.status
 
steps - Variable in class net.mathias2246.buildmc.util.PlayerTimer
The amount of steps before the Timer is exited
stream() - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
 
stream() - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
 

T

TaskUtil - Class in net.mathias2246.buildmc.util
Utility methods for safely scheduling tasks on the main server thread.
Team - Class in net.mathias2246.buildmc.api.team
A custom team implementation.
Team(String) - Constructor for class net.mathias2246.buildmc.api.team.Team
 
TEAM - Enum constant in enum class net.mathias2246.buildmc.api.claims.ClaimType
A claim owned by a team.
TeamEvent - Class in net.mathias2246.buildmc.api.event.team
The base class for all Events where Teams are involved in.
TeamEvent(Team) - Constructor for class net.mathias2246.buildmc.api.event.team.TeamEvent
Base constructor for TeamEvents.
TeamManager - Interface in net.mathias2246.buildmc.api.team
 
TeamMemberAddEvent - Class in net.mathias2246.buildmc.api.event.team
An event that is fired before a member is added to a Team.
TeamMemberAddEvent(UUID, Team, boolean) - Constructor for class net.mathias2246.buildmc.api.event.team.TeamMemberAddEvent
The base constructor for TeamMemberAddEvents.
TeamMemberEvent - Class in net.mathias2246.buildmc.api.event.team
The base class for all TeamEvents where a certain team member is involved in.
TeamMemberEvent(UUID, Team) - Constructor for class net.mathias2246.buildmc.api.event.team.TeamMemberEvent
Base constructor for TeamMemberEvents.
TeamMemberRemovedEvent - Class in net.mathias2246.buildmc.api.event.team
An event that fires after a member is removed from a team.
TeamMemberRemovedEvent(UUID, Team) - Constructor for class net.mathias2246.buildmc.api.event.team.TeamMemberRemovedEvent
 
TeamRegisteredEvent - Class in net.mathias2246.buildmc.api.event.team
An event that is fired after a Team was registered in a TeamManager.
TeamRegisteredEvent(Team) - Constructor for class net.mathias2246.buildmc.api.event.team.TeamRegisteredEvent
 
teams() - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Returns a Stream representation of all loaded teams paired with their unique key.
TeamUnregisterEvent - Class in net.mathias2246.buildmc.api.event.team
An event that is fired before a Team is unregistered from a TeamManager.
TeamUnregisterEvent(Team) - Constructor for class net.mathias2246.buildmc.api.event.team.TeamUnregisterEvent
 
throwIfInvalid(String, Pattern) - Static method in exception class net.mathias2246.buildmc.util.InvalidStringException
 
thumbnail - Variable in class net.mathias2246.buildmc.api.DiscordEmbed
 
thumbnail(String) - Method in class net.mathias2246.buildmc.api.DiscordEmbed.Builder
 
ticks - Variable in class net.mathias2246.buildmc.util.PlayerTimer
The number of ticks between each step
timestamp() - Method in record class net.mathias2246.buildmc.api.messageBus.BusEvent
Returns the value of the timestamp record component.
title - Variable in class net.mathias2246.buildmc.api.DiscordEmbed
 
title(String) - Method in class net.mathias2246.buildmc.api.DiscordEmbed.Builder
 
toPrimitive(LocalDateTime, PersistentDataAdapterContext) - Method in class net.mathias2246.buildmc.util.persistentDataTypes.PersistentDateTimeType
 
toString() - Method in class net.mathias2246.buildmc.api.claims.Claim
 
toString() - Method in record class net.mathias2246.buildmc.api.DiscordEmbed.Field
Returns a string representation of this record class.
toString() - Method in record class net.mathias2246.buildmc.api.messageBus.BusEvent
Returns a string representation of this record class.
toString() - Method in record class net.mathias2246.buildmc.api.messageBus.SemVer
Returns a string representation of this record class.
toString() - Method in enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
 
tryClaimArea(Claim) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Attempts to register a Claim instance.
tryClaimArea(ClaimType, String, String, Location, Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Attempts to create a claim of some ClaimType between two positions.
tryClaimPlaceholderArea(String, Location, Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Attempts to create a placeholder claim between two positions.
tryClaimPlayerArea(Player, String, Location, Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Attempts to create a claim for a player between two positions.
tryClaimServerArea(String, Location, Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Attempts to create a claim owned by the server between two positions.
tryClaimTeamArea(Team, String, Location, Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Attempts to create a claim for a Team between two positions.
tryDeserialize(String) - Static method in class net.mathias2246.buildmc.util.LocationUtil
Deserialize a String back into a Location.
tryLoadAPI() - Static method in interface net.mathias2246.buildmc.api.BuildMcAPI
Tries to get the BuildMcAPI service from Bukkit.

U

unregister() - Method in class net.mathias2246.buildmc.api.team.Team
 
unregisterTeam(String) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Unregisters a team from this manager.
unregisterTeam(Team) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
Unregisters a team from this manager.
updateClaimName(long, String) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Update the name of a Claim
updateClaimName(Claim, String) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Update the name of a Claim
updateClaimOwner(long, String) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Update the owner of a Claim
updateClaimOwner(Claim, String) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Update the owner of a Claim
Usage - Section in net.mathias2246.buildmc.util.registry.BaseRegistry.getOptional(NamespacedKey)
 
Usage - Section in net.mathias2246.buildmc.util.registry.BaseRegistry.getOptional(String)
 
Usage - Section in net.mathias2246.buildmc.util.registry.DeferredRegistry.getOptional(NamespacedKey)
 
Usage - Section in net.mathias2246.buildmc.util.registry.DeferredRegistry.getOptional(String)
 
Usage - Section in net.mathias2246.buildmc.util.registry.RegistriesHolder.getOptional(String)
 

V

VALID_CLAIM_OWNER - Static variable in class net.mathias2246.buildmc.util.ValidationPatterns
Describes a valid claim owner id.
VALID_STRING_IN_COMMAND - Static variable in class net.mathias2246.buildmc.util.ValidationPatterns
Describes a single word string, that can safely be used in command arguments.
ValidationPatterns - Class in net.mathias2246.buildmc.util
 
ValidationPatterns() - Constructor for class net.mathias2246.buildmc.util.ValidationPatterns
 
value() - Method in record class net.mathias2246.buildmc.api.DiscordEmbed.Field
Returns the value of the value record component.
valueOf(String) - Static method in enum class net.mathias2246.buildmc.api.claims.ClaimType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.mathias2246.buildmc.api.endEvent.EndChangeCause
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.mathias2246.buildmc.api.endEvent.EndState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent.ActiveState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent.ChangeAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.mathias2246.buildmc.api.status.StatusInstance.AllowStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.mathias2246.buildmc.api.claims.ClaimType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.mathias2246.buildmc.api.endEvent.EndChangeCause
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.mathias2246.buildmc.api.endEvent.EndState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent.ActiveState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent.ChangeAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.mathias2246.buildmc.api.status.StatusInstance.AllowStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Method in record class net.mathias2246.buildmc.api.messageBus.BusEvent
Returns the value of the version record component.

W

Why this event exists - Section in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
 

Y

YAML_PATH - Static variable in class net.mathias2246.buildmc.util.ValidationPatterns
Describes a valid YAML path.
YamlConfigurationManager - Class in net.mathias2246.buildmc.util.config
An abstract utility-class for managing a configuration
YamlConfigurationManager(Plugin, String) - Constructor for class net.mathias2246.buildmc.util.config.YamlConfigurationManager
 
A B C D E F G H I J K L M N O P R S T U V W Y 
All Classes and Interfaces|All Packages|Serialized Form