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
-
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 -
y
private final int y -
width
private final int width -
height
private final int height -
subSlots
-
texture
-
-
Constructor Details
-
Slot
public Slot(int x, int y, int width, int height)
-
-
Method Details