net.minecraft.server.packs.resources

public class SimpleReloadableResourceManager

implements ReloadableResourceManager

xn
net.minecraft.server.packs.resources.SimpleReloadableResourceManager
net.minecraft.class_3304
net.minecraft.resource.ReloadableResourceManagerImpl
net.minecraft.resources.SimpleReloadableResourceManager
net.minecraft.server.v1_14_R1.ResourceManager

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_14295
LOGGER
field_199012_a
private final Map<String, FallbackResourceManager>
b
namespacedPacks
field_14293
namespaceManagers
field_199014_c
private final List<PreparableReloadListener>
c
listeners
field_17935
listeners
field_199015_d
private final List<PreparableReloadListener>
d
recentlyRegistered
field_17936
initialListeners
field_219539_d
private final Set<String>
e
namespaces
field_14292
namespaces
field_199016_e
private final PackType
f
type
field_14294
type
field_199017_f
private final Thread
g
mainThread
field_17937
mainThread
field_219540_g

Constructor summary

ModifierConstructor
public (PackType type, Thread mainThread)

Method summary

Modifier and TypeMethod
public void
a(wl arg0)
add(Pack arg0)
method_14475(class_3262 arg0)
addPack(ResourcePack arg0)
func_199021_a(IResourcePack arg0)
public Resource
a(qv arg0)
getResource(ResourceLocation arg0)
method_14486(class_2960 arg0)
getResource(Identifier arg0)
func_199002_a(ResourceLocation arg0)
public List<Resource>
c(qv arg0)
getResources(ResourceLocation arg0)
method_14489(class_2960 arg0)
getAllResources(Identifier arg0)
func_199004_b(ResourceLocation 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)
func_199003_a(String arg0, Predicate<String> arg1)
private void
b()
clear()
method_14495()
clear()
func_199008_b()
public CompletableFuture<Unit>
a(Executor arg0, Executor arg1, List<wl> arg2, CompletableFuture<aag> arg3)
reload(Executor arg0, Executor arg1, List<Pack> arg2, CompletableFuture<Unit> arg3)
method_14478(Executor arg0, Executor arg1, List<class_3262> arg2, CompletableFuture<class_3902> arg3)
beginReload(Executor arg0, Executor arg1, List<ResourcePack> arg2, CompletableFuture<Unit> arg3)
func_219536_a(Executor arg0, Executor arg1, List<IResourcePack> arg2, CompletableFuture<Unit> arg3)
public void
a(xd arg0)
registerReloadListener(PreparableReloadListener arg0)
method_14477(class_3302 arg0)
registerListener(ResourceReloadListener arg0)
func_219534_a(IFutureReloadListener arg0)
protected ReloadInstance
b(Executor arg0, Executor arg1, List<xd> arg2, CompletableFuture<aag> arg3)
createReload(Executor arg0, Executor arg1, List<PreparableReloadListener> arg2, CompletableFuture<Unit> arg3)
method_18240(Executor arg0, Executor arg1, List<class_3302> arg2, CompletableFuture<class_3902> arg3)
beginReloadInner(Executor prepareExecutor, Executor applyExecutor, List<ResourceReloadListener> listeners, CompletableFuture<Unit> initialStage)
func_219538_b(Executor arg0, Executor arg1, List<IFutureReloadListener> arg2, CompletableFuture<Unit> arg3)
public ReloadInstance
a(Executor arg0, Executor arg1, CompletableFuture<aag> arg2, List<wl> arg3)
createFullReload(Executor arg0, Executor arg1, CompletableFuture<Unit> arg2, List<Pack> arg3)
method_18232(Executor arg0, Executor arg1, CompletableFuture<class_3902> arg2, List<class_3262> arg3)
beginMonitoredReload(Executor arg0, Executor arg1, CompletableFuture<Unit> arg2, List<ResourcePack> arg3)
func_219537_a(Executor arg0, Executor arg1, CompletableFuture<Unit> arg2, List<IResourcePack> arg3)
public Set<String>
a()
getNamespaces()
method_14487()
getAllNamespaces()
func_199001_a()
public boolean
b(qv arg0)
hasResource(ResourceLocation arg0)
method_18234(class_2960 arg0)
containsResource(Identifier arg0)
func_219533_b(ResourceLocation arg0)
public ReloadInstance
a(Executor arg0, Executor arg1, CompletableFuture<aag> arg2)
createQueuedReload(Executor arg0, Executor arg1, CompletableFuture<Unit> arg2)
method_18230(Executor arg0, Executor arg1, CompletableFuture<class_3902> arg2)
beginInitialMonitoredReload(Executor arg0, Executor arg1, CompletableFuture<Unit> arg2)
func_219535_a(Executor arg0, Executor arg1, CompletableFuture<Unit> arg2)