net.minecraft.client.texture

public class TextureStitcher<T extends TextureStitcher$Stitchable>

net.minecraft.client.renderer.texture.Stitcher
net.minecraft.class_1055
net.minecraft.client.texture.TextureStitcher

Field summary

Modifier and TypeField
private static final Comparator<TextureStitcher$Holder<?>>
HOLDER_COMPARATOR
field_18030
COMPARATOR
private final int
mipLevel
field_5243
mipLevel
private final List<TextureStitcher$Holder<T>>
texturesToBeStitched
field_5237
holders
private final List<TextureStitcher$Slot<T>>
storage
field_5239
slots
private int
storageX
field_5242
width
private int
storageY
field_5241
height
private final int
maxWidth
field_5240
maxWidth
private final int
maxHeight
field_5238
maxHeight
private final int
padding
field_64242
padding

Constructor summary

ModifierConstructor
public (int maxWidth, int maxHeight, int mipLevel, int anisotropy)

Method summary

Modifier and TypeMethod
public int
getWidth()
method_4554()
getWidth()
public int
getHeight()
method_4555()
getHeight()
public void
registerSprite(T entry)
method_4553(T arg0)
add(T info)
public void
stitch()
method_4557()
stitch()
public void
gatherSprites(Stitcher$SpriteLoader<T> loader)
method_4549(class_1055$class_4726<T> arg0)
getStitchedSprites(TextureStitcher$SpriteConsumer<T> consumer)
private static int
smallestFittingMinTexel(int input, int maxMipLevel)
method_4551(int arg0, int arg1)
applyMipLevel(int size, int mipLevel)
private boolean
addToStorage(Stitcher$Holder<T> holder)
method_4550(class_1055$class_1056<T> arg0)
fit(TextureStitcher$Holder<T> holder)
private boolean
expand(Stitcher$Holder<T> holder)
method_4552(class_1055$class_1056<T> arg0)
growAndFit(TextureStitcher$Holder<T> holder)
private static TextureStitcher$Stitchable
lambda$stitch$0(Stitcher$Holder arg0)
method_21686(class_1055$class_1056 arg0)
method_21686(TextureStitcher$Holder holder)
private static Identifier
lambda$static$2(Stitcher$Holder arg0)
method_18337(class_1055$class_1056 arg0)
method_18337(TextureStitcher$Holder holder)
private static Integer
lambda$static$1(Stitcher$Holder arg0)
method_18338(class_1055$class_1056 arg0)
method_18338(TextureStitcher$Holder holder)
private static Integer
lambda$static$0(Stitcher$Holder arg0)
method_18339(class_1055$class_1056 arg0)
method_18339(TextureStitcher$Holder holder)