Interface SpriteIdentifier

All Known Implementing Classes:
SpriteIdentifierImpl

public interface SpriteIdentifier
Created 29/04/2023 by SuperMartijn642
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.resources.ResourceLocation
     
    net.minecraft.resources.ResourceLocation
     
     
    of(net.minecraft.client.resources.model.Material material)
     
    of(net.minecraft.resources.ResourceLocation atlas, net.minecraft.resources.ResourceLocation texture)
     
    default net.minecraft.client.resources.model.Material
     
  • Method Details

    • of

      static SpriteIdentifier of(net.minecraft.resources.ResourceLocation atlas, net.minecraft.resources.ResourceLocation texture)
    • of

      static SpriteIdentifier of(net.minecraft.client.resources.model.Material material)
    • missing

      static SpriteIdentifier missing()
      Returns:
      the identifier for the missing texture sprite in the block atlas
    • getAtlas

      net.minecraft.resources.ResourceLocation getAtlas()
    • getTexture

      net.minecraft.resources.ResourceLocation getTexture()
    • toMaterial

      default net.minecraft.client.resources.model.Material toMaterial()