net.minecraft.client.texture

public class TextureManager

implements ResourceReloader, AutoCloseable

net.minecraft.client.renderer.texture.TextureManager
net.minecraft.class_1060
net.minecraft.client.texture.TextureManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_5288
LOGGER
public static final Identifier
INTENTIONAL_MISSING_TEXTURE
field_5285
MISSING_IDENTIFIER
private final Map<Identifier, AbstractTexture>
byPath
field_5286
textures
private final Set<TextureTickListener>
tickableTextures
field_5284
tickListeners
private final ResourceManager
resourceManager
field_5287
resourceContainer

Constructor summary

ModifierConstructor
public (ResourceManager resourceManager)

Method summary

Modifier and TypeMethod
public void
registerAndLoad(Identifier textureId, ReloadableTexture texture)
method_65876(class_2960 arg0, class_10537 arg1)
registerTexture(Identifier id, ReloadableTexture texture)
private TextureContents
loadContentsSafe(Identifier textureId, ReloadableTexture texture)
method_65925(class_2960 arg0, class_10537 arg1)
loadTexture(Identifier id, ReloadableTexture texture)
public void
registerForNextReload(Identifier location)
method_65875(class_2960 arg0)
registerTexture(Identifier id)
public void
register(Identifier location, AbstractTexture texture)
method_4616(class_2960 arg0, class_1044 arg1)
registerTexture(Identifier id, AbstractTexture texture)
private void
safeClose(Identifier id, AbstractTexture texture)
method_30299(class_2960 arg0, class_1044 arg1)
closeTexture(Identifier id, AbstractTexture texture)
public AbstractTexture
getTexture(Identifier location)
method_4619(class_2960 arg0)
getTexture(Identifier id)
public void
tick()
method_76322()
tick()
public void
release(Identifier location)
method_4615(class_2960 arg0)
destroyTexture(Identifier id)
public void
close()
public CompletableFuture<Void>
reload(PreparableReloadListener$SharedState currentReload, Executor taskExecutor, PreparableReloadListener$PreparationBarrier preparationBarrier, Executor reloadExecutor)
method_25931(class_3302$class_11558 arg0, Executor arg1, class_3302$class_4045 arg2, Executor arg3)
reload(ResourceReloader$Store arg0, Executor arg1, ResourceReloader$Synchronizer arg2, Executor arg3)
public void
dumpAllSheets(Path targetDir)
method_49715(Path arg0)
dumpDynamicTextures(Path path)
private static TextureContents
loadContents(ResourceManager manager, Identifier location, ReloadableTexture texture)
method_65877(class_3300 arg0, class_2960 arg1, class_10537 arg2)
loadTexture(ResourceManager resourceManager, Identifier textureId, ReloadableTexture texture)
private static TextureManager$ReloadedTexture
scheduleLoad(ResourceManager manager, Identifier location, ReloadableTexture texture, Executor executor)
method_65878(class_3300 arg0, class_2960 arg1, class_10537 arg2, Executor arg3)
reloadTexture(ResourceManager resourceManager, Identifier textureId, ReloadableTexture texture, Executor prepareExecutor)
private static TextureContents
lambda$scheduleLoad$0(ResourceManager arg0, Identifier arg1, ReloadableTexture arg2)
method_65881(class_3300 arg0, class_2960 arg1, class_10537 arg2)
method_65881(ResourceManager arg0, Identifier arg1, ReloadableTexture arg2)
private static void
lambda$dumpAllSheets$0(Path arg0, Identifier arg1, AbstractTexture arg2)
method_49718(Path arg0, class_2960 arg1, class_1044 arg2)
method_49718(Path arg0, Identifier id, AbstractTexture texture)
private void
lambda$reload$2(List arg0, Void arg1)
method_65880(List arg0, Void arg1)
method_65880(List arg0, Void v)
private static CompletableFuture[]
lambda$reload$1(int arg0)
method_65874(int arg0)
method_65874(int arg0)
private static void
lambda$reload$0(List arg0, ResourceManager arg1, Executor arg2, Identifier arg3, AbstractTexture arg4)
method_65879(List arg0, class_3300 arg1, Executor arg2, class_2960 arg3, class_1044 arg4)
method_65879(List arg0, ResourceManager arg1, Executor arg2, Identifier id, AbstractTexture texture)
private static String
lambda$new$0()
method_68006()
method_68006()