net.minecraft.server.packs.resources

public class FallbackResourceManager

implements ResourceManager

ahm
net.minecraft.server.packs.resources.FallbackResourceManager
net.minecraft.class_3294
net.minecraft.unmapped.C_aejwawvo
net.minecraft.resource.NamespaceResourceManager
net.minecraft.resource.NamespaceResourceManager
net.minecraft.src.C_67_
net.minecraft.server.packs.resources.ResourceManagerFallback

Field summary

Modifier and TypeField
static final org.slf4j.Logger
b
LOGGER
field_14285
f_kjauerau
LOGGER
LOGGER
f_10600_
protected final List<FallbackResourceManager$PackEntry>
a
fallbacks
field_14283
f_govyslen
packList
packs
f_10599_
final PackType
c
type
field_14284
f_osjnoqaz
type
type
f_10601_
private final String
d
namespace
field_21561
f_htppxffx
namespace
namespace
f_10602_

Constructor summary

ModifierConstructor
public (PackType type, String namespace)

Method summary

Modifier and TypeMethod
public void
a(agt arg0)
push(PackResources arg0)
method_24233(class_3262 arg0)
m_hkrcaact(C_tguinuvn arg0)
addPack(ResourcePack pack)
addPack(ResourcePack pack)
m_215377_(C_50_ arg0)
public void
a(agt arg0, Predicate<aaj> arg1)
push(PackResources arg0, Predicate<ResourceLocation> arg1)
method_41256(class_3262 arg0, Predicate<class_2960> arg1)
m_dyzgrmts(C_tguinuvn arg0, Predicate<C_ncpywfca> arg1)
addPack(ResourcePack pack, Predicate<Identifier> filter)
addPack(ResourcePack pack, Predicate<Identifier> filter)
m_215382_(C_50_ p_215384_, Predicate<C_5265_> arg1)
public void
a(String arg0, Predicate<aaj> arg1)
pushFilterOnly(String arg0, Predicate<ResourceLocation> arg1)
method_41261(String arg0, Predicate<class_2960> arg1)
m_qgiogzsf(String arg0, Predicate<C_ncpywfca> arg1)
addPack(String name, Predicate<Identifier> filter)
addPack(String name, Predicate<Identifier> filter)
m_215399_(String p_215401_, Predicate<C_5265_> arg1)
private void
a(String arg0, agt arg1, Predicate<aaj> arg2)
pushInternal(String arg0, PackResources arg1, Predicate<ResourceLocation> arg2)
method_41260(String arg0, class_3262 arg1, Predicate<class_2960> arg2)
m_qenaqzow(String arg0, C_tguinuvn arg1, Predicate<C_ncpywfca> arg2)
addPack(String name, ResourcePack underlyingPack, Predicate<Identifier> filter)
addPack(String name, ResourcePack pack, Predicate<Identifier> filter)
m_215395_(String p_215397_, C_50_ p_215398_, Predicate<C_5265_> arg2)
public Set<String>
a()
getNamespaces()
method_14487()
m_sqceqlye()
getAllNamespaces()
getAllNamespaces()
m_7187_()
public Optional<Resource>
getResource(aaj arg0)
getResource(ResourceLocation arg0)
method_14486(class_2960 arg0)
getResource(Identifier arg0)
m_213713_(C_5265_ arg0)
Resource$IoSupplier<InputStream>
a(aaj arg0, agt arg1)
createResourceGetter(ResourceLocation arg0, PackResources arg1)
method_14476(class_2960 arg0, class_3262 arg1)
m_ohdljgra(C_ncpywfca arg0, C_tguinuvn arg1)
createOpener(Identifier id, ResourcePack pack)
getResourceInputStreamSupplier(Identifier path, ResourcePack pack)
m_215374_(C_5265_ p_215376_, C_50_ arg1)
private boolean
c(aaj arg0)
isValidLocation(ResourceLocation arg0)
method_18221(class_2960 arg0)
m_mclnoqyz(C_ncpywfca arg0)
isPathAbsolute(Identifier id)
isPathAbsolute(Identifier id)
m_10628_(C_5265_ arg0)
public List<Resource>
a(aaj arg0)
getResourceStack(ResourceLocation arg0)
method_14489(class_2960 arg0)
m_bdnlykma(C_ncpywfca arg0)
getAllResources(Identifier arg0)
getAllResources(Identifier arg0)
m_213829_(C_5265_ arg0)
public Map<ResourceLocation, Resource>
b(String arg0, Predicate<aaj> arg1)
listResources(String arg0, Predicate<ResourceLocation> arg1)
method_14488(String arg0, Predicate<class_2960> arg1)
m_gcahcamt(String arg0, Predicate<C_ncpywfca> arg1)
findResources(String arg0, Predicate<Identifier> arg1)
findResources(String arg0, Predicate<Identifier> arg1)
m_214159_(String p_215414_, Predicate<C_5265_> arg1)
private Resource$IoSupplier<ResourceMetadata>
a(aaj arg0, int arg1)
createStackMetadataFinder(ResourceLocation arg0, int arg1)
method_43035(class_2960 arg0, int arg1)
m_pbwncwwu(C_ncpywfca arg0, int arg1)
createMetadataSupplier(Identifier id, int index)
getMetadataReader(Identifier path, int packIndex)
m_215368_(C_5265_ p_215370_, int arg1)
private static void
a(ahm$c arg0, Map<aaj, ahm$a> arg1)
applyPackFiltersToExistingResources(FallbackResourceManager$PackEntry arg0, Map<ResourceLocation, FallbackResourceManager$EntryStack> arg1)
method_41259(class_3294$class_7082 arg0, Map<class_2960, class_3294$class_7081> arg1)
m_wouyhykl(C_aejwawvo$C_vpsqfwkd arg0, Map<C_ncpywfca, C_aejwawvo$C_ffuwstjy> arg1)
applyFilter(NamespaceResourceManager$FilterablePack pack, Map<Identifier, NamespaceResourceManager$EntryList> idToEntryList)
applyResourceFiltersToResources(NamespaceResourceManager$PackEntry pack, Map<Identifier, NamespaceResourceManager$ResourceEntries> resources)
m_215392_(C_212944_ p_215393_, Map<C_5265_, C_212943_> p_215394_)
private void
a(ahm$c arg0, String arg1, Predicate<aaj> arg2, Map<aaj, ahm$a> arg3)
listPackResources(FallbackResourceManager$PackEntry arg0, String arg1, Predicate<ResourceLocation> arg2, Map<ResourceLocation, FallbackResourceManager$EntryStack> arg3)
method_41258(class_3294$class_7082 arg0, String arg1, Predicate<class_2960> arg2, Map<class_2960, class_3294$class_7081> arg3)
m_hntltsni(C_aejwawvo$C_vpsqfwkd arg0, String arg1, Predicate<C_ncpywfca> arg2, Map<C_ncpywfca, C_aejwawvo$C_ffuwstjy> arg3)
findAndAdd(NamespaceResourceManager$FilterablePack pack, String startingPath, Predicate<Identifier> allowedPathPredicate, Map<Identifier, NamespaceResourceManager$EntryList> idToEntryList)
findResourcesOf(NamespaceResourceManager$PackEntry pack, String startingPath, Predicate<Identifier> pathFilter, Map<Identifier, NamespaceResourceManager$ResourceEntries> resources)
m_215387_(C_212944_ p_215389_, String p_215390_, Predicate<C_5265_> p_215391_, Map<C_5265_, C_212943_> arg3)
public Map<ResourceLocation, List<Resource>>
c(String arg0, Predicate<aaj> arg1)
listResourceStacks(String arg0, Predicate<ResourceLocation> arg1)
method_41265(String arg0, Predicate<class_2960> arg1)
m_cctjvulo(String arg0, Predicate<C_ncpywfca> arg1)
findAllResources(String arg0, Predicate<Identifier> arg1)
findAllResources(String arg0, Predicate<Identifier> arg1)
m_214160_(String p_215417_, Predicate<C_5265_> arg1)
public Stream<PackResources>
b()
listPacks()
method_29213()
m_esahrnwm()
streamResourcePacks()
streamResourcePacks()
m_7536_()
static ResourceLocation
b(aaj arg0)
getMetadataLocation(ResourceLocation arg0)
method_14473(class_2960 arg0)
m_aycxhzro(C_ncpywfca arg0)
getMetadataPath(Identifier id)
getMetadataPath(Identifier id)
m_10624_(C_5265_ p_10625_)