Class HomeListEvent

java.lang.Object
org.bukkit.event.Event
net.william278.huskhomes.event.HomeListEvent
All Implemented Interfaces:
net.william278.huskhomes.event.CancellableEvent, net.william278.huskhomes.event.IHomeListEvent, org.bukkit.event.Cancellable

public class HomeListEvent extends org.bukkit.event.Event implements net.william278.huskhomes.event.IHomeListEvent, org.bukkit.event.Cancellable
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    HomeListEvent​(@NotNull List<net.william278.huskhomes.position.Home> homes, @NotNull net.william278.huskhomes.player.OnlineUser onlineUser, boolean isPublicHomeList)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
     
    @NotNull List<net.william278.huskhomes.position.Home>
     
    boolean
     
    @NotNull net.william278.huskhomes.player.OnlineUser
     
    boolean
     
    void
    setCancelled​(boolean cancelled)
     

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • HomeListEvent

      public HomeListEvent(@NotNull @NotNull List<net.william278.huskhomes.position.Home> homes, @NotNull @NotNull net.william278.huskhomes.player.OnlineUser onlineUser, boolean isPublicHomeList)
  • Method Details

    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getHomes

      @NotNull public @NotNull List<net.william278.huskhomes.position.Home> getHomes()
      Specified by:
      getHomes in interface net.william278.huskhomes.event.IHomeListEvent
    • getOnlineUser

      @NotNull public @NotNull net.william278.huskhomes.player.OnlineUser getOnlineUser()
      Specified by:
      getOnlineUser in interface net.william278.huskhomes.event.IHomeListEvent
    • getIsPublicHomeList

      public boolean getIsPublicHomeList()
      Specified by:
      getIsPublicHomeList in interface net.william278.huskhomes.event.IHomeListEvent
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
      Specified by:
      setCancelled in interface net.william278.huskhomes.event.CancellableEvent
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
      Specified by:
      isCancelled in interface net.william278.huskhomes.event.CancellableEvent