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

public final class Hints extends Object implements HintManager, Startable
  • 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.
    @NotNull String
    Returns name of manager, that will be displayed by request in the logs.
    void
    Does tasks on start.

    Methods inherited from class java.lang.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.
    • start

      public void start()
      Description copied from interface: Startable
      Does tasks on start.
      Specified by:
      start in interface Startable
    • getName

      @NotNull public @NotNull 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.