mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-20 11:09:39 +00: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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user