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 name, String lore)
    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 name, String lore)
      Gives a player a AnimatedArchitecture.
      Parameters:
      player - The player to give the tool to.
      name - The name of the tool.
      lore - The 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.