Class Atlas

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

public class Atlas extends Object implements Asset
  • Constructor Details

    • Atlas

      public Atlas(org.bukkit.plugin.Plugin plugin, String namespace, String id)
    • Atlas

      public Atlas(String namespace, String id)
    • Atlas

      public Atlas(String namespace, String id, byte[] data)
  • Method Details

    • getId

      public String getId()
    • addSource

      public Atlas addSource(AtlasSource source)
    • 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