Class Sprite

java.lang.Object
net.minecraft.client.texture.Sprite

@Environment(CLIENT) public class Sprite extends Object
Mappings:
Namespace Name
official fuk
intermediary net/minecraft/class_1058
named net/minecraft/client/texture/Sprite
  • Field Details

    • atlasId

      private final Identifier atlasId
      Mappings:
      Namespace Name Mixin selector
      official a Lfuk;a:Lacq;
      intermediary field_40552 Lnet/minecraft/class_1058;field_40552:Lnet/minecraft/class_2960;
      named atlasId Lnet/minecraft/client/texture/Sprite;atlasId:Lnet/minecraft/util/Identifier;
    • contents

      private final SpriteContents contents
      Mappings:
      Namespace Name Mixin selector
      official b Lfuk;b:Lfue;
      intermediary field_40553 Lnet/minecraft/class_1058;field_40553:Lnet/minecraft/class_7764;
      named contents Lnet/minecraft/client/texture/Sprite;contents:Lnet/minecraft/client/texture/SpriteContents;
    • x

      final int x
      Mappings:
      Namespace Name Mixin selector
      official c Lfuk;c:I
      intermediary field_5258 Lnet/minecraft/class_1058;field_5258:I
      named x Lnet/minecraft/client/texture/Sprite;x:I
    • y

      final int y
      Mappings:
      Namespace Name Mixin selector
      official d Lfuk;d:I
      intermediary field_5256 Lnet/minecraft/class_1058;field_5256:I
      named y Lnet/minecraft/client/texture/Sprite;y:I
    • minU

      private final float minU
      Mappings:
      Namespace Name Mixin selector
      official e Lfuk;e:F
      intermediary field_5270 Lnet/minecraft/class_1058;field_5270:F
      named minU Lnet/minecraft/client/texture/Sprite;minU:F
    • maxU

      private final float maxU
      Mappings:
      Namespace Name Mixin selector
      official f Lfuk;f:F
      intermediary field_5269 Lnet/minecraft/class_1058;field_5269:F
      named maxU Lnet/minecraft/client/texture/Sprite;maxU:F
    • minV

      private final float minV
      Mappings:
      Namespace Name Mixin selector
      official g Lfuk;g:F
      intermediary field_5268 Lnet/minecraft/class_1058;field_5268:F
      named minV Lnet/minecraft/client/texture/Sprite;minV:F
    • maxV

      private final float maxV
      Mappings:
      Namespace Name Mixin selector
      official h Lfuk;h:F
      intermediary field_5267 Lnet/minecraft/class_1058;field_5267:F
      named maxV Lnet/minecraft/client/texture/Sprite;maxV:F
  • Constructor Details

    • Sprite

      protected Sprite(Identifier atlasId, SpriteContents contents, int atlasWidth, int atlasHeight, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfuk;<init>(Lacq;Lfue;IIII)V
      intermediary <init> Lnet/minecraft/class_1058;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_7764;IIII)V
      named <init> Lnet/minecraft/client/texture/Sprite;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/texture/SpriteContents;IIII)V
  • Method Details

    • getX

      public int getX()
      Mappings:
      Namespace Name Mixin selector
      official a Lfuk;a()I
      intermediary method_35806 Lnet/minecraft/class_1058;method_35806()I
      named getX Lnet/minecraft/client/texture/Sprite;getX()I
    • getY

      public int getY()
      Mappings:
      Namespace Name Mixin selector
      official b Lfuk;b()I
      intermediary method_35807 Lnet/minecraft/class_1058;method_35807()I
      named getY Lnet/minecraft/client/texture/Sprite;getY()I
    • getMinU

      public float getMinU()
      Mappings:
      Namespace Name Mixin selector
      official c Lfuk;c()F
      intermediary method_4594 Lnet/minecraft/class_1058;method_4594()F
      named getMinU Lnet/minecraft/client/texture/Sprite;getMinU()F
    • getMaxU

      public float getMaxU()
      Mappings:
      Namespace Name Mixin selector
      official d Lfuk;d()F
      intermediary method_4577 Lnet/minecraft/class_1058;method_4577()F
      named getMaxU Lnet/minecraft/client/texture/Sprite;getMaxU()F
    • getContents

      public SpriteContents getContents()
      Mappings:
      Namespace Name Mixin selector
      official e Lfuk;e()Lfue;
      intermediary method_45851 Lnet/minecraft/class_1058;method_45851()Lnet/minecraft/class_7764;
      named getContents Lnet/minecraft/client/texture/Sprite;getContents()Lnet/minecraft/client/texture/SpriteContents;
    • createAnimation

      @Nullable public @Nullable Sprite.TickableAnimation createAnimation()
      Mappings:
      Namespace Name Mixin selector
      official f Lfuk;f()Lfuk$a;
      intermediary method_33437 Lnet/minecraft/class_1058;method_33437()Lnet/minecraft/class_1058$class_7770;
      named createAnimation Lnet/minecraft/client/texture/Sprite;createAnimation()Lnet/minecraft/client/texture/Sprite$TickableAnimation;
    • getFrameU

      public float getFrameU(double frame)
      Mappings:
      Namespace Name Mixin selector
      official a Lfuk;a(D)F
      intermediary method_4580 Lnet/minecraft/class_1058;method_4580(D)F
      named getFrameU Lnet/minecraft/client/texture/Sprite;getFrameU(D)F
    • method_35804

      public float method_35804(float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lfuk;a(F)F
      intermediary method_35804 Lnet/minecraft/class_1058;method_35804(F)F
      named method_35804 Lnet/minecraft/client/texture/Sprite;method_35804(F)F
    • getMinV

      public float getMinV()
      Mappings:
      Namespace Name Mixin selector
      official g Lfuk;g()F
      intermediary method_4593 Lnet/minecraft/class_1058;method_4593()F
      named getMinV Lnet/minecraft/client/texture/Sprite;getMinV()F
    • getMaxV

      public float getMaxV()
      Mappings:
      Namespace Name Mixin selector
      official h Lfuk;h()F
      intermediary method_4575 Lnet/minecraft/class_1058;method_4575()F
      named getMaxV Lnet/minecraft/client/texture/Sprite;getMaxV()F
    • getFrameV

      public float getFrameV(double frame)
      Mappings:
      Namespace Name Mixin selector
      official b Lfuk;b(D)F
      intermediary method_4570 Lnet/minecraft/class_1058;method_4570(D)F
      named getFrameV Lnet/minecraft/client/texture/Sprite;getFrameV(D)F
    • method_35805

      public float method_35805(float float2)
      Mappings:
      Namespace Name Mixin selector
      official b Lfuk;b(F)F
      intermediary method_35805 Lnet/minecraft/class_1058;method_35805(F)F
      named method_35805 Lnet/minecraft/client/texture/Sprite;method_35805(F)F
    • getAtlasId

      public Identifier getAtlasId()
      Mappings:
      Namespace Name Mixin selector
      official i Lfuk;i()Lacq;
      intermediary method_45852 Lnet/minecraft/class_1058;method_45852()Lnet/minecraft/class_2960;
      named getAtlasId Lnet/minecraft/client/texture/Sprite;getAtlasId()Lnet/minecraft/util/Identifier;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • upload

      public void upload()
      Mappings:
      Namespace Name Mixin selector
      official j Lfuk;j()V
      intermediary method_4584 Lnet/minecraft/class_1058;method_4584()V
      named upload Lnet/minecraft/client/texture/Sprite;upload()V
    • getFrameDeltaFactor

      private float getFrameDeltaFactor()
      Mappings:
      Namespace Name Mixin selector
      official l Lfuk;l()F
      intermediary method_23841 Lnet/minecraft/class_1058;method_23841()F
      named getFrameDeltaFactor Lnet/minecraft/client/texture/Sprite;getFrameDeltaFactor()F
    • getAnimationFrameDelta

      public float getAnimationFrameDelta()
      Mappings:
      Namespace Name Mixin selector
      official k Lfuk;k()F
      intermediary method_23842 Lnet/minecraft/class_1058;method_23842()F
      named getAnimationFrameDelta Lnet/minecraft/client/texture/Sprite;getAnimationFrameDelta()F
    • getTextureSpecificVertexConsumer

      public VertexConsumer getTextureSpecificVertexConsumer(VertexConsumer consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lfuk;a(Leif;)Leif;
      intermediary method_24108 Lnet/minecraft/class_1058;method_24108(Lnet/minecraft/class_4588;)Lnet/minecraft/class_4588;
      named getTextureSpecificVertexConsumer Lnet/minecraft/client/texture/Sprite;getTextureSpecificVertexConsumer(Lnet/minecraft/client/render/VertexConsumer;)Lnet/minecraft/client/render/VertexConsumer;