Uses of Interface
net.minecraft.server.packs.PackResources
Packages that use PackResources
Package
Description
-
Uses of PackResources in com.mojang.blaze3d.platform
Methods in com.mojang.blaze3d.platform with parameters of type PackResourcesModifier and TypeMethodDescriptionprivate IoSupplier<InputStream> IconSet.getFile(PackResources resources, String filename) IconSet.getMacIcon(PackResources resources) IconSet.getStandardIcons(PackResources resources) voidWindow.setIcon(PackResources packResources, IconSet iconSet) -
Uses of PackResources in net.minecraft.client
Method parameters in net.minecraft.client with type arguments of type PackResourcesModifier and TypeMethodDescriptionvoidResourceLoadStateTracker.startReload(ResourceLoadStateTracker.ReloadReason reloadReason, List<PackResources> packs) -
Uses of PackResources in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type PackResourcesModifier and TypeMethodDescriptionprotected PackClientPackSource.createVanillaPack(PackResources resources) -
Uses of PackResources in net.minecraft.client.resources.language
Method parameters in net.minecraft.client.resources.language with type arguments of type PackResourcesModifier and TypeMethodDescriptionprivate static Map<String, LanguageInfo> LanguageManager.extractLanguages(Stream<PackResources> packResources) -
Uses of PackResources in net.minecraft.server.packs
Classes in net.minecraft.server.packs that implement PackResourcesModifier and TypeClassDescriptionclassclassclassclassclassFields in net.minecraft.server.packs declared as PackResourcesModifier and TypeFieldDescriptionprivate final PackResourcesCompositePackResources.primaryPackResourcesFields in net.minecraft.server.packs with type parameters of type PackResourcesModifier and TypeFieldDescriptionprivate final List<PackResources> CompositePackResources.packResourcesStackMethods in net.minecraft.server.packs that return PackResourcesModifier and TypeMethodDescriptionFilePackResources.FileResourcesSupplier.openFull(PackLocationInfo location, Pack.Metadata metadata) PathPackResources.PathResourcesSupplier.openFull(PackLocationInfo location, Pack.Metadata metadata) FilePackResources.FileResourcesSupplier.openPrimary(PackLocationInfo location) PathPackResources.PathResourcesSupplier.openPrimary(PackLocationInfo location) Constructors in net.minecraft.server.packs with parameters of type PackResourcesModifierConstructorDescriptionCompositePackResources(PackResources primaryPackResources, List<PackResources> packResourcesStack) Constructor parameters in net.minecraft.server.packs with type arguments of type PackResourcesModifierConstructorDescriptionCompositePackResources(PackResources primaryPackResources, List<PackResources> packResourcesStack) -
Uses of PackResources in net.minecraft.server.packs.repository
Methods in net.minecraft.server.packs.repository that return PackResourcesModifier and TypeMethodDescriptionPack.open()Pack.ResourcesSupplier.openFull(PackLocationInfo location, Pack.Metadata metadata) Pack.ResourcesSupplier.openPrimary(PackLocationInfo location) Methods in net.minecraft.server.packs.repository that return types with arguments of type PackResourcesMethods in net.minecraft.server.packs.repository with parameters of type PackResourcesModifier and TypeMethodDescriptionprotected abstract PackBuiltInPackSource.createVanillaPack(PackResources resources) protected PackServerPacksSource.createVanillaPack(PackResources resources) static Pack.ResourcesSupplierBuiltInPackSource.fixedResources(PackResources resources) Method parameters in net.minecraft.server.packs.repository with type arguments of type PackResourcesModifier and TypeMethodDescriptionstatic Pack.ResourcesSupplierBuiltInPackSource.fromName(Function<PackLocationInfo, PackResources> onName) -
Uses of PackResources in net.minecraft.server.packs.resources
Fields in net.minecraft.server.packs.resources declared as PackResourcesModifier and TypeFieldDescriptionprivate final PackResourcesFallbackResourceManager.PackEntry.resourcesThe field for theresourcesrecord component.private final PackResourcesFallbackResourceManager.ResourceWithSource.sourceThe field for thesourcerecord component.private final PackResourcesResource.sourceFields in net.minecraft.server.packs.resources with type parameters of type PackResourcesModifier and TypeFieldDescriptionprivate final Map<PackResources, IoSupplier<InputStream>> FallbackResourceManager.EntryStack.metaSourcesThe field for themetaSourcesrecord component.private final List<PackResources> MultiPackResourceManager.packsMethods in net.minecraft.server.packs.resources that return PackResourcesModifier and TypeMethodDescriptionFallbackResourceManager.PackEntry.resources()Returns the value of theresourcesrecord component.FallbackResourceManager.ResourceWithSource.source()Returns the value of thesourcerecord component.Resource.source()Methods in net.minecraft.server.packs.resources that return types with arguments of type PackResourcesModifier and TypeMethodDescriptionFallbackResourceManager.listPacks()MultiPackResourceManager.listPacks()ReloadableResourceManager.listPacks()ResourceManager.Empty.listPacks()ResourceManager.listPacks()FallbackResourceManager.EntryStack.metaSources()Returns the value of themetaSourcesrecord component.Methods in net.minecraft.server.packs.resources with parameters of type PackResourcesModifier and TypeMethodDescriptionprivate static ResourceFallbackResourceManager.createResource(PackResources source, ResourceLocation location, IoSupplier<InputStream> streamSupplier, IoSupplier<ResourceMetadata> metadataSupplier) private ResourceFilterSectionMultiPackResourceManager.getPackFilterSection(PackResources packResources) voidFallbackResourceManager.push(PackResources resources) voidFallbackResourceManager.push(PackResources resources, Predicate<ResourceLocation> filter) private voidFallbackResourceManager.pushInternal(String name, PackResources resources, Predicate<ResourceLocation> filter) private static IoSupplier<InputStream> FallbackResourceManager.wrapForDebug(ResourceLocation location, PackResources packResources, IoSupplier<InputStream> stream) Method parameters in net.minecraft.server.packs.resources with type arguments of type PackResourcesModifier and TypeMethodDescriptionReloadableResourceManager.createReload(Executor backgroundExecutor, Executor gameExecutor, CompletableFuture<Unit> waitingFor, List<PackResources> resourcePacks) Constructors in net.minecraft.server.packs.resources with parameters of type PackResourcesModifierConstructorDescription(package private)PackEntry(String name, PackResources resources, Predicate<ResourceLocation> filter) Creates an instance of aPackEntryrecord class.Resource(PackResources source, IoSupplier<InputStream> streamSupplier) Resource(PackResources source, IoSupplier<InputStream> streamSupplier, IoSupplier<ResourceMetadata> metadataSupplier) (package private)ResourceWithSource(PackResources source, IoSupplier<InputStream> resource) Creates an instance of aResourceWithSourcerecord class.Constructor parameters in net.minecraft.server.packs.resources with type arguments of type PackResourcesModifierConstructorDescription(package private)EntryStack(ResourceLocation fileLocation, ResourceLocation metadataLocation, List<FallbackResourceManager.ResourceWithSource> fileSources, Map<PackResources, IoSupplier<InputStream>> metaSources) Creates an instance of aEntryStackrecord class.MultiPackResourceManager(PackType type, List<PackResources> packs) -
Uses of PackResources in net.neoforged.neoforge.data.event
Method parameters in net.neoforged.neoforge.data.event with type arguments of type PackResourcesModifier and TypeMethodDescriptionprivate static ResourceManagerGatherDataEvent.DataGeneratorConfig.createResourceManager(PackType packType, Predicate<String> isGeneratedMod, Collection<Path> existingPacks, Consumer<Consumer<PackResources>> consumer) -
Uses of PackResources in net.neoforged.neoforge.resource
Classes in net.neoforged.neoforge.resource that implement PackResourcesMethods in net.neoforged.neoforge.resource that return PackResourcesModifier and TypeMethodDescriptionEmptyPackResources.EmptyResourcesSupplier.openFull(PackLocationInfo id, Pack.Metadata info) EmptyPackResources.EmptyResourcesSupplier.openPrimary(PackLocationInfo id)