Uses of Interface
net.minecraft.server.packs.PackResources
Package
Description
-
Uses of PackResources in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
ResourceLoadStateTracker.startReload
(ResourceLoadStateTracker.ReloadReason p_168558_, List<PackResources> p_168559_) -
Uses of PackResources in net.minecraft.client.resources
Modifier and TypeMethodDescriptionprotected Pack
ClientPackSource.createVanillaPack
(PackResources p_250048_) -
Uses of PackResources in net.minecraft.client.resources.language
Modifier and TypeMethodDescriptionprivate static Map<String,
LanguageInfo> LanguageManager.extractLanguages
(Stream<PackResources> p_118982_) -
Uses of PackResources in net.minecraft.server.packs
Modifier and TypeClassDescriptionclass
class
class
class
-
Uses of PackResources in net.minecraft.server.packs.repository
Modifier and TypeMethodDescriptionprotected abstract Pack
BuiltInPackSource.createVanillaPack
(PackResources p_251690_) protected Pack
ServerPacksSource.createVanillaPack
(PackResources p_250283_) -
Uses of PackResources in net.minecraft.server.packs.resources
Modifier and TypeFieldDescriptionprivate final PackResources
FallbackResourceManager.PackEntry.resources
The field for theresources
record component.private final PackResources
FallbackResourceManager.ResourceWithSource.source
The field for thesource
record component.private final PackResources
Resource.source
Modifier and TypeFieldDescriptionprivate final Map<PackResources,
IoSupplier<InputStream>> FallbackResourceManager.EntryStack.metaSources
The field for themetaSources
record component.private final List<PackResources>
MultiPackResourceManager.packs
Modifier and TypeMethodDescriptionFallbackResourceManager.PackEntry.resources()
Returns the value of theresources
record component.FallbackResourceManager.ResourceWithSource.source()
Returns the value of thesource
record component.Resource.source()
Modifier and TypeMethodDescriptionFallbackResourceManager.listPacks()
MultiPackResourceManager.listPacks()
ReloadableResourceManager.listPacks()
ResourceManager.Empty.listPacks()
ResourceManager.listPacks()
FallbackResourceManager.EntryStack.metaSources()
Returns the value of themetaSources
record component.Modifier and TypeMethodDescriptionprivate static Resource
FallbackResourceManager.createResource
(PackResources p_249946_, ResourceLocation p_250632_, IoSupplier<InputStream> p_250514_, IoSupplier<ResourceMetadata> p_251676_) private ResourceFilterSection
MultiPackResourceManager.getPackFilterSection
(PackResources p_215468_) void
FallbackResourceManager.push
(PackResources p_215378_) void
FallbackResourceManager.push
(PackResources p_215383_, Predicate<ResourceLocation> p_215384_) private void
FallbackResourceManager.pushInternal
(String p_215396_, PackResources p_215397_, Predicate<ResourceLocation> p_215398_) private static IoSupplier<InputStream>
FallbackResourceManager.wrapForDebug
(ResourceLocation p_248639_, PackResources p_251740_, IoSupplier<InputStream> p_249116_) Modifier and TypeMethodDescriptionReloadableResourceManager.createReload
(Executor p_143930_, Executor p_143931_, CompletableFuture<Unit> p_143932_, List<PackResources> p_143933_) ModifierConstructorDescription(package private)
PackEntry
(String name, PackResources resources, Predicate<ResourceLocation> filter) Creates an instance of aPackEntry
record class.Resource
(PackResources p_250372_, IoSupplier<InputStream> p_248749_) Resource
(PackResources p_250802_, IoSupplier<InputStream> p_248585_, IoSupplier<ResourceMetadata> p_250094_) (package private)
ResourceWithSource
(PackResources source, IoSupplier<InputStream> resource) Creates an instance of aResourceWithSource
record class.ModifierConstructorDescription(package private)
EntryStack
(ResourceLocation fileLocation, ResourceLocation metadataLocation, List<FallbackResourceManager.ResourceWithSource> fileSources, Map<PackResources, IoSupplier<InputStream>> metaSources) Creates an instance of aEntryStack
record class.MultiPackResourceManager
(PackType p_203797_, List<PackResources> p_203798_) -
Uses of PackResources in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault @Nullable Collection<PackResources>
IForgePackResources.getChildren()
Gets a collection ofPackResource
instances nested inside this pack. -
Uses of PackResources in net.minecraftforge.resource
Modifier and TypeClassDescriptionclass
class
Defines a resource pack from an arbitrary Path.Modifier and TypeFieldDescriptionprivate final List<PackResources>
DelegatingPackResources.delegates
private final Map<String,
List<PackResources>> DelegatingPackResources.namespacesAssets
private final Map<String,
List<PackResources>> DelegatingPackResources.namespacesData
Modifier and TypeMethodDescriptionprivate Map<String,
List<PackResources>> DelegatingPackResources.buildNamespaceMap
(PackType type, List<PackResources> packList) private List<PackResources>
DelegatingPackResources.getCandidatePacks
(PackType type, ResourceLocation location) @Nullable Collection<PackResources>
DelegatingPackResources.getChildren()
Modifier and TypeMethodDescriptionprivate Map<String,
List<PackResources>> DelegatingPackResources.buildNamespaceMap
(PackType type, List<PackResources> packList) ModifierConstructorDescriptionDelegatingPackResources
(String packId, boolean isBuiltin, PackMetadataSection packMeta, List<? extends PackResources> packs)