Class SpriteIdentifier

java.lang.Object
net.minecraft.client.util.SpriteIdentifier

@Environment(CLIENT) public class SpriteIdentifier extends Object
Mappings:
Namespace Name
named net/minecraft/client/util/SpriteIdentifier
intermediary net/minecraft/class_4730
official hdt
  • Field Details

    • COMPARATOR

      public static final Comparator<SpriteIdentifier> COMPARATOR
      Mappings:
      Namespace Name Mixin selector
      named COMPARATOR Lnet/minecraft/client/util/SpriteIdentifier;COMPARATOR:Ljava/util/Comparator;
      intermediary field_40566 Lnet/minecraft/class_4730;field_40566:Ljava/util/Comparator;
      official a Lhdt;a:Ljava/util/Comparator;
    • atlas

      private final Identifier atlas
      Mappings:
      Namespace Name Mixin selector
      named atlas Lnet/minecraft/client/util/SpriteIdentifier;atlas:Lnet/minecraft/util/Identifier;
      intermediary field_21769 Lnet/minecraft/class_4730;field_21769:Lnet/minecraft/class_2960;
      official b Lhdt;b:Lalz;
    • texture

      private final Identifier texture
      Mappings:
      Namespace Name Mixin selector
      named texture Lnet/minecraft/client/util/SpriteIdentifier;texture:Lnet/minecraft/util/Identifier;
      intermediary field_21770 Lnet/minecraft/class_4730;field_21770:Lnet/minecraft/class_2960;
      official c Lhdt;c:Lalz;
    • layer

      Mappings:
      Namespace Name Mixin selector
      named layer Lnet/minecraft/client/util/SpriteIdentifier;layer:Lnet/minecraft/client/render/RenderLayer;
      intermediary field_21771 Lnet/minecraft/class_4730;field_21771:Lnet/minecraft/class_1921;
      official d Lhdt;d:Lglu;
  • Constructor Details

    • SpriteIdentifier

      public SpriteIdentifier(Identifier atlas, Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/SpriteIdentifier;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)V
      intermediary <init> Lnet/minecraft/class_4730;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)V
      official <init> Lhdt;<init>(Lalz;Lalz;)V
  • Method Details

    • getAtlasId

      public Identifier getAtlasId()
      Mappings:
      Namespace Name Mixin selector
      named getAtlasId Lnet/minecraft/client/util/SpriteIdentifier;getAtlasId()Lnet/minecraft/util/Identifier;
      intermediary method_24144 Lnet/minecraft/class_4730;method_24144()Lnet/minecraft/class_2960;
      official a Lhdt;a()Lalz;
    • getTextureId

      public Identifier getTextureId()
      Mappings:
      Namespace Name Mixin selector
      named getTextureId Lnet/minecraft/client/util/SpriteIdentifier;getTextureId()Lnet/minecraft/util/Identifier;
      intermediary method_24147 Lnet/minecraft/class_4730;method_24147()Lnet/minecraft/class_2960;
      official b Lhdt;b()Lalz;
    • getSprite

      public Sprite getSprite()
      Mappings:
      Namespace Name Mixin selector
      named getSprite Lnet/minecraft/client/util/SpriteIdentifier;getSprite()Lnet/minecraft/client/texture/Sprite;
      intermediary method_24148 Lnet/minecraft/class_4730;method_24148()Lnet/minecraft/class_1058;
      official c Lhdt;c()Lhbk;
    • getRenderLayer

      public RenderLayer getRenderLayer(Function<Identifier,RenderLayer> layerFactory)
      Mappings:
      Namespace Name Mixin selector
      named getRenderLayer Lnet/minecraft/client/util/SpriteIdentifier;getRenderLayer(Ljava/util/function/Function;)Lnet/minecraft/client/render/RenderLayer;
      intermediary method_24146 Lnet/minecraft/class_4730;method_24146(Ljava/util/function/Function;)Lnet/minecraft/class_1921;
      official a Lhdt;a(Ljava/util/function/Function;)Lglu;
    • getVertexConsumer

      public VertexConsumer getVertexConsumer(VertexConsumerProvider vertexConsumers, Function<Identifier,RenderLayer> layerFactory)
      Mappings:
      Namespace Name Mixin selector
      named getVertexConsumer Lnet/minecraft/client/util/SpriteIdentifier;getVertexConsumer(Lnet/minecraft/client/render/VertexConsumerProvider;Ljava/util/function/Function;)Lnet/minecraft/client/render/VertexConsumer;
      intermediary method_24145 Lnet/minecraft/class_4730;method_24145(Lnet/minecraft/class_4597;Ljava/util/function/Function;)Lnet/minecraft/class_4588;
      official a Lhdt;a(Lglk;Ljava/util/function/Function;)Lfgv;
    • getVertexConsumer

      public VertexConsumer getVertexConsumer(VertexConsumerProvider vertexConsumers, Function<Identifier,RenderLayer> layerFactory, boolean solid, boolean glint)
      Mappings:
      Namespace Name Mixin selector
      named getVertexConsumer Lnet/minecraft/client/util/SpriteIdentifier;getVertexConsumer(Lnet/minecraft/client/render/VertexConsumerProvider;Ljava/util/function/Function;ZZ)Lnet/minecraft/client/render/VertexConsumer;
      intermediary method_30001 Lnet/minecraft/class_4730;method_30001(Lnet/minecraft/class_4597;Ljava/util/function/Function;ZZ)Lnet/minecraft/class_4588;
      official a Lhdt;a(Lglk;Ljava/util/function/Function;ZZ)Lfgv;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/client/util/SpriteIdentifier;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4730;equals(Ljava/lang/Object;)Z
      official equals Lhdt;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object