Class TextureStitcher.Slot

java.lang.Object
net.minecraft.client.texture.TextureStitcher.Slot
Enclosing class:
TextureStitcher

@Environment(CLIENT) public static class TextureStitcher.Slot extends Object
Mappings:
Namespace Name
official eyz$b
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 Leyz$b;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 Leyz$b;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 Leyz$b;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 Leyz$b;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

      private List<TextureStitcher.Slot> subSlots
      Mappings:
      Namespace Name Mixin selector
      official e Leyz$b;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

      private TextureStitcher.Holder texture
      Mappings:
      Namespace Name Mixin selector
      official f Leyz$b;f:Leyz$a;
      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> Leyz$b;<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

    • getTexture

      public TextureStitcher.Holder getTexture()
      Mappings:
      Namespace Name Mixin selector
      official a Leyz$b;a()Leyz$a;
      intermediary method_4565 Lnet/minecraft/class_1055$class_1057;method_4565()Lnet/minecraft/class_1055$class_1056;
      named getTexture Lnet/minecraft/client/texture/TextureStitcher$Slot;getTexture()Lnet/minecraft/client/texture/TextureStitcher$Holder;
    • getX

      public int getX()
      Mappings:
      Namespace Name Mixin selector
      official b Leyz$b;b()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 c Leyz$b;c()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 holder)
      Mappings:
      Namespace Name Mixin selector
      official a Leyz$b;a(Leyz$a;)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(Consumer<TextureStitcher.Slot> slotConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Leyz$b;a(Ljava/util/function/Consumer;)V
      intermediary method_4568 Lnet/minecraft/class_1055$class_1057;method_4568(Ljava/util/function/Consumer;)V
      named addAllFilledSlots Lnet/minecraft/client/texture/TextureStitcher$Slot;addAllFilledSlots(Ljava/util/function/Consumer;)V
    • toString

      public String toString()
      Overrides:
      toString in class Object