public abstract class FusionTextureMetadataProvider
extends com.supermartijn642.core.generator.ResourceGenerator
generate().
Users may use addTextureMetadata(ResourceLocation, TextureType, Object) to add metadata which should be generated.
Created 02/05/2023 by SuperMartijn642
| Constructor and Description |
|---|
FusionTextureMetadataProvider(java.lang.String modid,
com.supermartijn642.core.generator.ResourceCache cache) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
addTextureMetadata(net.minecraft.util.ResourceLocation location,
TextureType<T> textureType,
T data)
Adds texture metadata to be generated.
|
abstract void |
generate()
Adds texture metadata which should be generated through
addTextureMetadata(ResourceLocation, TextureType, Object). |
java.lang.String |
getName() |
void |
save() |
public FusionTextureMetadataProvider(java.lang.String modid,
com.supermartijn642.core.generator.ResourceCache cache)
modid - modid of the mod which creates the generatorpublic void save()
save in class com.supermartijn642.core.generator.ResourceGeneratorpublic abstract void generate()
addTextureMetadata(ResourceLocation, TextureType, Object).generate in class com.supermartijn642.core.generator.ResourceGeneratorpublic final <T> void addTextureMetadata(net.minecraft.util.ResourceLocation location,
TextureType<T> textureType,
T data)
location - location of the texturetextureType - type of the texturedata - metadata to be serializedpublic java.lang.String getName()
getName in class com.supermartijn642.core.generator.ResourceGenerator