Class McMeta

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

public class McMeta extends Object implements Asset
  • Constructor Details

    • McMeta

      public McMeta(org.bukkit.plugin.Plugin plugin, String namespace, String path)
    • McMeta

      public McMeta(String namespace, String path, byte[] data)
    • McMeta

      public McMeta(String namespace, String path)
  • Method Details

    • frametime

      public McMeta frametime(int frametime)
    • interpolate

      public McMeta interpolate(boolean interpolate)
    • size

      public McMeta size(int width, int height)
    • frame

      public McMeta frame(int index)
    • frame

      public McMeta frame(int index, int time)
    • 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