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 Type
    Method
    Description
    void
    giveToPlayer(IPlayer player, String nameKey, String loreKey)
    Gives a player a AnimatedArchitecture.
    boolean
    Checks if a player is currently holding a AnimatedArchitecture tool in their main hand.
    void
    Removes any AnimatedArchitecture tools from a player's inventory.
  • Method Details

    • giveToPlayer

      void giveToPlayer(IPlayer player, String nameKey, String loreKey)
      Gives a player a AnimatedArchitecture.
      Parameters:
      player - The player to give the tool to.
      nameKey - The localization key for name of the tool.
      loreKey - The localization key for lore of the tool.
    • removeTool

      void removeTool(IPlayer player)
      Removes any AnimatedArchitecture tools from a player's inventory.
      Parameters:
      player - The player whose inventory will be checked.
    • isPlayerHoldingTool

      boolean isPlayerHoldingTool(IPlayer player)
      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.