Class Stitcher<T extends Stitcher.Entry>
java.lang.Object
net.minecraft.client.renderer.texture.Stitcher<T>
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface(package private) static final recordStitcher.Holder<T extends Stitcher.Entry>static classStitcher.Region<T extends Stitcher.Entry>static interfaceStitcher.SpriteLoader<T extends Stitcher.Entry> - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Comparator<Stitcher.Holder<?>>private static final org.slf4j.Loggerprivate final intprivate final intprivate final intprivate final List<Stitcher.Region<T>>private intprivate intprivate final List<Stitcher.Holder<T>> - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate booleanaddToStorage(Stitcher.Holder<T> p_118179_) private booleanexpand(Stitcher.Holder<T> p_118192_) voidgatherSprites(Stitcher.SpriteLoader<T> p_118181_) intintgetWidth()voidregisterSprite(T p_249253_) (package private) static intsmallestFittingMinTexel(int p_118189_, int p_118190_) voidstitch() 
- 
Field Details
- 
LOGGER
private static final org.slf4j.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
 
 -