Class TextureStitcher<T extends TextureStitcher.Stitchable>

java.lang.Object
net.minecraft.client.texture.TextureStitcher<T>

@Environment(CLIENT) public class TextureStitcher<T extends TextureStitcher.Stitchable> extends Object
Mappings:
Namespace Name
named net/minecraft/client/texture/TextureStitcher
intermediary net/minecraft/class_1055
official gpn
  • Field Details

    • COMPARATOR

      private static final Comparator<TextureStitcher.Holder<?>> COMPARATOR
      Mappings:
      Namespace Name Mixin selector
      named COMPARATOR Lnet/minecraft/client/texture/TextureStitcher;COMPARATOR:Ljava/util/Comparator;
      intermediary field_18030 Lnet/minecraft/class_1055;field_18030:Ljava/util/Comparator;
      official a Lgpn;a:Ljava/util/Comparator;
    • mipLevel

      private final int mipLevel
      Mappings:
      Namespace Name Mixin selector
      named mipLevel Lnet/minecraft/client/texture/TextureStitcher;mipLevel:I
      intermediary field_5243 Lnet/minecraft/class_1055;field_5243:I
      official b Lgpn;b:I
    • holders

      private final List<TextureStitcher.Holder<T extends TextureStitcher.Stitchable>> holders
      Mappings:
      Namespace Name Mixin selector
      named holders Lnet/minecraft/client/texture/TextureStitcher;holders:Ljava/util/List;
      intermediary field_5237 Lnet/minecraft/class_1055;field_5237:Ljava/util/List;
      official c Lgpn;c:Ljava/util/List;
    • slots

      private final List<TextureStitcher.Slot<T extends TextureStitcher.Stitchable>> slots
      Mappings:
      Namespace Name Mixin selector
      named slots Lnet/minecraft/client/texture/TextureStitcher;slots:Ljava/util/List;
      intermediary field_5239 Lnet/minecraft/class_1055;field_5239:Ljava/util/List;
      official d Lgpn;d:Ljava/util/List;
    • width

      private int width
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/client/texture/TextureStitcher;width:I
      intermediary field_5242 Lnet/minecraft/class_1055;field_5242:I
      official e Lgpn;e:I
    • height

      private int height
      Mappings:
      Namespace Name Mixin selector
      named height Lnet/minecraft/client/texture/TextureStitcher;height:I
      intermediary field_5241 Lnet/minecraft/class_1055;field_5241:I
      official f Lgpn;f:I
    • maxWidth

      private final int maxWidth
      Mappings:
      Namespace Name Mixin selector
      named maxWidth Lnet/minecraft/client/texture/TextureStitcher;maxWidth:I
      intermediary field_5240 Lnet/minecraft/class_1055;field_5240:I
      official g Lgpn;g:I
    • maxHeight

      private final int maxHeight
      Mappings:
      Namespace Name Mixin selector
      named maxHeight Lnet/minecraft/client/texture/TextureStitcher;maxHeight:I
      intermediary field_5238 Lnet/minecraft/class_1055;field_5238:I
      official h Lgpn;h:I
  • Constructor Details

    • TextureStitcher

      public TextureStitcher(int maxWidth, int maxHeight, int mipLevel)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/texture/TextureStitcher;<init>(III)V
      intermediary <init> Lnet/minecraft/class_1055;<init>(III)V
      official <init> Lgpn;<init>(III)V
  • Method Details

    • getWidth

      public int getWidth()
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lnet/minecraft/client/texture/TextureStitcher;getWidth()I
      intermediary method_4554 Lnet/minecraft/class_1055;method_4554()I
      official a Lgpn;a()I
    • getHeight

      public int getHeight()
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/client/texture/TextureStitcher;getHeight()I
      intermediary method_4555 Lnet/minecraft/class_1055;method_4555()I
      official b Lgpn;b()I
    • add

      public void add(T info)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/client/texture/TextureStitcher;add(Lnet/minecraft/client/texture/TextureStitcher$Stitchable;)V
      intermediary method_4553 Lnet/minecraft/class_1055;method_4553(Lnet/minecraft/class_1055$class_7769;)V
      official a Lgpn;a(Lgpn$a;)V
    • stitch

      public void stitch()
      Mappings:
      Namespace Name Mixin selector
      named stitch Lnet/minecraft/client/texture/TextureStitcher;stitch()V
      intermediary method_4557 Lnet/minecraft/class_1055;method_4557()V
      official c Lgpn;c()V
    • getStitchedSprites

      public void getStitchedSprites(TextureStitcher.SpriteConsumer<T> consumer)
      Mappings:
      Namespace Name Mixin selector
      named getStitchedSprites Lnet/minecraft/client/texture/TextureStitcher;getStitchedSprites(Lnet/minecraft/client/texture/TextureStitcher$SpriteConsumer;)V
      intermediary method_4549 Lnet/minecraft/class_1055;method_4549(Lnet/minecraft/class_1055$class_4726;)V
      official a Lgpn;a(Lgpn$d;)V
    • applyMipLevel

      static int applyMipLevel(int size, int mipLevel)
      Mappings:
      Namespace Name Mixin selector
      named applyMipLevel Lnet/minecraft/client/texture/TextureStitcher;applyMipLevel(II)I
      intermediary method_4551 Lnet/minecraft/class_1055;method_4551(II)I
      official a Lgpn;a(II)I
    • fit

      private boolean fit(TextureStitcher.Holder<T> holder)
      Mappings:
      Namespace Name Mixin selector
      named fit Lnet/minecraft/client/texture/TextureStitcher;fit(Lnet/minecraft/client/texture/TextureStitcher$Holder;)Z
      intermediary method_4550 Lnet/minecraft/class_1055;method_4550(Lnet/minecraft/class_1055$class_1056;)Z
      official a Lgpn;a(Lgpn$b;)Z
    • growAndFit

      private boolean growAndFit(TextureStitcher.Holder<T> holder)
      Mappings:
      Namespace Name Mixin selector
      named growAndFit Lnet/minecraft/client/texture/TextureStitcher;growAndFit(Lnet/minecraft/client/texture/TextureStitcher$Holder;)Z
      intermediary method_4552 Lnet/minecraft/class_1055;method_4552(Lnet/minecraft/class_1055$class_1056;)Z
      official b Lgpn;b(Lgpn$b;)Z