net.minecraft.server.packs.resources

public class FallbackResourceManager

implements ResourceManager

aug
net.minecraft.server.packs.resources.FallbackResourceManager
net.minecraft.class_3294
net.minecraft.resource.NamespaceResourceManager
net.minecraft.server.packs.resources.ResourceManagerFallback

Field summary

Modifier and TypeField
static final org.slf4j.Logger
c
LOGGER
field_14285
LOGGER
protected final List<FallbackResourceManager$PackEntry>
a
fallbacks
field_14283
packList
private final PackType
d
type
field_14284
type
private final String
e
namespace
field_21561
namespace

Constructor summary

ModifierConstructor
public (PackType type, String namespace)

Method summary

Modifier and TypeMethod
public void
a(atc arg0)
push(PackResources arg0)
method_24233(class_3262 arg0)
addPack(ResourcePack pack)
public void
a(atc arg0, Predicate<akv> arg1)
push(PackResources arg0, Predicate<ResourceLocation> arg1)
method_41256(class_3262 arg0, Predicate<class_2960> arg1)
addPack(ResourcePack pack, Predicate<Identifier> filter)
public void
a(String arg0, Predicate<akv> arg1)
pushFilterOnly(String arg0, Predicate<ResourceLocation> arg1)
method_41261(String arg0, Predicate<class_2960> arg1)
addPack(String id, Predicate<Identifier> filter)
private void
a(String arg0, atc arg1, Predicate<akv> arg2)
pushInternal(String arg0, PackResources arg1, Predicate<ResourceLocation> arg2)
method_41260(String arg0, class_3262 arg1, Predicate<class_2960> arg2)
addPack(String id, ResourcePack underlyingPack, Predicate<Identifier> filter)
public Set<String>
a()
getNamespaces()
method_14487()
getAllNamespaces()
public Optional<Resource>
getResource(akv arg0)
getResource(ResourceLocation arg0)
method_14486(class_2960 arg0)
getResource(Identifier arg0)
private static Resource
a(atc arg0, akv arg1, auh<InputStream> arg2, auh<aur> arg3)
createResource(PackResources arg0, ResourceLocation arg1, IoSupplier<InputStream> arg2, IoSupplier<ResourceMetadata> arg3)
method_45290(class_3262 arg0, class_2960 arg1, class_7367<InputStream> arg2, class_7367<class_7368> arg3)
createResource(ResourcePack pack, Identifier id, InputSupplier<InputStream> supplier, InputSupplier<ResourceMetadata> metadataSupplier)
private static IoSupplier<InputStream>
a(akv arg0, atc arg1, auh<InputStream> arg2)
wrapForDebug(ResourceLocation arg0, PackResources arg1, IoSupplier<InputStream> arg2)
method_45288(class_2960 arg0, class_3262 arg1, class_7367<InputStream> arg2)
wrapForDebug(Identifier id, ResourcePack pack, InputSupplier<InputStream> supplier)
public List<Resource>
a(akv arg0)
getResourceStack(ResourceLocation arg0)
method_14489(class_2960 arg0)
getAllResources(Identifier arg0)
private static boolean
b(akv arg0)
isMetadata(ResourceLocation arg0)
method_45296(class_2960 arg0)
isMcmeta(Identifier id)
private static ResourceLocation
c(akv arg0)
getResourceLocationFromMetadata(ResourceLocation arg0)
method_45298(class_2960 arg0)
getMetadataFileName(Identifier id)
static ResourceLocation
d(akv arg0)
getMetadataLocation(ResourceLocation arg0)
method_14473(class_2960 arg0)
getMetadataPath(Identifier id)
public Map<ResourceLocation, Resource>
b(String arg0, Predicate<akv> arg1)
listResources(String arg0, Predicate<ResourceLocation> arg1)
method_14488(String arg0, Predicate<class_2960> arg1)
findResources(String arg0, Predicate<Identifier> arg1)
private IoSupplier<ResourceMetadata>
a(akv arg0, int arg1)
createStackMetadataFinder(ResourceLocation arg0, int arg1)
method_43035(class_2960 arg0, int arg1)
createMetadataSupplier(Identifier id, int index)
private static IoSupplier<ResourceMetadata>
a(auh<InputStream> arg0)
convertToMetadata(IoSupplier<InputStream> arg0)
method_45291(class_7367<InputStream> arg0)
getMetadataSupplier(InputSupplier<InputStream> supplier)
private static ResourceMetadata
b(auh<InputStream> arg0)
parseMetadata(IoSupplier<InputStream> arg0)
method_45297(class_7367<InputStream> arg0)
loadMetadata(InputSupplier<InputStream> supplier)
private static void
a(aug$d arg0, Map<akv, aug$b> 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)
private void
a(aug$d arg0, String arg1, Predicate<akv> arg2, Map<akv, aug$b> 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)
public Map<ResourceLocation, List<Resource>>
c(String arg0, Predicate<akv> 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()