net.minecraft.server.packs.resources

public class ReloadableResourceManager

implements ResourceManager, AutoCloseable

aqf
net.minecraft.server.packs.resources.ReloadableResourceManager
net.minecraft.class_3304
net.minecraft.resource.ReloadableResourceManagerImpl
net.minecraft.src.C_75_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_14295
LOGGER
f_203814_
private CloseableResourceManager
b
resources
field_36391
activeManager
f_203815_
private final List<PreparableReloadListener>
c
listeners
field_17935
reloaders
f_203816_
private final PackType
d
type
field_14294
type
f_203817_

Constructor summary

ModifierConstructor
public (PackType type)

Method summary

Modifier and TypeMethod
public void
close()
close()
close()
public void
a(aqc arg0)
registerReloadListener(PreparableReloadListener arg0)
method_14477(class_3302 arg0)
registerReloader(ResourceReloader reloader)
m_7217_(C_69_ arg0)
public ReloadInstance
a(Executor arg0, Executor arg1, CompletableFuture<avs> arg2, List<aow> arg3)
createReload(Executor arg0, Executor arg1, CompletableFuture<Unit> arg2, List<PackResources> arg3)
method_18232(Executor arg0, Executor arg1, CompletableFuture<class_3902> arg2, List<class_3262> arg3)
reload(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs)
m_142463_(Executor p_143931_, Executor p_143932_, CompletableFuture<C_204_> p_143933_, List<C_50_> arg3)
public Optional<Resource>
getResource(ahg arg0)
getResource(ResourceLocation arg0)
method_14486(class_2960 arg0)
getResource(Identifier arg0)
m_213713_(C_5265_ arg0)
public Set<String>
a()
getNamespaces()
method_14487()
getAllNamespaces()
m_7187_()
public List<Resource>
a(ahg arg0)
getResourceStack(ResourceLocation arg0)
method_14489(class_2960 arg0)
getAllResources(Identifier arg0)
m_213829_(C_5265_ arg0)
public Map<ResourceLocation, Resource>
b(String arg0, Predicate<ahg> arg1)
listResources(String arg0, Predicate<ResourceLocation> arg1)
method_14488(String arg0, Predicate<class_2960> arg1)
findResources(String arg0, Predicate<Identifier> arg1)
m_214159_(String p_215489_, Predicate<C_5265_> arg1)
public Map<ResourceLocation, List<Resource>>
c(String arg0, Predicate<ahg> arg1)
listResourceStacks(String arg0, Predicate<ResourceLocation> arg1)
method_41265(String arg0, Predicate<class_2960> arg1)
findAllResources(String arg0, Predicate<Identifier> arg1)
m_214160_(String p_215492_, Predicate<C_5265_> arg1)
public Stream<PackResources>
b()
listPacks()
method_29213()
streamResourcePacks()
m_7536_()