Package fr.andross.banitem.utils
Class BanAnimation
java.lang.Object
fr.andross.banitem.utils.BanAnimation
Animation class
- Version:
- 3.1
- Author:
- Andross
-
Constructor Summary
ConstructorDescriptionBanAnimation
(org.bukkit.command.CommandSender sender, BanConfig banConfig) Loading a ban animation. -
Method Summary
Modifier and TypeMethodDescriptionvoid
runAnimation
(org.bukkit.entity.Player p) Running animation, if availableSerializing this ban animation object
-
Constructor Details
-
BanAnimation
Loading a ban animation.- Parameters:
sender
- the sender using thisbanConfig
- the ban configuration used
-
-
Method Details
-
runAnimation
public void runAnimation(@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
-