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 resources, 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 @Nullable 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> resourcePacks) -
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) Methods in net.minecraft.server.packs with parameters of type PackResourcesModifier and TypeMethodDescriptionstatic ResourceMetadataAbstractPackResources.loadMetadata(PackResources packResources) Constructors in net.minecraft.server.packs with parameters of type PackResourcesModifierConstructorDescriptionCompositePackResources(PackResources primaryPackResources, List<PackResources> overlayPackResources) Constructor parameters in net.minecraft.server.packs with type arguments of type PackResourcesModifierConstructorDescriptionCompositePackResources(PackResources primaryPackResources, List<PackResources> overlayPackResources) -
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 @Nullable PackBuiltInPackSource.createVanillaPack(PackResources resources) protected @Nullable PackServerPacksSource.createVanillaPack(PackResources resources) static Pack.ResourcesSupplierBuiltInPackSource.fixedResources(PackResources instance) 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 @Nullable 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 TypeMethodDescription@Nullable PackResourcesFallbackResourceManager.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, Identifier location, IoSupplier<InputStream> resource, IoSupplier<ResourceMetadata> metadata) private @Nullable ResourceFilterSectionMultiPackResourceManager.getPackFilterSection(PackResources pack) voidFallbackResourceManager.push(PackResources pack) voidFallbackResourceManager.push(PackResources pack, Predicate<Identifier> filter) private voidFallbackResourceManager.pushInternal(String name, @Nullable PackResources pack, @Nullable Predicate<Identifier> contentFilter) private static IoSupplier<InputStream> FallbackResourceManager.wrapForDebug(Identifier location, PackResources source, IoSupplier<InputStream> resource) Method parameters in net.minecraft.server.packs.resources with type arguments of type PackResourcesModifier and TypeMethodDescriptionReloadableResourceManager.createReload(Executor backgroundExecutor, Executor mainThreadExecutor, CompletableFuture<Unit> initialTask, List<PackResources> resourcePacks) Constructors in net.minecraft.server.packs.resources with parameters of type PackResourcesModifierConstructorDescriptionprivatePackEntry(String name, @Nullable PackResources resources, @Nullable Predicate<Identifier> filter) Creates an instance of aPackEntryrecord class.Resource(PackResources source, IoSupplier<InputStream> streamSupplier) Resource(PackResources source, IoSupplier<InputStream> streamSupplier, IoSupplier<ResourceMetadata> metadataSupplier) privateResourceWithSource(PackResources source, IoSupplier<InputStream> resource) Creates an instance of aResourceWithSourcerecord class.Constructor parameters in net.minecraft.server.packs.resources with type arguments of type PackResourcesModifierConstructorDescriptionprivateEntryStack(Identifier fileLocation, Identifier 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) Constructor parameters in net.neoforged.neoforge.data.event with type arguments of type PackResourcesModifierConstructorDescriptionDataGeneratorConfig(Set<String> mods, Path path, Collection<Path> inputs, CompletableFuture<HolderLookup.Provider> lookupProvider, boolean dev, boolean reports, boolean validate, boolean flat, DataGenerator vanillaGenerator, Collection<Path> existingPacks, Consumer<Consumer<PackResources>> vanillaClientAssets) -
Uses of PackResources in net.neoforged.neoforge.data.loading
Method parameters in net.neoforged.neoforge.data.loading with type arguments of type PackResourcesModifier and TypeMethodDescriptionstatic voidDatagenModLoader.begin(Set<String> mods, Path path, Collection<Path> inputs, Collection<Path> existingPacks, boolean devToolGenerators, boolean reportsGenerator, boolean structureValidator, boolean flat, Runnable setup, GatherDataEvent.GatherDataEventGenerator eventGenerator, DataGenerator vanillaGenerator, Consumer<Consumer<PackResources>> vanillaClientAssets) -
Uses of PackResources in net.neoforged.neoforge.resource
Classes in net.neoforged.neoforge.resource that implement PackResourcesModifier and TypeClassDescriptionclassclassExposes the content of an arbitraryJarContentsas data/resource pack resources.Methods in net.neoforged.neoforge.resource that return PackResourcesModifier and TypeMethodDescriptionEmptyPackResources.EmptyResourcesSupplier.openFull(PackLocationInfo id, Pack.Metadata info) JarContentsPackResources.JarContentsResourcesSupplier.openFull(PackLocationInfo locationInfo, Pack.Metadata metadata) EmptyPackResources.EmptyResourcesSupplier.openPrimary(PackLocationInfo id) JarContentsPackResources.JarContentsResourcesSupplier.openPrimary(PackLocationInfo locationInfo)