Uses of Class
io.github.lucfr1746.llibrary.requirement.Requirement
Packages that use Requirement
Package
Description
-
Uses of Requirement in io.github.lucfr1746.llibrary.inventory
Methods in io.github.lucfr1746.llibrary.inventory that return types with arguments of type RequirementModifier and TypeMethodDescriptionInventoryBuilder.getOpenRequirements()
InventoryButton.getViewRequirements()
Gets the list of requirements that determine whether the button is visible.Method parameters in io.github.lucfr1746.llibrary.inventory with type arguments of type RequirementModifier and TypeMethodDescriptionvoid
InventoryBuilder.setOpenRequirements
(List<Requirement> openRequirements) InventoryButton.viewRequirements
(List<Requirement> requirements) Sets the list of requirements that determine whether the button is visible. -
Uses of Requirement in io.github.lucfr1746.llibrary.requirement
Methods in io.github.lucfr1746.llibrary.requirement that return RequirementModifier and TypeMethodDescriptionRequirement.setAcceptHandler
(List<Action> acceptHandler) Sets the actions to execute when the requirement is met.Requirement.setDenyHandler
(List<Action> denyHandler) Sets the actions to execute when the requirement is not met.Methods in io.github.lucfr1746.llibrary.requirement that return types with arguments of type RequirementModifier and TypeMethodDescriptionRequirementLoader.getRequirements
(@Nullable org.bukkit.configuration.ConfigurationSection checkingSection) Retrieves a list of requirements from a configuration section.Method parameters in io.github.lucfr1746.llibrary.requirement with type arguments of type RequirementModifier and TypeMethodDescriptionvoid
RequirementLoader.registerRequirementType
(String name, Function<Object, Requirement> factory) Registers a new requirement type. -
Uses of Requirement in io.github.lucfr1746.llibrary.requirement.list
Subclasses of Requirement in io.github.lucfr1746.llibrary.requirement.listModifier and TypeClassDescriptionclass
Represents a requirement that checks if a player has a minimum amount of experience.class
Represents a requirement that checks if a player has a minimum level.class
Represents a requirement that checks if a player has a specific permission.