net.minecraft.server.packs.resources

public class FallbackResourceManager

implements ResourceManager

aie
net.minecraft.server.packs.resources.FallbackResourceManager
net.minecraft.class_3294
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
LOGGER
f_10600_
protected final List<FallbackResourceManager$PackEntry>
a
fallbacks
field_14283
packList
f_10599_
final PackType
c
type
field_14284
type
f_10601_
private final String
d
namespace
field_21561
namespace
f_10602_

Constructor summary

ModifierConstructor
public (PackType type, String namespace)

Method summary

Modifier and TypeMethod
public void
a(ahl arg0)
push(PackResources arg0)
method_24233(class_3262 arg0)
addPack(ResourcePack pack)
m_215377_(C_50_ arg0)
public void
a(ahl arg0, Predicate<abb> arg1)
push(PackResources arg0, Predicate<ResourceLocation> arg1)
method_41256(class_3262 arg0, Predicate<class_2960> arg1)
addPack(ResourcePack pack, Predicate<Identifier> filter)
m_215382_(C_50_ p_215384_, Predicate<C_5265_> arg1)
public void
a(String arg0, Predicate<abb> arg1)
pushFilterOnly(String arg0, Predicate<ResourceLocation> arg1)
method_41261(String arg0, Predicate<class_2960> arg1)
addPack(String name, Predicate<Identifier> filter)
m_215399_(String p_215401_, Predicate<C_5265_> arg1)
private void
a(String arg0, ahl arg1, Predicate<abb> arg2)
pushInternal(String arg0, PackResources arg1, Predicate<ResourceLocation> arg2)
method_41260(String arg0, class_3262 arg1, Predicate<class_2960> arg2)
addPack(String name, ResourcePack underlyingPack, Predicate<Identifier> filter)
m_215395_(String p_215397_, C_50_ p_215398_, Predicate<C_5265_> arg2)
public Set<String>
a()
getNamespaces()
method_14487()
getAllNamespaces()
m_7187_()
public Optional<Resource>
getResource(abb arg0)
getResource(ResourceLocation arg0)
method_14486(class_2960 arg0)
getResource(Identifier arg0)
m_213713_(C_5265_ arg0)
Resource$IoSupplier<InputStream>
a(abb arg0, ahl arg1)
createResourceGetter(ResourceLocation arg0, PackResources arg1)
method_14476(class_2960 arg0, class_3262 arg1)
createOpener(Identifier id, ResourcePack pack)
m_215374_(C_5265_ p_215376_, C_50_ arg1)
private boolean
c(abb arg0)
isValidLocation(ResourceLocation arg0)
method_18221(class_2960 arg0)
isPathAbsolute(Identifier id)
m_10628_(C_5265_ arg0)
public List<Resource>
a(abb 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<abb> 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_215414_, Predicate<C_5265_> arg1)
private Resource$IoSupplier<ResourceMetadata>
a(abb arg0, int arg1)
createStackMetadataFinder(ResourceLocation arg0, int arg1)
method_43035(class_2960 arg0, int arg1)
createMetadataSupplier(Identifier id, int index)
m_215368_(C_5265_ p_215370_, int arg1)
private static void
a(aie$c arg0, Map<abb, aie$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)
applyFilter(NamespaceResourceManager$FilterablePack pack, Map<Identifier, NamespaceResourceManager$EntryList> idToEntryList)
m_215392_(C_212944_ p_215393_, Map<C_5265_, C_212943_> p_215394_)
private void
a(aie$c arg0, String arg1, Predicate<abb> arg2, Map<abb, aie$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)
findAndAdd(NamespaceResourceManager$FilterablePack pack, String startingPath, Predicate<Identifier> allowedPathPredicate, Map<Identifier, NamespaceResourceManager$EntryList> idToEntryList)
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<abb> 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_215417_, Predicate<C_5265_> arg1)
public Stream<PackResources>
b()
listPacks()
method_29213()
streamResourcePacks()
m_7536_()
static ResourceLocation
b(abb arg0)
getMetadataLocation(ResourceLocation arg0)
method_14473(class_2960 arg0)
getMetadataPath(Identifier id)
m_10624_(C_5265_ p_10625_)