net.minecraft.client.gui.render

public class GuiItemAtlas

implements AutoCloseable

net.minecraft.client.gui.render.GuiItemAtlas
net.minecraft.class_1_201
net.minecraft.client.gui.render.GuiItemAtlas

Field summary

Modifier and TypeField
private static final int
MINIMUM_TEXTURE_SIZE
field_1_1453
MIN_TEXTURE_SIZE
private final OrderedRenderCommandQueueImpl
submitNodeStorage
field_1_1462
queue
private final RenderDispatcher
featureRenderDispatcher
field_1_1458
dispatcher
private final int
textureSize
field_1_1464
atlasSize
private final int
slotTextureSize
field_1_1461
itemSpriteSize
private final GpuTexture
texture
field_1_1463
colorTexture
private final GpuTextureView
textureView
field_1_1465
colorTextureView
private final GpuTexture
depthTexture
field_1_1456
depthTexture
private final GpuTextureView
depthTextureView
field_1_1457
depthTextureView
private final GuiAtlasSlotAllocator<Object>
allocator
field_1_1454
slots
private final MatrixStack
poseStack
field_1_1459
matrixStack
private final ProjectionMatrix3
projection
field_1_1832
projection
private final ProjectionMatrixBuffer
projectionMatrixBuffer
field_1_1460
projectionBuffer

Constructor summary

ModifierConstructor
public (RenderDispatcher dispatcher, int atlasSize, int itemSpriteSize)

Method summary

Modifier and TypeMethod
public static int
computeTextureSizeFor(int slotTextureSize, int requiredSlotCount)
method_1_1734(int arg0, int arg1)
getRequiredAtlasSize(int itemSpriteSize, int numItemModels)
public void
endFrame()
method_1_1736()
freeAnimatedSprites()
public boolean
tryPrepareFor(Set<Object> items)
method_1_1739(Set<Object> arg0)
tryFitKeys(Set<Object> keys)
public GuiItemAtlas$Region
getOrUpdate(TrackingItemStackRenderState item)
method_1_1737(class_11540 arg0)
allocateRegion(KeyedItemRenderState state)
private void
drawToSlot(int slotX, int slotY, boolean clear, ItemStackRenderState item)
method_1_1735(int arg0, int arg1, boolean arg2, class_10444 arg3)
uploadSprite(int slotX, int slotY, boolean clearTextures, ItemRenderState state)
public int
textureSize()
method_1_1738()
getAtlasSize()
public void
close()
private static String
lambda$drawToSlot$0()
method_1_7357()
method_1_7357()