Class ItemStackConfigPath

java.lang.Object
me.hsgamer.hscore.config.path.AdvancedConfigPath<Map<String,Object>,T>
me.hsgamer.hscore.config.path.SerializableMapConfigPath<org.bukkit.inventory.ItemStack>
me.hsgamer.hscore.bukkit.config.path.ItemStackConfigPath
All Implemented Interfaces:
ConfigPath<org.bukkit.inventory.ItemStack>

public class ItemStackConfigPath extends SerializableMapConfigPath<org.bukkit.inventory.ItemStack>
  • Constructor Details

    • ItemStackConfigPath

      public ItemStackConfigPath(PathString path, org.bukkit.inventory.ItemStack def)
      Create a config path
      Parameters:
      path - the path to the value
      def - the default value if it's not found
    • ItemStackConfigPath

      public ItemStackConfigPath(PathString path, org.bukkit.inventory.ItemStack def, Function<Map<String,Object>,org.bukkit.inventory.ItemStack> deserializer, Function<org.bukkit.inventory.ItemStack,Map<String,Object>> serializer)
  • Method Details