Class IntelligentItemNameAnimator

java.lang.Object
io.github.rysefoxx.inventory.plugin.animator.IntelligentItemNameAnimator

public class IntelligentItemNameAnimator extends Object
Since:
4/12/2022
  • Constructor Details

    • IntelligentItemNameAnimator

      public IntelligentItemNameAnimator()
  • Method Details

    • builder

      @Contract("_ -> new") @NotNull public static @NotNull IntelligentItemNameAnimator.Builder builder(@NotNull @NotNull org.bukkit.plugin.Plugin plugin)
    • animate

      public void animate()
      This starts the animation for the item.
    • stop

      public boolean stop()
      This stops the animation for the item.
      Returns:
      true if the animation was stopped.
    • getTask

      @Internal @NotNull public @NotNull org.bukkit.scheduler.BukkitTask getTask()
      This function returns the task that is currently running.
      Returns:
      The task that is being run.
    • getIdentifier

      @Nullable public @Nullable Object getIdentifier()
      Returns the identifier of this object, or null if it has none.
      Returns:
      The identifier of the object.