Class SoundAsset
- java.lang.Object
-
public class SoundAsset extends RawAsset
-
-
Field Summary
-
Fields inherited from class dev.linwood.itemmods.pack.DefinedNamedPackObject
GSON, name
-
-
Constructor Summary
Constructors Constructor Description SoundAsset(@NotNull java.lang.String name)
SoundAsset(@NotNull java.lang.String name, @NotNull com.google.gson.JsonObject jsonObject)
SoundAsset(@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
-
SoundAsset
public SoundAsset(@NotNull @NotNull java.lang.String name)
-
SoundAsset
public SoundAsset(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.lang.String url) throws java.io.IOException
- Throws:
java.io.IOException
-
SoundAsset
public SoundAsset(@NotNull @NotNull java.lang.String name, @NotNull @NotNull com.google.gson.JsonObject jsonObject)
-
-