Class SpriteIdentifier

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

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

    • COMPARATOR

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

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

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

      @Nullable private @Nullable RenderLayer layer
      Mappings:
      Namespace Name Mixin selector
      official d Lgbi;d:Lfom;
      intermediary field_21771 Lnet/minecraft/class_4730;field_21771:Lnet/minecraft/class_1921;
      named layer Lnet/minecraft/client/util/SpriteIdentifier;layer:Lnet/minecraft/client/render/RenderLayer;
  • Constructor Details

    • SpriteIdentifier

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

    • getAtlasId

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

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

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

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

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

      public VertexConsumer getVertexConsumer(VertexConsumerProvider vertexConsumers, Function<Identifier,RenderLayer> layerFactory, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lgbi;a(Lfoe;Ljava/util/function/Function;Z)Lelt;
      intermediary method_30001 Lnet/minecraft/class_4730;method_30001(Lnet/minecraft/class_4597;Ljava/util/function/Function;Z)Lnet/minecraft/class_4588;
      named getVertexConsumer Lnet/minecraft/client/util/SpriteIdentifier;getVertexConsumer(Lnet/minecraft/client/render/VertexConsumerProvider;Ljava/util/function/Function;Z)Lnet/minecraft/client/render/VertexConsumer;
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object