mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-25 16:54:22 +00:00
14 lines
342 B
Java
14 lines
342 B
Java
package customskinloader.fake.itf;
|
|
|
|
import com.mojang.blaze3d.platform.NativeImage;
|
|
|
|
public interface IFakeNativeImage {
|
|
default int getPixel(int x, int y) {
|
|
return ((NativeImage) this).getPixelRGBA(x, y);
|
|
}
|
|
|
|
default void setPixel(int x, int y, int color) {
|
|
((NativeImage) this).setPixelRGBA(x, y, color);
|
|
}
|
|
}
|