Class Hints

java.lang.Object
ua.mcchickenstudio.opencreative.managers.hints.Hints
All Implemented Interfaces:
HintManager, Manager

public final class Hints extends Object implements HintManager
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    checkForHints(@NotNull org.bukkit.entity.Player player)
    Checks player for suggestions and sends hint in action bar if it's necessary.
    Returns name of manager, that will be displayed by request in the logs.
    void
    Initialization of manager.
    boolean
    Checks if manager is ready to work.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Hints

      public Hints()
  • Method Details

    • checkForHints

      public void checkForHints(@NotNull @NotNull org.bukkit.entity.Player player)
      Description copied from interface: HintManager
      Checks player for suggestions and sends hint in action bar if it's necessary.
      Specified by:
      checkForHints in interface HintManager
      Parameters:
      player - player to check.
    • init

      public void init()
      Description copied from interface: Manager
      Initialization of manager.
      Specified by:
      init in interface Manager
    • isEnabled

      public boolean isEnabled()
      Description copied from interface: Manager
      Checks if manager is ready to work.
      Specified by:
      isEnabled in interface Manager
      Returns:
      true - if enabled, false - disabled.
    • getName

      public String getName()
      Description copied from interface: Manager
      Returns name of manager, that will be displayed by request in the logs.
      Specified by:
      getName in interface Manager
      Returns:
      name of manager.