Index

A B C D E G I O P R S T V 
All Classes and Interfaces|All Packages

A

AdvancementAPI - Class in io.github.lambdaphoenix.advancementLib
API for registering and tracking custom or vanilla advancements in your plugin.
AdvancementAPI(Plugin) - Constructor for class io.github.lambdaphoenix.advancementLib.AdvancementAPI
Creates a new AdvancementAPI instance for your plugin.
advancementKey(String) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Sets the unique identifier for this advancement.
AdvancementRegisterBuilder<E> - Class in io.github.lambdaphoenix.advancementLib
Fluent Builder for registering custom advancements in your plugin.
AdvancementRegisterBuilder(AdvancementAPI) - Constructor for class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Start building a new advancement.
AdvancementRegisterBuilder(AdvancementAPI, String) - Constructor for class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Start building a new advancement with a specific key.
AdvancementRegisterBuilder(AdvancementAPI, String, Class<E>) - Constructor for class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Start building a new advancement with a specific key and event type.
ALL_AT_ONCE - Enum constant in enum class io.github.lambdaphoenix.advancementLib.GrantMode
All remaining criteria for the advancement are granted at once when the progress reaches or exceeds the target value.

B

build() - Method in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Registers the advancement with the specified configuration.

C

condition(BiPredicate<Player, E>) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Sets the condition that must be true for the advancement to progress.

D

DummyMain - Class in io.github.lambdaphoenix.advancementLib
DummyMain is a placeholder main class required only for Modrinth uploads.
DummyMain() - Constructor for class io.github.lambdaphoenix.advancementLib.DummyMain
 

E

eventType(Class<E>) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Sets the event type that triggers this advancement.
Example usage: - Search tag in class io.github.lambdaphoenix.advancementLib.AdvancementAPI
Section

G

getDefaultPlayerExtractor(Class<E>, Logger) - Static method in interface io.github.lambdaphoenix.advancementLib.PlayerExtractor
Provides a default PlayerExtractor for common Bukkit events.
getProgress(String, Player) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementAPI
Gets the current progress towards an advancement for a specific player.
grantMode(GrantMode) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Sets how criteria are granted to the player
GrantMode - Enum Class in io.github.lambdaphoenix.advancementLib
Specifies how criteria for a custom advancement should be granted.

I

increment(ToIntFunction<E>) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Sets how much progress each event should add.
io.github.lambdaphoenix.advancementLib - package io.github.lambdaphoenix.advancementLib
Provides a fluent API for registering and managing custom advancements in PaperMC plugins.

O

onEnable() - Method in class io.github.lambdaphoenix.advancementLib.DummyMain
Warns the server owner if the library JAR is installed as a plugin.
Optional parameters: - Search tag in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Section

P

playerExtractor(Function<E, Player>) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Sets a custom function to extract the player from the event.
PlayerExtractor<E> - Interface in io.github.lambdaphoenix.advancementLib
Functional interface for extracting a Player from a Bukkit Event.

R

register(Class<E>) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementAPI
Starts a new AdvancementRegisterBuilder for the given event type.
Required parameters: - Search tag in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Section
requireParent(boolean) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Sets if the parent advancement needs to be completed.
resetAdvancement(String, Player) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementAPI
Resets the player's advancement including all criteria.
resetProgress(String, Player) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementAPI
Resets the current progress for the specified advancement to the player.

S

STEP_BY_STEP - Enum constant in enum class io.github.lambdaphoenix.advancementLib.GrantMode
Only the next uncompleted criterion is granted each time the progress reaches the target value.

T

targetValue(int) - Method in class io.github.lambdaphoenix.advancementLib.AdvancementRegisterBuilder
Sets how many times the event must occur before the advancement is granted.

V

valueOf(String) - Static method in enum class io.github.lambdaphoenix.advancementLib.GrantMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.lambdaphoenix.advancementLib.GrantMode
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E G I O P R S T V 
All Classes and Interfaces|All Packages