Class PlayerPreDismantleItemEvent

java.lang.Object
org.bukkit.event.Event
studio.magemonkey.codex.api.events.IEvent
studio.magemonkey.codex.api.events.ICancellableEvent
studio.magemonkey.divinity.modules.list.dismantle.event.PlayerPreDismantleItemEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PlayerPreDismantleItemEvent extends studio.magemonkey.codex.api.events.ICancellableEvent
  • Nested Class Summary

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

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

    Fields inherited from class studio.magemonkey.codex.api.events.IEvent

    handlers
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayerPreDismantleItemEvent(org.bukkit.entity.Player player, double cost, Map<org.bukkit.inventory.ItemStack,DismantleManager.OutputContainer> result)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    org.bukkit.entity.Player
     
    Map<org.bukkit.inventory.ItemStack,DismantleManager.OutputContainer>
     
    void
    setCost(double cost)
     

    Methods inherited from class studio.magemonkey.codex.api.events.ICancellableEvent

    isCancelled, setCancelled

    Methods inherited from class studio.magemonkey.codex.api.events.IEvent

    getHandlerList, getHandlers

    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

    • PlayerPreDismantleItemEvent

      public PlayerPreDismantleItemEvent(@NotNull org.bukkit.entity.Player player, double cost, @NotNull Map<org.bukkit.inventory.ItemStack,DismantleManager.OutputContainer> result)
  • Method Details

    • getCost

      public double getCost()
    • setCost

      public void setCost(double cost)
    • getPlayer

      @NotNull public org.bukkit.entity.Player getPlayer()
    • getResult

      @NotNull public Map<org.bukkit.inventory.ItemStack,DismantleManager.OutputContainer> getResult()