Class Model

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

public class Model extends Object implements Asset
  • Constructor Details

    • Model

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

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

      public Model(String namespace, String path)
    • Model

      public Model(String namespace, String path, int texWidth, int texHeight)
  • Method Details

    • parent

      public Model parent(String model)
    • guiLight

      public Model guiLight(Model.GuiLight mode)
    • ambientOcclusion

      public Model ambientOcclusion(boolean ambientOcclusion)
    • texture

      public Model texture(String key, Texture value)
    • addElement

      public Model.Element addElement(float[] from, float[] to)
    • display

      public Model display(String perspective, Model.Display d)
    • file

      public String file()
    • 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