mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-21 04:32:36 +00:00
21 lines
793 B
Java
21 lines
793 B
Java
package customskinloader.fake.itf;
|
|
|
|
import net.minecraft.client.renderer.texture.ITextureObject;
|
|
import net.minecraft.client.renderer.texture.Texture;
|
|
import net.minecraft.client.renderer.texture.TextureManager;
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
public interface IFakeTextureManager_1 {
|
|
default boolean func_229263_a_(ResourceLocation textureLocation, Texture textureObj) {
|
|
return ((TextureManager) this).loadTexture(textureLocation, (ITextureObject) textureObj);
|
|
}
|
|
|
|
default Texture func_229267_b_(ResourceLocation textureLocation) {
|
|
return (Texture) ((TextureManager) this).getTexture(textureLocation);
|
|
}
|
|
|
|
default Texture getTexture(ResourceLocation textureLocation, Texture textureObj) {
|
|
return func_229267_b_(textureLocation);
|
|
}
|
|
}
|