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.

@FunctionalInterface public interface ItemMetaParser
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.inventory.ItemStack
    parse(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 parse
      config - the ConfigurationNode of the item section
      Returns:
      the modified item