Class MysteryBlockUnboxEvent

java.lang.Object
org.bukkit.event.Event
dev.yowsef.stealablock.api.event.StealABlockEvent
dev.yowsef.stealablock.api.event.storage.MysteryBlockUnboxEvent

public final class MysteryBlockUnboxEvent extends StealABlockEvent
Fired when a mystery block finishes unboxing on a player's anvil and rolls its mutation.
  • Constructor Details

    • MysteryBlockUnboxEvent

      public MysteryBlockUnboxEvent(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull org.bukkit.Location anvilLocation, @NotNull @NotNull BlockType unboxedBlock, @NotNull @NotNull String mutationId)
  • Method Details

    • getPlayer

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

      @NotNull public @NotNull org.bukkit.Location getAnvilLocation()
    • getUnboxedBlock

      @NotNull public @NotNull BlockType getUnboxedBlock()
    • setUnboxedBlock

      public void setUnboxedBlock(@NotNull @NotNull BlockType unboxedBlock)
    • getMutationId

      @NotNull public @NotNull String getMutationId()
    • setMutationId

      public void setMutationId(@NotNull @NotNull String mutationId)
    • getHandlers

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

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()