Class FusionEvent

java.lang.Object
org.bukkit.event.Event
studio.magemonkey.fusion.api.events.FusionEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable
Direct Known Subclasses:
ProfessionGainXpEvent, ProfessionJoinEvent, ProfessionLeaveEvent, ProfessionLevelUpEvent, ProfessionMasteryEvent, QueueItemAddedEvent, QueueItemFinishedEvent, QueueItemRemovedEvent

public class FusionEvent extends org.bukkit.event.Event implements 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
    FusionEvent(String professionName, CraftingTable craftingTable, org.bukkit.entity.Player player)
    Constructor for the FusionEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull org.bukkit.event.HandlerList
     
    boolean
     
    void
    setCancelled(boolean b)
     

    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

    • FusionEvent

      public FusionEvent(String professionName, CraftingTable craftingTable, org.bukkit.entity.Player player)
      Constructor for the FusionEvent
      Parameters:
      professionName - The name of the profession
      craftingTable - The crafting table
      player - The player
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean b)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getHandlers

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