Class TextureAsset
- java.lang.Object
-
public class TextureAsset extends RawAsset
-
-
Field Summary
-
Fields inherited from class dev.linwood.itemmods.pack.DefinedNamedPackObject
GSON, name
-
-
Constructor Summary
Constructors Constructor Description TextureAsset(@NotNull java.lang.String name)
TextureAsset(@NotNull java.lang.String name, @NotNull com.google.gson.JsonObject jsonObject)
TextureAsset(@NotNull java.lang.String name, @NotNull java.lang.String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export(java.lang.String namespace, java.lang.String variation, @NotNull java.nio.file.Path path)
-
Methods inherited from class dev.linwood.itemmods.pack.asset.raw.RawAsset
getData, getDataOrDefault, getDefaultTexture, getVariations, removeVariation, save, setData, setData, setDefaultData, setDefaultData
-
Methods inherited from class dev.linwood.itemmods.pack.asset.CustomPackAsset
getTemplates, registerTemplate, registerTemplate, unregisterTemplate, unregisterTemplate
-
Methods inherited from class dev.linwood.itemmods.pack.asset.CustomNamedAsset
getDisplayName, removeDisplayName, setDisplayName
-
Methods inherited from class dev.linwood.itemmods.pack.DefinedNamedPackObject
getName, setName
-
-
-
-
Constructor Detail
-
TextureAsset
public TextureAsset(@NotNull @NotNull java.lang.String name)
-
TextureAsset
public TextureAsset(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.lang.String url) throws java.io.IOException
- Throws:
java.io.IOException
-
TextureAsset
public TextureAsset(@NotNull @NotNull java.lang.String name, @NotNull @NotNull com.google.gson.JsonObject jsonObject)
-
-