Class CustomItemData
java.lang.Object
org.strassburger.lifestealz.util.customitems.customitemdata.CustomItemData
- Direct Known Subclasses:
CustomHeartItemData
,CustomReviveBeaconItemData
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCustomItemData
(String itemId) Creates a new CustomItemData object for the given item ID. -
Method Summary
-
Constructor Details
-
CustomItemData
Creates a new CustomItemData object for the given item ID.- Parameters:
itemId
- the ID of the custom item- Throws:
IllegalArgumentException
- if the custom item with the given ID does not exist
-
-
Method Details
-
getConfigurationSection
protected org.bukkit.configuration.ConfigurationSection getConfigurationSection()Returns the configuration section for this custom item.- Returns:
- the configuration section for this custom item
-
getSound
-
getItemId
-
getName
-
getLore
-
getMaterial
public org.bukkit.Material getMaterial() -
isEnchanted
public boolean isEnchanted() -
getCustomItemType
-
isCraftable
public boolean isCraftable() -
requiresPermission
public boolean requiresPermission() -
getPermission
-
isInvulnerable
public boolean isInvulnerable() -
isDespawnable
public boolean isDespawnable()
-