Index
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
- addChildGroup(PermissionGroup) - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
- ADDED - Enum constant in enum class net.mathias2246.buildmc.api.event.claims.ClaimWhitelistChangeEvent.ChangeAction
- addEntries(T...) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
-
Registers multiple new entries.
- addEntries(T...) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
-
Registers multiple new entries.
- addEntry(T) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
-
Registers a new entry under a certain key.
- addEntry(T) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
-
Registers a new entry under a certain key.
- addEntryOrThrow(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
- addMember(Entity) - Method in class net.mathias2246.buildmc.api.team.Team
- addMember(Permissible) - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
- addPermission(Player, String, boolean) - Method in interface net.mathias2246.buildmc.api.permission.PermissionManager
- 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
Registryinstance to the holder instance that thisBuilderwill build. - addRegistry(String, Registry) - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder
-
Adds a
Registryto this holder under a certain key. - addTag(Tag) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
-
Adds a
Tagto this registry. - addTag(Tag) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
-
Adds a
Tagto 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.
- applyToPlayer(Player, Plugin) - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
-
Applies this group's effective permissions to a player via a PermissionAttachment.
- 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
Registrythat is permanently mutable. - BaseRegistry(Key) - Constructor for class net.mathias2246.buildmc.util.registry.BaseRegistry
-
Initializes a new empty register
- 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
BuildMcRegistryEventis 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
-
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.
- 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, 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
ClaimCreateEventfor multiple claims. - ClaimCreateEvent(Claim) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimCreateEvent
-
Constructs a new
ClaimCreateEventfor a claim. - ClaimManager - Interface in net.mathias2246.buildmc.api.claims
-
The
ClaimManagerprovides 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
Claimis 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
Protectionof aClaimis 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
- 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
ClaimRemoveEventfor multiple claims. - ClaimRemoveEvent(Claim) - Constructor for class net.mathias2246.buildmc.api.event.claims.ClaimRemoveEvent
-
Constructs a new
ClaimRemoveEventfor 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
Claimis 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.
- 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
- 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
NamespacedKeyis inside this registry or not. - 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
AbstractCustomIteminstances - 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
CustomPlayerEventfor 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
DeferredRegistryis an implementation of Bukkit'sRegistryinterface. - 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
Claimobjects 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
StatusInstancethat is represented using a Map. - 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
GuiItemcreation 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
Consumerto 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
- 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.
- EntityChangeTeamEvent - Class in net.mathias2246.buildmc.api.event.team
-
Thrown when an entities
Teamis about to change. - EntityChangeTeamEvent(Entity, Team, Team) - Constructor for class net.mathias2246.buildmc.api.event.team.EntityChangeTeamEvent
- EntityTeamEvent - Class in net.mathias2246.buildmc.api.event.team
-
Represents a team-related event.
- EntityTeamEvent(Entity, Team) - Constructor for class net.mathias2246.buildmc.api.event.team.EntityTeamEvent
-
Base constructor for
EntityTeamEvents. - equals(Object) - Method in record class net.mathias2246.buildmc.api.DiscordEmbed.Field
-
Indicates whether some other object is "equal to" this one.
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
Fieldrecord 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
G
- get(String) - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder
-
Retrieves a
Registryinstance 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
- 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
Claimentries 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
Registryinstance 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.
- getChildGroups() - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
- 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.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.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
- 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.
- getCustomItemFromItemStack(ItemStack) - Static method in class net.mathias2246.buildmc.api.item.ItemUtil
-
Will try to get a
AbstractCustomItemfrom anItemStackif 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, Gui) - Method in interface net.mathias2246.buildmc.api.ui.Displayable
-
Create a new
GuiItemfor usage in UIs. - 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
PlayerDeathEventthat 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.
- 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.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.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.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.team.EntityChangeTeamEvent
- getHandlerList() - Static method in class net.mathias2246.buildmc.api.event.team.EntityTeamEvent
- 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.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.CustomEntityEvent
-
Returns the
HandlerListfor this event type. - getHandlers() - Method in class net.mathias2246.buildmc.api.event.CustomEvent
-
Returns the
HandlerListfor this event type. - getHandlers() - Method in class net.mathias2246.buildmc.api.event.CustomPlayerEvent
-
Returns the
HandlerListfor 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.team.EntityChangeTeamEvent
- getHandlers() - Method in class net.mathias2246.buildmc.api.event.team.EntityTeamEvent
- getId() - Method in class net.mathias2246.buildmc.api.claims.Claim
-
Gets the database ID of this claim.
- getJoinEvent() - Method in class net.mathias2246.buildmc.api.event.player.PlayerFirstTimeJoinEvent
-
Gets the
PlayerJoinEventthat triggered this event. - getKey() - Method in class net.mathias2246.buildmc.api.claims.Protection
-
Returns the unique
NamespacedKeyfor this protection. - getKey() - Method in class net.mathias2246.buildmc.api.item.AbstractCustomItem
- 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
NamespacedKeyof aT - getKey(T) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
-
Gets the
NamespacedKeyof aT - getKiller() - Method in class net.mathias2246.buildmc.api.event.player.PlayerHeadDropEvent
-
Gets the killer of the victim.
- getMembers() - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
- 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.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.
- getName() - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
- 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
- getNewTeam() - Method in class net.mathias2246.buildmc.api.event.team.EntityChangeTeamEvent
- 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
NamespacedKeyin aStringrepresentation. - getOptional(String) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
-
Optionally retrieves an entry from this deferred-registry by its
NamespacedKeyin aStringrepresentation. - getOptional(String) - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder
-
Optionally retrieves a
Registryinstance 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. - 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.
- getPermissionManager() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
-
Gets the
PermissionManager - 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
ItemStackrepresenting the player's head. - getPlayerTeam(Player) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
-
Gets the current scoreboard
Teamof 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
-
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.
- getRegistriesHolder() - Method in interface net.mathias2246.buildmc.api.BuildMcAPI
-
Gets the shared
RegistriesHolderthat 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 - getTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
-
Gets a
Tagfrom this registry by its key. - getTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
-
Gets a
Tagfrom this registry by its key. - getTags() - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
-
Gets a
Collectioncontaining allTags in this registry. - getTags() - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
-
Gets a
Collectioncontaining allTags in this registry. - getTeam() - Method in class net.mathias2246.buildmc.api.event.team.EntityTeamEvent
-
Returns the
Teamof the entity 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.
- getTeamFromEntity(Entity) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
-
Tries to return the team where the given entity is a member of.
- 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.
- 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
Locationto where the player is teleported after waiting. - 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.
- getValue() - Method in class net.mathias2246.buildmc.util.registry.KeyHolder
-
Gets the stored object
- 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.
- grantPermission(String) - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
-
Grants a permission to this group and recalculates.
- GUIDES - Enum constant in enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
-
The default guides registry.
H
- 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.
- hasMember(Permissible) - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
- hasPermission(Player, String) - Method in interface net.mathias2246.buildmc.api.permission.PermissionManager
- 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
TagKeyis found for this registry. - hasTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
-
Checks if a certain
TagKeyis found for this registry. - 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
inlinerecord component. - 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.EntityChangeTeamEvent
- isClaimed(Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
-
Checks if a
Locationis 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
-
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.
- 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(Entity) - Method in class net.mathias2246.buildmc.api.team.Team
- 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.
- 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.util.registry.BaseRegistry
- iterator() - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
- iterator() - Method in class net.mathias2246.buildmc.util.registry.RegistriesHolder
K
- 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
NamespacedKeyas identifier. - KeyHolder(NamespacedKey, T) - Constructor for class net.mathias2246.buildmc.util.registry.KeyHolder
-
Default constructor for creating a basic non-null
KeyHolderinstance. - 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.
- 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
- 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.api.event
-
Base class providing metadata support for custom events.
- MetadataHolder() - Constructor for class net.mathias2246.buildmc.api.event.MetadataHolder
- MISSING_PERMISSION - Enum constant in enum class net.mathias2246.buildmc.api.status.StatusInstance.AllowStatus
-
The player is missing a
Permissionto 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.api.event.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
namerecord 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.permission - package net.mathias2246.buildmc.api.permission
- 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.registry - package net.mathias2246.buildmc.util.registry
- 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
- 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
- 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.
- PermissionGroup - Class in net.mathias2246.buildmc.api.permission
- PermissionGroup(String, Plugin) - Constructor for class net.mathias2246.buildmc.api.permission.PermissionGroup
- PermissionManager - Interface in net.mathias2246.buildmc.api.permission
-
Basic Permission handling system.
- 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
Playerthat owns this timer - 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
Playermoves from one claim into another. - PlayerEnterClaimEvent(Player, Long, Long) - Constructor for class net.mathias2246.buildmc.api.event.claims.PlayerEnterClaimEvent
-
Constructs a new
PlayerEnterClaimEvent. - 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
- 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
Playerleaves a claim and enters another area. - PlayerLeaveClaimEvent(Player, Long, Long) - Constructor for class net.mathias2246.buildmc.api.event.claims.PlayerLeaveClaimEvent
-
Constructs a new
PlayerLeaveClaimEvent. - 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
Pluginthat 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.
- Protection - Class in net.mathias2246.buildmc.api.claims
-
Represents a type of
Protectionthat can be applied to claims. - Protection(NamespacedKey) - Constructor for class net.mathias2246.buildmc.api.claims.Protection
-
Creates a new
Protectionwith 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
- 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.api.event.MetadataHolder
-
Adds a new metadata entry or updates the value for an existing key.
R
- recalculate() - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
-
Fully recalculates permissions by rebuilding from scratch.
- registerClaims(List) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
-
Registers multiple
Claimobjects in the system and persists them to the database. - registerTeam(Team) - Method in interface net.mathias2246.buildmc.api.team.TeamManager
-
Registers a team so that it can be found and 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
Registryinstances under a certain key. - RegistriesHolder.Builder - Class in net.mathias2246.buildmc.util.registry
-
A Builder class used to create new instances of
RegistriesHolders. - removeChildGroup(PermissionGroup) - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
- 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
- removeMember(Entity) - Method in class net.mathias2246.buildmc.api.team.Team
- removeMember(Permissible) - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
- 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.api.event.MetadataHolder
-
Removes a metadata entry from the event.
- removePermission(Player, String) - Method in interface net.mathias2246.buildmc.api.permission.PermissionManager
- 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.
- removeTag(Tag) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
-
Removes a
Tagfrom this registry. - removeTag(Tag) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
-
Removes a
Tagfrom this registry, if not initialized. - removeTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.BaseRegistry
-
Removes a
Tagfrom this registry. - removeTag(TagKey) - Method in class net.mathias2246.buildmc.util.registry.DeferredRegistry
-
Removes a
Tagfrom 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.
- 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
- revokePermission(String) - Method in class net.mathias2246.buildmc.api.permission.PermissionGroup
-
Revokes a permission from this group and recalculates.
- 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 NamespacedKey used to identify the second selection of this selection tool
- sendActionBar(Audience, Component) - Static method in class net.mathias2246.buildmc.util.AudienceUtil
- sendMessage(Audience, Component) - Static method in class net.mathias2246.buildmc.util.AudienceUtil
- 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.
- 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.EntityChangeTeamEvent
- 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
-
Deprecated.
- 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
ItemStackto the givenComponent. - setNewStatus(StatusInstance) - Method in class net.mathias2246.buildmc.api.event.player.StatusChangeEvent
- setNewTeam(Team) - Method in class net.mathias2246.buildmc.api.event.team.EntityChangeTeamEvent
- 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
ItemStackto 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.
- setTo(Location) - Method in class net.mathias2246.buildmc.api.event.player.PlayerSpawnTeleportEvent
-
Sets the
Locationto where the player is teleported after waiting. - 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.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. - 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
- 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. - 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
- Team(TeamManager) - 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.
- TeamManager - Interface in net.mathias2246.buildmc.api.team
- 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
- title - Variable in class net.mathias2246.buildmc.api.DiscordEmbed
- title(String) - Method in class net.mathias2246.buildmc.api.DiscordEmbed.Builder
- 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 enum class net.mathias2246.buildmc.util.registry.DefaultRegistries
- tryClaimArea(Claim) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
-
Attempts to register a
Claiminstance. - tryClaimArea(ClaimType, String, String, Location, Location) - Method in interface net.mathias2246.buildmc.api.claims.ClaimManager
-
Attempts to create a claim of some
ClaimTypebetween 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
Teambetween 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
- 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
- value() - Method in record class net.mathias2246.buildmc.api.DiscordEmbed.Field
-
Returns the value of the
valuerecord 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.
W
- Why this event exists - Section in class net.mathias2246.buildmc.api.event.lifecycle.BuildMcRegistryEvent
All Classes and Interfaces|All Packages