Class Stitcher
java.lang.Object
net.minecraft.client.renderer.texture.Stitcher
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
static interface
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Comparator<Stitcher.Holder>
private static final org.apache.logging.log4j.Logger
private final int
private final int
private final int
private final List<Stitcher.Slot>
private int
private int
private final Set<Stitcher.Holder>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
addToStorage
(Stitcher.Holder p_94310_1_) private boolean
expand
(Stitcher.Holder p_94311_1_) void
gatherSprites
(Stitcher.ISpriteLoader p_229209_1_) int
int
getWidth()
void
registerSprite
(TextureAtlasSprite.Info p_229211_1_) private static int
smallestFittingMinTexel
(int p_147969_0_, int p_147969_1_) void
stitch()
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
HOLDER_COMPARATOR
-
mipLevel
private final int mipLevel -
texturesToBeStitched
-
storage
-
storageX
private int storageX -
storageY
private int storageY -
maxWidth
private final int maxWidth -
maxHeight
private final int maxHeight
-
-
Constructor Details
-
Stitcher
public Stitcher(int p_i50910_1_, int p_i50910_2_, int p_i50910_3_)
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
registerSprite
-
stitch
public void stitch() -
gatherSprites
-
smallestFittingMinTexel
private static int smallestFittingMinTexel(int p_147969_0_, int p_147969_1_) -
addToStorage
-
expand
-