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
named net/minecraft/client/texture/TextureStitcher$Slot
intermediary net/minecraft/class_1055$class_1057
official gpn$c
  • Field Details

    • x

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

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

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

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

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

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

    • Slot

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

    • getX

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

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

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

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

      public String toString()
      Overrides:
      toString in class Object