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 intheightprivate List<TextureStitcher.Slot>subSlotsprivate TextureStitcher.Holdertextureprivate intwidthprivate intxprivate inty -
Constructor Summary
Constructors Constructor Description Slot(int x, int y, int width, int height) -
Method Summary
Modifier and Type Method Description voidaddAllFilledSlots(Consumer<TextureStitcher.Slot> consumer)booleanfit(TextureStitcher.Holder holder)TextureStitcher.HoldergetTexture()intgetX()intgetY()StringtoString()
-
Field Details
-
Constructor Details
-
Slot
public Slot(int x, int y, int width, int height)
-
-
Method Details
-
getTexture
-
getX
public int getX() -
getY
public int getY() -
fit
-
addAllFilledSlots
-
toString
-