Class IntelligentItemLoreAnimator

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

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

    • IntelligentItemLoreAnimator

      public IntelligentItemLoreAnimator()
  • Method Details

    • builder

      @Contract("_ -> new") @NotNull public static @NotNull IntelligentItemLoreAnimator.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.
    • getTasks

      @Internal @NotNull public @NotNull List<org.bukkit.scheduler.BukkitTask> getTasks()
      This function returns a list of tasks.
      Returns:
      A list of BukkitTasks
    • getIdentifier

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