Package fr.andross.banitem.utils
Class BanAnimation
java.lang.Object
fr.andross.banitem.utils.BanAnimation
Animation class.
- Version:
- 3.1
- Author:
- Andross
-
Constructor Summary
ConstructorsConstructorDescriptionBanAnimation
(@NotNull org.bukkit.command.CommandSender sender, @NotNull BanConfig banConfig) Loading a ban animation. -
Method Summary
Modifier and TypeMethodDescriptionvoid
runAnimation
(@NotNull org.bukkit.entity.Player p) Running animation, if available.Serializing this ban animation object.
-
Constructor Details
-
BanAnimation
public BanAnimation(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull BanConfig banConfig) Loading a ban animation.- Parameters:
sender
- the sender using thisbanConfig
- the ban configuration used
-
-
Method Details
-
runAnimation
public void runAnimation(@NotNull @NotNull org.bukkit.entity.Player p) Running animation, if available.- Parameters:
p
- the player
-
serialize
Serializing this ban animation object.- Returns:
- a serialized map of this ban animation
-