Class MultipartBalloonPlayerListener

java.lang.Object
net.jeqo.bloons.listeners.multipart.MultipartBalloonPlayerListener
All Implemented Interfaces:
org.bukkit.event.Listener

public class MultipartBalloonPlayerListener extends Object implements org.bukkit.event.Listener
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    onDeath(org.bukkit.event.entity.PlayerDeathEvent event)
    When they die, remove the balloon they had equipped
    void
    onRespawn(org.bukkit.event.player.PlayerRespawnEvent event)
    When they respawn, add the balloon they back that they died with
    void
    onWorldChange(org.bukkit.event.player.PlayerChangedWorldEvent event)
    When they change worlds, store their balloon and move the balloon armor stand over

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • MultipartBalloonPlayerListener Link icon

      public MultipartBalloonPlayerListener()
  • Method Details Link icon

    • onDeath Link icon

      public void onDeath(org.bukkit.event.entity.PlayerDeathEvent event)
      When they die, remove the balloon they had equipped
      Parameters:
      event - The event that is called when a player dies, type org.bukkit.event.entity.PlayerDeathEvent
    • onRespawn Link icon

      public void onRespawn(org.bukkit.event.player.PlayerRespawnEvent event)
      When they respawn, add the balloon they back that they died with
      Parameters:
      event - The event that is called when a player respawns, type org.bukkit.event.player.PlayerRespawnEvent
    • onWorldChange Link icon

      public void onWorldChange(org.bukkit.event.player.PlayerChangedWorldEvent event)
      When they change worlds, store their balloon and move the balloon armor stand over
      Parameters:
      event - The event that is called when a player changes worlds, type org.bukkit.event.player.PlayerChangedWorldEvent