Index

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

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(T...) - Method in class net.mathias2246.buildmc.util.DeferredRegistry
Registers multiple new entries.
addEntry(T) - Method in class net.mathias2246.buildmc.util.DeferredRegistry
Registers a new entry under a certain key.
addEntryOrThrow(T) - Method in class net.mathias2246.buildmc.util.DeferredRegistry
Registers a new entry under a certain key.
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(NamespacedKey) - Method in class net.mathias2246.buildmc.api.claims.Claim
Adds a protection to this claim.
addRegistry(String, DeferredRegistry<? extends Keyed>) - Method in class net.mathias2246.buildmc.util.RegistriesHolder.Builder
 
addRegistry(String, DeferredRegistry<T>) - Method in class net.mathias2246.buildmc.util.RegistriesHolder
Adds a DeferredRegistry to this holder under a certain key.
addWhitelistedPlayer(UUID) - Method in class net.mathias2246.buildmc.api.claims.Claim
Adds a player to the whitelist of this claim.
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.
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.

B

build() - Method in class net.mathias2246.buildmc.util.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.util.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
 

C

calculateChunkArea(int, int, int, int) - Static method in class net.mathias2246.buildmc.util.LocationUtil
 
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.
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.
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<UUID>, List<String>) - Constructor for class net.mathias2246.buildmc.api.claims.Claim
Constructs a new claim.
ClaimCreateEvent - Class in net.mathias2246.buildmc.api.event.claims
Called when a claim was created.
ClaimCreateEvent(Claim) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
Constructs a new ClaimCreateEvent.
ClaimManager - Interface in net.mathias2246.buildmc.api.claims
The ClaimAPI provides methods to interact with land claims, protections, and whitelists within the BuildMC plugin.
ClaimProtectionChangeEvent - Class in net.mathias2246.buildmc.api.event.claims
 
ClaimProtectionChangeEvent(Claim, Protection, ClaimProtectionChangeEvent.ActiveState, CommandSender) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
ClaimProtectionChangeEvent.ActiveState - Enum Class in net.mathias2246.buildmc.api.event.claims
 
ClaimRemoveEvent - Class in net.mathias2246.buildmc.api.event.claims
Called when a claim was created.
ClaimRemoveEvent(Claim) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimRemoveEvent
Constructs a new ClaimRemoveEvent.
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
 
ClaimWhitelistChangeEvent(Claim, OfflinePlayer, CommandSender, ClaimWhitelistChangeEvent.ChangeAction) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
 
ClaimWhitelistChangeEvent.ChangeAction - Enum Class in net.mathias2246.buildmc.api.event.claims
 
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.
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.
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.api.item.CustomItemRegistry
 
currentStep - Variable in class net.mathias2246.buildmc.util.PlayerTimer
 
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
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 - Record Class in net.mathias2246.buildmc.api.item
The Listener used to call the events inside custom item type implementations.
CustomItemListener(CustomItemRegistry) - Constructor for record class net.mathias2246.buildmc.api.item.CustomItemListener
Creates an instance of a CustomItemListener record class.
CustomItemRegistry - Class in net.mathias2246.buildmc.api.item
A Register that stores AbstractCustomItem Instanced to be used somewhere else in your plugin.
CustomItemRegistry() - Constructor for class net.mathias2246.buildmc.api.item.CustomItemRegistry
 
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
An Enum containing all the keys of the registries defined by BuildMC.
defer(Plugin, Runnable) - 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
A DeferredRegistry is an implementation of bukkits Registry interface.
DeferredRegistry() - Constructor for class net.mathias2246.buildmc.util.DeferredRegistry
 
delay - Variable in class net.mathias2246.buildmc.util.ParticleSpawner
The delay in ticks between each run.
deserialize(String) - Static method in class net.mathias2246.buildmc.util.LocationUtil
Deserialize a String back into a Location.
DISABLED - Enum constant in enum class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent.ActiveState
 
display() - Method in class net.mathias2246.buildmc.util.ParticleSpawner
Displays the actual particles.
Displayable - Interface in net.mathias2246.buildmc.api.ui
 
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<FileConfiguration>) - 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<ItemMeta>) - 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.
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.item.CustomItemListener
Indicates whether some other object is "equal to" this one.

F

firstSelectionKey - Variable in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
The metadata-key that is used to store the first selection.

G

get(String) - Method in class net.mathias2246.buildmc.util.RegistriesHolder
Retrieves a DeferredRegistry instance from this holder by its key.
get(NamespacedKey) - Method in class net.mathias2246.buildmc.util.DeferredRegistry
Gets an entry from the deferred-registry
get(NamespacedKey) - Method in class net.mathias2246.buildmc.api.item.CustomItemRegistry
 
