Package com.unascribed.ears.common.main
Class Alfalfa
java.lang.Object
com.unascribed.ears.common.main.Alfalfa
Extra data stored in the alpha channel of forced-opaque areas.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<EarsCommon.Rectangle>The portions of the skin that are forced opaque, minus the front of the head, to avoid messing up previews in MultiMC and various avatar rendering services.static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AlfalfaDatastatic AlfalfaDatastatic AlfalfaDataread(InputStream in) static voidwrite(AlfalfaData data, WritableEarsImage img) static voidwrite(AlfalfaData data, ByteArrayOutputStream out) static voidwrite(AlfalfaData data, OutputStream out)
-
Field Details
-
ENCODE_REGIONS
The portions of the skin that are forced opaque, minus the front of the head, to avoid messing up previews in MultiMC and various avatar rendering services.- See Also:
-
MAGIC
public static final int MAGIC- See Also:
-
-
Constructor Details
-
Alfalfa
public Alfalfa()
-
-
Method Details
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-
read
-
write
-
read
- Throws:
IOException
-
write
-