Remove: all vanilla editions

This commit is contained in:
ZekerZhayard committed 2023-01-29 22:52:21 +08:00
1 parent c2dad72690
commit 755f7647ed
136 files changed
+113 -1355

No files matched your search

@@ -0,0 +1,20 @@
package customskinloader.fake.itf;
import java.io.IOException;
import java.util.Optional;
import net.minecraft.client.resources.IResourceManager;
import net.minecraft.resources.IResource;
import net.minecraft.util.ResourceLocation;
public interface IFakeIResourceManager {
// 1.13.2 ~ 22w13a
default IResource func_199002_a(ResourceLocation location) throws IOException {
return (IResource) ((IResourceManager) this).getResource(location);
}
// 22w14a+
default Optional getResource(ResourceLocation location) throws IOException {
return Optional.ofNullable(this.func_199002_a(location));
}
}