public class ImageData extends Object
| Constructor and Description |
|---|
ImageData() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkLegacyCapeSize() |
void |
checkLegacySkinSize() |
static ImageData |
from(BufferedImage image) |
static ImageData |
of(byte[] image) |
static ImageData |
of(int width,
int height,
byte[] image) |
public static final ImageData EMPTY
public static ImageData of(int width, int height, byte[] image)
public static ImageData of(byte[] image)
public void checkLegacySkinSize()
public void checkLegacyCapeSize()
public static ImageData from(BufferedImage image)
Copyright © 2018–2022 NukkitX. All rights reserved.