* 1.21.4

* Disable making the source jar.
This commit is contained in:
ZekerZhayard authored and GitHub committed 2024-12-23 21:43:38 +08:00
1 parent a9b2484b3e
commit 1cb4cf40b0
93 files changed
+762 -181

No files matched your search

@@ -15,7 +15,7 @@ public class FakeInterfaceManager {
return ((IFakeIResource.V2) resource).open();
}
public static Optional<IResource> IResourceManager_getResource(Object resourceManager, ResourceLocation location) throws IOException {
public static Optional<IResource> IResourceManager_getResource(Object resourceManager, ResourceLocation location) {
return ((IFakeIResourceManager) resourceManager).getResource(location);
}
@@ -31,6 +31,14 @@ public class FakeInterfaceManager {
((IFakeNativeImage) nativeImage).setPixel(x, y, color);
}
public static Object ResourceLocation_getTexture(Object location) {
return ((IFakeResourceLocation) location).customskinloader$getTexture();
}
public static void ResourceLocation_setTexture(Object location, Object texture) {
((IFakeResourceLocation) location).customskinloader$setTexture(texture);
}
public static GameProfile SkinManagerCacheKey_profile(Object skinManagerCacheKey) {
return ((IFakeSkinManagerCacheKey) skinManagerCacheKey).profile();
}