Class BanAnimation

java.lang.Object
fr.andross.banitem.utils.BanAnimation

public final class BanAnimation extends Object
Animation class
Version:
3.1
Author:
Andross
  • Constructor Details

    • BanAnimation

      public BanAnimation(@NotNull org.bukkit.command.CommandSender sender, @NotNull BanConfig banConfig)
      Loading a ban animation.
      Parameters:
      sender - the sender using this
      banConfig - 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

      @NotNull public Map<String,Object> serialize()
      Serializing this ban animation object
      Returns:
      a serialized map of this ban animation