Class IntelligentItemLoreAnimator
java.lang.Object
io.github.rysefoxx.inventory.plugin.animator.IntelligentItemLoreAnimator
- Since:
- 4/12/2022
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanimate()This starts the animation for the item.static @NotNull IntelligentItemLoreAnimator.Builderbuilder(@NotNull org.bukkit.plugin.Plugin plugin) @Nullable ObjectReturns the identifier of this object, or null if it has none.@NotNull List<org.bukkit.scheduler.BukkitTask>getTasks()This function returns a list of tasks.booleanstop()This stops the animation for the item.
-
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
This function returns a list of tasks.- Returns:
- A list of BukkitTasks
-
getIdentifier
Returns the identifier of this object, or null if it has none.- Returns:
- The identifier of the object.
-