Class BedwarsApplyPropertyToItem

java.lang.Object
org.bukkit.event.Event
org.screamingsandals.bedwars.api.events.BedwarsApplyPropertyToItem
Direct Known Subclasses:
BedwarsApplyPropertyToBoughtItem, BedwarsApplyPropertyToDisplayedItem

public class BedwarsApplyPropertyToItem extends org.bukkit.event.Event
  • Constructor Details

    • BedwarsApplyPropertyToItem

      public BedwarsApplyPropertyToItem(Game game, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack stack, Map<String,Object> properties)
      Parameters:
      game -
      player -
      stack -
      properties -
  • Method Details

    • getGame

      public Game getGame()
      Returns:
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Returns:
    • setStack

      public boolean setStack(org.bukkit.inventory.ItemStack stack)
      Parameters:
      stack -
      Returns:
    • getStack

      public org.bukkit.inventory.ItemStack getStack()
      Returns:
    • getProperties

      public Map<String,Object> getProperties()
      Returns:
    • getPropertyName

      public String getPropertyName()
      Returns:
    • getProperty

      public Object getProperty(String key)
      Parameters:
      key -
      Returns:
    • getStringProperty

      public String getStringProperty(String key)
      Parameters:
      key -
      Returns:
    • getByteProperty

      public byte getByteProperty(String key)
      Parameters:
      key -
      Returns:
    • getShortProperty

      public short getShortProperty(String key)
      Parameters:
      key -
      Returns:
    • getIntProperty

      public int getIntProperty(String key)
      Parameters:
      key -
      Returns:
    • getLongProperty

      public long getLongProperty(String key)
      Parameters:
      key -
      Returns:
    • getFloatProperty

      public float getFloatProperty(String key)
      Parameters:
      key -
      Returns:
    • getDoubleProperty

      public double getDoubleProperty(String key)
      Parameters:
      key -
      Returns:
    • getBooleanProperty

      public boolean getBooleanProperty(String key)
      Parameters:
      key -
      Returns:
    • getCharProperty

      public char getCharProperty(String key)
      Parameters:
      key -
      Returns:
    • getHandlers

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

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