net.minecraft.server.packs.resources

public class ReloadableResourceManager

implements ResourceManager, AutoCloseable

avs
net.minecraft.server.packs.resources.ReloadableResourceManager
net.minecraft.class_3304
net.minecraft.resource.ReloadableResourceManagerImpl

Field summary

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

Constructor summary

ModifierConstructor
public (PackType type)

Method summary

Modifier and TypeMethod
public void
close()
close()
public void
a(avp arg0)
registerReloadListener(PreparableReloadListener arg0)
method_14477(class_3302 arg0)
registerReloader(ResourceReloader reloader)
public ReloadInstance
a(Executor arg0, Executor arg1, CompletableFuture<bbk> arg2, List<aug> 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)
public Optional<Resource>
getResource(alz arg0)
getResource(ResourceLocation arg0)
method_14486(class_2960 arg0)
getResource(Identifier arg0)
public Set<String>
a()
getNamespaces()
method_14487()
getAllNamespaces()
public List<Resource>
a(alz arg0)
getResourceStack(ResourceLocation arg0)
method_14489(class_2960 arg0)
getAllResources(Identifier arg0)
public Map<ResourceLocation, Resource>
b(String arg0, Predicate<alz> arg1)
listResources(String arg0, Predicate<ResourceLocation> arg1)
method_14488(String arg0, Predicate<class_2960> arg1)
findResources(String arg0, Predicate<Identifier> arg1)
public Map<ResourceLocation, List<Resource>>
c(String arg0, Predicate<alz> arg1)
listResourceStacks(String arg0, Predicate<ResourceLocation> arg1)
method_41265(String arg0, Predicate<class_2960> arg1)
findAllResources(String arg0, Predicate<Identifier> arg1)
public Stream<PackResources>
b()
listPacks()
method_29213()
streamResourcePacks()