Class Stitcher
java.lang.Object
net.minecraft.client.renderer.texture.Stitcher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classstatic classstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Comparator<Stitcher.Holder>private static org.apache.logging.log4j.Loggerprivate intprivate intprivate intprivate List<Stitcher.Region>private intprivate intprivate Set<Stitcher.Holder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanaddToStorage(Stitcher.Holder p_118179_)private booleanexpand(Stitcher.Holder p_118192_)voidgatherSprites(Stitcher.SpriteLoader p_118181_)intintgetWidth()voidregisterSprite(TextureAtlasSprite.Info p_118186_)(package private) static intsmallestFittingMinTexel(int p_118189_, int p_118190_)voidstitch()
-
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_118171_, int p_118172_, int p_118173_)
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
registerSprite
-
stitch
public void stitch() -
gatherSprites
-
smallestFittingMinTexel
static int smallestFittingMinTexel(int p_118189_, int p_118190_) -
addToStorage
-
expand
-