Class TextureStitcher.Slot<T extends TextureStitcher.Stitchable>

java.lang.Object
net.minecraft.client.texture.TextureStitcher.Slot<T>
Enclosing class:
TextureStitcher<T extends TextureStitcher.Stitchable>

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

    • x

      private final int x
      Mappings:
      Namespace Name Mixin selector
      official a Lfsz$c;a:I
      intermediary field_5253 Lnet/minecraft/class_1055$class_1057;field_5253:I
      named x Lnet/minecraft/client/texture/TextureStitcher$Slot;x:I
    • y

      private final int y
      Mappings:
      Namespace Name Mixin selector
      official b Lfsz$c;b:I
      intermediary field_5252 Lnet/minecraft/class_1055$class_1057;field_5252:I
      named y Lnet/minecraft/client/texture/TextureStitcher$Slot;y:I
    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      official c Lfsz$c;c:I
      intermediary field_5251 Lnet/minecraft/class_1055$class_1057;field_5251:I
      named width Lnet/minecraft/client/texture/TextureStitcher$Slot;width:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      official d Lfsz$c;d:I
      intermediary field_5250 Lnet/minecraft/class_1055$class_1057;field_5250:I
      named height Lnet/minecraft/client/texture/TextureStitcher$Slot;height:I
    • subSlots

      Mappings:
      Namespace Name Mixin selector
      official e Lfsz$c;e:Ljava/util/List;
      intermediary field_5255 Lnet/minecraft/class_1055$class_1057;field_5255:Ljava/util/List;
      named subSlots Lnet/minecraft/client/texture/TextureStitcher$Slot;subSlots:Ljava/util/List;
    • texture

      Mappings:
      Namespace Name Mixin selector
      official f Lfsz$c;f:Lfsz$b;
      intermediary field_5254 Lnet/minecraft/class_1055$class_1057;field_5254:Lnet/minecraft/class_1055$class_1056;
      named texture Lnet/minecraft/client/texture/TextureStitcher$Slot;texture:Lnet/minecraft/client/texture/TextureStitcher$Holder;
  • Constructor Details

    • Slot

      public Slot(int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfsz$c;<init>(IIII)V
      intermediary <init> Lnet/minecraft/class_1055$class_1057;<init>(IIII)V
      named <init> Lnet/minecraft/client/texture/TextureStitcher$Slot;<init>(IIII)V
  • Method Details

    • getX

      public int getX()
      Mappings:
      Namespace Name Mixin selector
      official a Lfsz$c;a()I
      intermediary method_4569 Lnet/minecraft/class_1055$class_1057;method_4569()I
      named getX Lnet/minecraft/client/texture/TextureStitcher$Slot;getX()I
    • getY

      public int getY()
      Mappings:
      Namespace Name Mixin selector
      official b Lfsz$c;b()I
      intermediary method_4567 Lnet/minecraft/class_1055$class_1057;method_4567()I
      named getY Lnet/minecraft/client/texture/TextureStitcher$Slot;getY()I
    • fit

      public boolean fit(TextureStitcher.Holder<T> holder)
      Mappings:
      Namespace Name Mixin selector
      official a Lfsz$c;a(Lfsz$b;)Z
      intermediary method_4566 Lnet/minecraft/class_1055$class_1057;method_4566(Lnet/minecraft/class_1055$class_1056;)Z
      named fit Lnet/minecraft/client/texture/TextureStitcher$Slot;fit(Lnet/minecraft/client/texture/TextureStitcher$Holder;)Z
    • addAllFilledSlots

      public void addAllFilledSlots(TextureStitcher.SpriteConsumer<T> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lfsz$c;a(Lfsz$d;)V
      intermediary method_4568 Lnet/minecraft/class_1055$class_1057;method_4568(Lnet/minecraft/class_1055$class_4726;)V
      named addAllFilledSlots Lnet/minecraft/client/texture/TextureStitcher$Slot;addAllFilledSlots(Lnet/minecraft/client/texture/TextureStitcher$SpriteConsumer;)V
    • toString

      public String toString()
      Overrides:
      toString in class Object