Class Texture

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

public class Texture extends Object implements Asset
  • Constructor Details

    • Texture

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

      public Texture(String namespace, String path, byte[] data)
  • Method Details

    • file

      public String file()
    • data

      public byte[] data()
    • 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