net.minecraft.server.packs.resources

public class SimpleReloadableResourceManager

implements ReloadableResourceManager

afq
net.minecraft.server.packs.resources.SimpleReloadableResourceManager
net.minecraft.class_3304
net.minecraft.resource.ReloadableResourceManagerImpl
net.minecraft.src.C_85_
net.minecraft.server.packs.resources.ResourceManager

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_14295
LOGGER
f_10869_
private final Map<String, FallbackResourceManager>
b
namespacedPacks
field_14293
namespaceManagers
f_10870_
private final List<PreparableReloadListener>
c
listeners
field_17935
reloaders
f_10871_
private final Set<String>
d
namespaces
field_14292
namespaces
f_10873_
private final List<PackResources>
e
packs
field_25145
packs
f_10874_
private final PackType
f
type
field_14294
type
f_10875_

Constructor summary

ModifierConstructor
public (PackType type)

Method summary

Modifier and TypeMethod
public void
a(aem arg0)
add(PackResources arg0)
method_14475(class_3262 arg0)
addPack(ResourcePack pack)
m_10880_(C_50_ arg0)
public Set<String>
a()
getNamespaces()
method_14487()
getAllNamespaces()
m_7187_()
public Resource
a(yh arg0)
getResource(ResourceLocation arg0)
method_14486(class_2960 arg0)
getResource(Identifier arg0)
m_142591_(C_5265_ arg0)
public boolean
b(yh arg0)
hasResource(ResourceLocation arg0)
method_18234(class_2960 arg0)
containsResource(Identifier arg0)
m_7165_(C_5265_ arg0)
public List<Resource>
c(yh arg0)
getResources(ResourceLocation arg0)
method_14489(class_2960 arg0)
getAllResources(Identifier arg0)
m_7396_(C_5265_ arg0)
public Collection<ResourceLocation>
a(String arg0, Predicate<String> arg1)
listResources(String arg0, Predicate<String> arg1)
method_14488(String arg0, Predicate<String> arg1)
findResources(String arg0, Predicate<String> arg1)
m_6540_(String p_10886_, Predicate<String> arg1)
private void
c()
clear()
method_14495()
clear()
m_10904_()
public void
close()
close()
close()
public void
a(aff arg0)
registerReloadListener(PreparableReloadListener arg0)
method_14477(class_3302 arg0)
registerReloader(ResourceReloader arg0)
m_7217_(C_69_ arg0)
public ReloadInstance
a(Executor arg0, Executor arg1, CompletableFuture<ajn> arg2, List<aem> 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 arg0, Executor arg1, CompletableFuture<Unit> arg2, List<ResourcePack> arg3)
m_142463_(Executor p_143948_, Executor p_143949_, CompletableFuture<C_204_> p_143950_, List<C_50_> arg3)
public Stream<PackResources>
b()
listPacks()
method_29213()
streamResourcePacks()
m_7536_()