Interface IAnimatedArchitectureToolUtil
- All Known Implementing Classes:
AnimatedArchitectureToolUtilSpigot
public interface IAnimatedArchitectureToolUtil
Represents a set of utility functions around the tool used by
ToolUsers.-
Method Summary
Modifier and TypeMethodDescriptionvoidgiveToPlayer(IPlayer player, String nameKey, String loreKey) Gives a player a AnimatedArchitecture.booleanisPlayerHoldingTool(IPlayer player) Checks if a player is currently holding a AnimatedArchitecture tool in their main hand.voidremoveTool(IPlayer player) Removes any AnimatedArchitecture tools from a player's inventory.
-
Method Details
-
giveToPlayer
-
removeTool
Removes any AnimatedArchitecture tools from a player's inventory.- Parameters:
player- The player whose inventory will be checked.
-
isPlayerHoldingTool
Checks if a player is currently holding a AnimatedArchitecture tool in their main hand.- Parameters:
player- The player to check.- Returns:
- True if they are currently holding a AnimatedArchitecture tool in their main hand.
-