/* * Decompiled with CFR 0.152. */ package net.minecraft.client.resources.model; import net.minecraft.client.renderer.block.model.TextureSlots; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.client.resources.model.Material; import net.minecraft.client.resources.model.ModelDebugName; public interface SpriteGetter { public TextureAtlasSprite get(Material var1, ModelDebugName var2); public TextureAtlasSprite reportMissingReference(String var1, ModelDebugName var2); default public TextureAtlasSprite resolveSlot(TextureSlots slots, String id, ModelDebugName name) { Material resolvedMaterial = slots.getMaterial(id); return resolvedMaterial != null ? this.get(resolvedMaterial, name) : this.reportMissingReference(id, name); } }