Package dev.aurelium.slate.function
Interface ItemMetaParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackparse(org.bukkit.inventory.ItemStack item, org.spongepowered.configurate.ConfigurationNode config) Handles parsing of a custom item meta key.
-
Method Details
-
parse
org.bukkit.inventory.ItemStack parse(org.bukkit.inventory.ItemStack item, org.spongepowered.configurate.ConfigurationNode config) Handles parsing of a custom item meta key.- Parameters:
item- the item to parseconfig- theConfigurationNodeof the item section- Returns:
- the modified item
-