protected class ChiseledTextureProvider.PaletteMap
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ChiseledTextureProvider.PaletteMap |
applyToTexture(net.minecraft.util.ResourceLocation texture,
java.lang.String outputLocation)
Applies this palette map to the given texture, i.e.
|
ChiseledTextureProvider.PaletteMap |
ignoreMissing()
When the palette map is applied, any pixels with missing colors will be kept.
|
public ChiseledTextureProvider.PaletteMap applyToTexture(net.minecraft.util.ResourceLocation texture, java.lang.String outputLocation)
The mapped texture will be saved at assets/modid/textures/outputLocation.png.
texture - the texture to apply this palette map tooutputLocation - location to save the mapped texture atjava.lang.IllegalArgumentException - when texture is null, or when outputLocation.trim() is null or emptyjava.lang.IllegalStateException - when there is already a texture to be generated for outputLocationpublic ChiseledTextureProvider.PaletteMap ignoreMissing()