Fix elytra can not be rendered when the cape doesn't contain elytra. (#160)

* Fix elytra can not be rendered when the cape doesn't contain elytra.

* Fix typo.

* Streamline IFakeThreadDownloadImageData.

* Fix wrong arguments.

* Add compatible with other custom player model mods, such as tr7zw/FirstPersonModel
This commit is contained in:
ZekerZhayard authored and GitHub committed 2021-05-07 17:15:45 +08:00
1 parent d5dea652ff
commit 3e001c4cdf
30 files changed
+381 -21

No files matched your search

@@ -0,0 +1,12 @@
package customskinloader.fake.itf;
import java.awt.image.BufferedImage;
// This interface is only available before 1.12.2
public interface IFakeThreadDownloadImageData {
/**
* Reset {@link net.minecraft.client.renderer.ThreadDownloadImageData#bufferedImage} and
* {@link net.minecraft.client.renderer.ThreadDownloadImageData#textureUploaded} to false to refresh texture.
*/
void resetNewBufferedImage(BufferedImage image);
}