Files
MCCustomSkinLoader/Common/src/main/java/customskinloader/fake/itf/IFakeNativeImage.java
T
2026-05-21 11:31:52 +08:00

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);
}
}