CustomFX:

-Now uses image caching
This commit is contained in:
Luis C.M committed 2023-06-01 17:26:42 -05:00
1 parent dd54e46df4
commit a21ce47a60
2 files changed
+36 -63

No files matched your search

@@ -48,6 +48,10 @@ public class ImageData {
return !this.invalid && this.location != null && this.gotWidthHeight;
}
public boolean invalid() {
return this.invalid;
}
public void bindTexture() {
ResourceLocation location = this.getLocation();
if (location != null && !this.invalid) {