Package net.minecraft.client.texture
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 err$b
intermediary net/minecraft/class_1055$class_1057
named net/minecraft/client/texture/TextureStitcher$Slot
-
Field Summary
Fields Modifier and Type Field Description private int
height
private List<TextureStitcher.Slot>
subSlots
private TextureStitcher.Holder
texture
private int
width
private int
x
private int
y
-
Constructor Summary
Constructors Constructor Description Slot(int x, int y, int width, int height)
-
Method Summary
Modifier and Type Method Description void
addAllFilledSlots(Consumer<TextureStitcher.Slot> consumer)
boolean
fit(TextureStitcher.Holder holder)
TextureStitcher.Holder
getTexture()
int
getX()
int
getY()
String
toString()
-
Field Details
-
x
private final int x- Mappings:
Namespace Name Mixin selector official a
Lerr$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
Lerr$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
Lerr$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
Lerr$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
- Mappings:
Namespace Name Mixin selector official e
Lerr$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
- Mappings:
Namespace Name Mixin selector official f
Lerr$b;f:Lerr$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>
Lerr$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
- Mappings:
Namespace Name Mixin selector official a
Lerr$b;a()Lerr$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
Lerr$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
Lerr$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
- Mappings:
Namespace Name Mixin selector official a
Lerr$b;a(Lerr$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
- Mappings:
Namespace Name Mixin selector official a
Lerr$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
- Overrides:
toString
in classObject
- Mappings:
Namespace Name Mixin selector official toString
Lerr$b;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_1055$class_1057;toString()Ljava/lang/String;
named toString
Lnet/minecraft/client/texture/TextureStitcher$Slot;toString()Ljava/lang/String;
-