getAction() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
 
getActor() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
 
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.RegistriesHolder
Retrieves a DeferredRegistry instance from this holder by its key.
getCause() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Gets the cause of the End state changing.
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
Gets the claim that was created.
getClaim() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
getClaim() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimRemoveEvent
Gets the claim that was created.
getClaim() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
 
getClaim(Chunk) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets the claim associated with a chunk.
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(Chunk) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets the claim ID of a claimed chunk.
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.
getClaimsInArea(Location, Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Gets all claims within the given area.
getCommandSender() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Gets the sender responsible for changing the End state.
getCurrentState() - Method in interface net.mathias2246.buildmc.api.endEvent.EndManager
Returns the current state of the End.
getCustomItemKey(ItemStack) - Static method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
Tries to read the custom item type from an ItemStack.
getDisplay(Player, Gui) - Method in interface net.mathias2246.buildmc.api.ui.Displayable
 
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.
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.PlayerEnterClaimEvent
Gets the ID of the claim the player is leaving.
getFromClaim() - Method in class net.mathias2246.buildmc.api.event.claims.PlayerLeaveClaimEvent
Gets the ID of the claim the player is leaving.
getFromItemStack(ItemStack) - Method in class net.mathias2246.buildmc.api.item.CustomItemRegistry
Helper method for getting AbstractCustomItem Instance from ItemStack.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
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.ClaimRemoveEvent
Gets the static list of handlers for this event type.
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.PlayerEnterClaimEvent
Gets the static list of handlers for this event type.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.claims.PlayerLeaveClaimEvent
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.PlayerHeadDropEvent
Gets the static list of handlers for this event type.
getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportPreConditionEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
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.PlayerEnterClaimEvent
 
getHandlers() - Method in class net.mathias2246.buildmc.api.event.claims.PlayerLeaveClaimEvent
 
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.PlayerHeadDropEvent
Gets the list of handlers for this event instance.
getHandlers() - Method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportPreConditionEvent
 
getId() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the database ID of this claim.
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.item.AbstractCustomItem
 
getKiller() - Method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
Gets the killer of the victim.
getMainClass() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
Gets the main class instance of BuildMC.
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.api.event.MetadataHolder
Returns an unmodifiable view of all metadata entries associated with this event.
getName() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the display name of this claim.
getNewState() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
getNewState() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Gets the state that the End is transitioning to.
getOptional(String) - Method in class net.mathias2246.buildmc.util.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.RegistriesHolder
Optionally retrieves a DeferredRegistry instance from this holder by its key.
getOptional(NamespacedKey) - Method in class net.mathias2246.buildmc.util.DeferredRegistry
Optionally retrieves an entry from this deferred-registry by its NamespacedKey.
getOrThrow(NamespacedKey) - Method in class net.mathias2246.buildmc.api.item.CustomItemRegistry
Tries to get a registry entry by key or throws an IllegalArgumentException.
getOrThrow(NamespacedKey) - Method in class net.mathias2246.buildmc.util.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.
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
 
getPreviousState() - Method in class net.mathias2246.buildmc.api.event.endevent.EndStateChangeEvent
Gets the previous state of the End before this event.
getProtection() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
getProtections() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the list of protections applied to this claim.
getRegistriesHolder() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
 
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 used by BuildMC.
getTimestamp() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
getTimestamp() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
 
getTo() - Method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportPreConditionEvent
 
getToClaim() - Method in class net.mathias2246.buildmc.api.event.claims.PlayerEnterClaimEvent
Gets the ID of the claim the player is entering.
getToClaim() - Method in class net.mathias2246.buildmc.api.event.claims.PlayerLeaveClaimEvent
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.
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
 
getWhitelistedPlayers() - Method in class net.mathias2246.buildmc.api.claims.Claim
Gets the list 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.

H

hasAllProtectionKeys(Claim, Collection<NamespacedKey>) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks if a claim has all the specified protections by key.
hasAllProtections(Claim, Collection<String>) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks if a claim has all the specified protections by string identifiers.
hasAnyProtection(Claim, Collection<NamespacedKey>) - 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.item.CustomItemListener
Returns a hash code value for this object.
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.
How to use it - Search tag in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
Section

I

Important - Search tag in net.mathias2246.buildmc.util.DeferredRegistry.initialize()
Section
Important - Search tag in net.mathias2246.buildmc.util.DeferredRegistry.isInitialized()
Section
init() - Method in class net.mathias2246.buildmc.util.PlayerTimer
 
initialize() - Method in class net.mathias2246.buildmc.util.DeferredRegistry
Initializes this deferred-registry.
isAddedAction() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
 
isCancelled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
 
isCancelled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
isCancelled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
 
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.PlayerSpawnTeleportPreConditionEvent
 
isClaimed(Chunk) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Checks if a chunk 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.
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.
isDisabled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
isElytraEnabled() - Method in interface net.mathias2246.buildmc.api.spawnEyltra.ElytraManager
Checks whether the spawn-elytra feature is currently enabled according to BuildMC's configuration.
isEnabled() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
isHidden() - Method in class net.mathias2246.buildmc.api.claims.Protection
Returns whether this protection is hidden from players.
isHiddenProtection(DeferredRegistry<Protection>, 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.DeferredRegistry
Checks if this deferred-registry is already initialized or not.
isPlayerAllowed(Player, Collection<NamespacedKey>, 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<NamespacedKey>, 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.
isPlayerWhitelisted(UUID) - Method in class net.mathias2246.buildmc.api.claims.Claim
Checks if a player is whitelisted in this claim.
isRemovedAction() - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
 
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.
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 that are platform specific
itemRegistry() - Method in record class net.mathias2246.buildmc.api.item.CustomItemListener
Returns the value of the itemRegistry record component.
ItemUtil - Class in net.mathias2246.buildmc.api.item
 
ItemUtil() - Constructor for class net.mathias2246.buildmc.api.item.ItemUtil
 
iterator() - Method in class net.mathias2246.buildmc.api.item.CustomItemRegistry
 
iterator() - Method in class net.mathias2246.buildmc.util.DeferredRegistry
 

K

keyStream() - Method in class net.mathias2246.buildmc.util.DeferredRegistry
 

L

later(Plugin, long, Runnable) - Static method in class net.mathias2246.buildmc.util.TaskUtil
Runs the given task after a specified number of ticks on the main thread.
Lifecycle - Search tag in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
Section
LocationUtil - Class in net.mathias2246.buildmc.util
A Utility class for Bukkit Locations.
LocationUtil() - Constructor for class net.mathias2246.buildmc.util.LocationUtil
 

M

MainClass - Interface in net.mathias2246.buildmc
Abstraction for sending messages to players in BuildMC.
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.api.event
Base class providing metadata support for custom events.
MetadataHolder() - Constructor for class net.mathias2246.buildmc.api.event.MetadataHolder
 
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.api.event.MetadataHolder
Provides internal access to the mutable metadata map.

N

net.mathias2246.buildmc - package net.mathias2246.buildmc
 
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.item - package net.mathias2246.buildmc.api.item
 
net.mathias2246.buildmc.api.item.abstractTypes - package net.mathias2246.buildmc.api.item.abstractTypes
 
net.mathias2246.buildmc.api.spawnEyltra - package net.mathias2246.buildmc.api.spawnEyltra
 
net.mathias2246.buildmc.api.ui - package net.mathias2246.buildmc.api.ui
 
net.mathias2246.buildmc.util - package net.mathias2246.buildmc.util
 

O

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 record 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

ParticleSpawner - Class in net.mathias2246.buildmc.util
A class for defining custom per-player particle spawners.
ParticleSpawner(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.
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
 
PLAYER - Enum constant in enum class net.mathias2246.buildmc.api.claims.ClaimType
A claim owned by an individual player.
PlayerEnterClaimEvent - Class in net.mathias2246.buildmc.api.event.claims
Called when a Player moves from one claim into another.
PlayerEnterClaimEvent(Player, Long, Long) - Constructor for class net.mathias2246.buildmc.api.event.claims.PlayerEnterClaimEvent
Constructs a new PlayerEnterClaimEvent.
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.
PlayerLeaveClaimEvent - Class in net.mathias2246.buildmc.api.event.claims
Called when a Player leaves a claim and enters another area.
PlayerLeaveClaimEvent(Player, Long, Long) - Constructor for class net.mathias2246.buildmc.api.event.claims.PlayerLeaveClaimEvent
Constructs a new PlayerLeaveClaimEvent.
PlayerSpawnTeleportPreConditionEvent - Class in net.mathias2246.buildmc.api.event.player
 
PlayerSpawnTeleportPreConditionEvent(Player, Location) - Constructor for class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportPreConditionEvent
 
PlayerTimer - Class in net.mathias2246.buildmc.util
 
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
 
PLUGIN - Enum constant in enum class net.mathias2246.buildmc.api.endEvent.EndChangeCause
The End is being opened or closed programmatically by another plugin.
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.DefaultRegistries
The default protection registry key
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.api.event.MetadataHolder
Adds a new metadata entry or updates the value for an existing key.

R

register(AbstractCustomItem) - Method in class net.mathias2246.buildmc.api.item.CustomItemRegistry
Registers a AbstractCustomItem Instance inside this registry.
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
A registry-holder stores a collection of DeferredRegistry instances under a certain key.
RegistriesHolder.Builder - Class in net.mathias2246.buildmc.util
A Builder class used to create new instances of RegistriesHolders.
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.DeferredRegistry
Removes an entry this deferred-registry
removeEntryOrThrow(NamespacedKey) - Method in class net.mathias2246.buildmc.util.DeferredRegistry
Removes an entry this deferred-registry
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.api.event.MetadataHolder
Removes a metadata entry from the event.
removePlayerFromWhitelist(long, UUID) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
Removes a player from a claim's whitelist.
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(NamespacedKey) - Method in class net.mathias2246.buildmc.api.claims.Claim
Removes a protection from this claim.
removeWhitelistedPlayer(UUID) - Method in class net.mathias2246.buildmc.api.claims.Claim
Removes a player from the whitelist of this claim.
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.
run() - Method in class net.mathias2246.buildmc.util.ParticleSpawner
 
run() - Method in class net.mathias2246.buildmc.util.PlayerTimer
 

S

secondSelectionKey - Variable in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
The metadata-key that is used to store the second selection.
SELECTION_TOOL_COOLDOWN_GROUP - Static variable in class net.mathias2246.buildmc.api.item.abstractTypes.AbstractSelectionTool
The NamespacedKey used to identify the cooldown group of selection tools
sendPlayerActionBar(Player, Component) - Method in interface net.mathias2246.buildmc.MainClass
Sends an action bar message to a player.
sendPlayerMessage(Player, Component) - Method in interface net.mathias2246.buildmc.MainClass
Sends a chat message to a player.
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.
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
 
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.claims.ClaimProtectionChangeEvent
 
setCancelled(boolean) - Method in class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent
 
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.PlayerSpawnTeleportPreConditionEvent
 
setDefaultEnabled(boolean) - Method in class net.mathias2246.buildmc.api.claims.Protection
Sets whether this protection should be enabled by default in new claims.
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
Sets the database ID of this claim.
setItemLegacyComponentName(ItemStack, Component) - Static method in class net.mathias2246.buildmc.api.item.ItemUtil
Will set the item name of the given ItemStack to the given Component name.
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.
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.
setTo(Location) - Method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportPreConditionEvent
 
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.
size() - Method in class net.mathias2246.buildmc.api.item.CustomItemRegistry
 
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
 
start(int) - Method in class net.mathias2246.buildmc.util.PlayerTimer
 
steps - Variable in class net.mathias2246.buildmc.util.PlayerTimer
 
stream() - Method in class net.mathias2246.buildmc.api.item.CustomItemRegistry
 
stream() - Method in class net.mathias2246.buildmc.util.DeferredRegistry
 

T

TaskUtil - Class in net.mathias2246.buildmc.util
Utility methods for safely scheduling tasks on the main server thread.
TEAM - Enum constant in enum class net.mathias2246.buildmc.api.claims.ClaimType
A claim owned by a team.
ticks - Variable in class net.mathias2246.buildmc.util.PlayerTimer
 
toString() - Method in class net.mathias2246.buildmc.api.claims.Claim
 
toString() - Method in record class net.mathias2246.buildmc.api.item.CustomItemListener
Returns a string representation of this record class.
toString() - Method in enum class net.mathias2246.buildmc.util.DefaultRegistries
 
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.
tryRegister(AbstractCustomItem) - Method in class net.mathias2246.buildmc.api.item.CustomItemRegistry
Registers a AbstractCustomItem Instance inside this registry.

U

Usage - Search tag in net.mathias2246.buildmc.util.DeferredRegistry.getOptional(NamespacedKey)
Section
Usage - Search tag in net.mathias2246.buildmc.util.DeferredRegistry.getOptional(String)
Section
Usage - Search tag in net.mathias2246.buildmc.util.RegistriesHolder.getOptional(String)
Section

V

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.util.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.util.DefaultRegistries
Returns an array containing the constants of this enum class, in the order they are declared.

W

Why this event exists - Search tag in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
Section
A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages