Class PackMcMeta

java.lang.Object
com.github.darksoulq.abyssallib.server.resource.asset.PackMcMeta
All Implemented Interfaces:
Asset

public class PackMcMeta extends Object implements Asset
  • Constructor Details

    • PackMcMeta

      public PackMcMeta(org.bukkit.plugin.Plugin plugin)
    • PackMcMeta

      public PackMcMeta(byte[] data)
    • PackMcMeta

      public PackMcMeta()
  • Method Details

    • packFormat

      public PackMcMeta packFormat(int format)
    • description

      public PackMcMeta description(String description)
    • description

      public PackMcMeta description(net.kyori.adventure.text.Component description)
    • supportedFormats

      public PackMcMeta supportedFormats(int min, int max)
    • emit

      public void emit(Map<String,byte[]> files)
      Description copied from interface: Asset
      Emits the asset's files into the provided output map.
      Specified by:
      emit in interface Asset
      Parameters:
      files - the output map where keys are file paths and values are file contents