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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionBedwarsApplyPropertyToItem
(Game game, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack stack, Map<String, Object> properties) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBooleanProperty
(String key) byte
getByteProperty
(String key) char
getCharProperty
(String key) double
getDoubleProperty
(String key) float
getFloatProperty
(String key) getGame()
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
int
getIntProperty
(String key) long
getLongProperty
(String key) org.bukkit.entity.Player
getProperty
(String key) short
getShortProperty
(String key) org.bukkit.inventory.ItemStack
getStack()
getStringProperty
(String key) boolean
setStack
(org.bukkit.inventory.ItemStack stack) Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
Method Details
-
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
- Returns:
-
getPropertyName
- Returns:
-
getProperty
- Parameters:
key
-- Returns:
-
getStringProperty
- Parameters:
key
-- Returns:
-
getByteProperty
- Parameters:
key
-- Returns:
-
getShortProperty
- Parameters:
key
-- Returns:
-
getIntProperty
- Parameters:
key
-- Returns:
-
getLongProperty
- Parameters:
key
-- Returns:
-
getFloatProperty
- Parameters:
key
-- Returns:
-
getDoubleProperty
- Parameters:
key
-- Returns:
-
getBooleanProperty
- Parameters:
key
-- Returns:
-
getCharProperty
- Parameters:
key
-- Returns:
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-