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 pResources, String pFilename) IconSet.getMacIcon
(PackResources pResources) IconSet.getStandardIcons
(PackResources pResources) void
Window.setIcon
(PackResources pPackResources, IconSet pIconSet) -
Uses of PackResources in net.minecraft.client
Method parameters in net.minecraft.client with type arguments of type PackResourcesModifier and TypeMethodDescriptionvoid
ResourceLoadStateTracker.startReload
(ResourceLoadStateTracker.ReloadReason pReloadReason, List<PackResources> pPacks) -
Uses of PackResources in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type PackResourcesModifier and TypeMethodDescriptionprotected Pack
ClientPackSource.createVanillaPack
(PackResources pResources) -
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> pPackResources) -
Uses of PackResources in net.minecraft.server.packs
Classes in net.minecraft.server.packs that implement PackResourcesModifier and TypeClassDescriptionclass
class
class
class
class
Fields in net.minecraft.server.packs declared as PackResourcesModifier and TypeFieldDescriptionprivate final PackResources
CompositePackResources.primaryPackResources
Fields in net.minecraft.server.packs with type parameters of type PackResourcesModifier and TypeFieldDescriptionprivate final List
<PackResources> CompositePackResources.packResourcesStack
Methods in net.minecraft.server.packs that return PackResourcesModifier and TypeMethodDescriptionFilePackResources.FileResourcesSupplier.openFull
(PackLocationInfo pLocation, Pack.Metadata pMetadata) PathPackResources.PathResourcesSupplier.openFull
(PackLocationInfo pLocation, Pack.Metadata pMetadata) FilePackResources.FileResourcesSupplier.openPrimary
(PackLocationInfo pLocation) PathPackResources.PathResourcesSupplier.openPrimary
(PackLocationInfo pLocation) Constructors in net.minecraft.server.packs with parameters of type PackResourcesModifierConstructorDescriptionCompositePackResources
(PackResources pPrimaryPackResources, List<PackResources> pPackResourcesStack) Constructor parameters in net.minecraft.server.packs with type arguments of type PackResourcesModifierConstructorDescriptionCompositePackResources
(PackResources pPrimaryPackResources, List<PackResources> pPackResourcesStack) -
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 pLocation, Pack.Metadata pMetadata) Pack.ResourcesSupplier.openPrimary
(PackLocationInfo pLocation) 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 Pack
BuiltInPackSource.createVanillaPack
(PackResources pResources) protected Pack
ServerPacksSource.createVanillaPack
(PackResources pResources) static Pack.ResourcesSupplier
BuiltInPackSource.fixedResources
(PackResources pResources) Method parameters in net.minecraft.server.packs.repository with type arguments of type PackResourcesModifier and TypeMethodDescriptionstatic Pack.ResourcesSupplier
BuiltInPackSource.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 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
Fields in net.minecraft.server.packs.resources with type parameters of type PackResourcesModifier and TypeFieldDescriptionprivate final Map
<PackResources, IoSupplier<InputStream>> FallbackResourceManager.EntryStack.metaSources
The field for themetaSources
record component.private final List
<PackResources> MultiPackResourceManager.packs
Methods in net.minecraft.server.packs.resources that return PackResourcesModifier and TypeMethodDescriptionFallbackResourceManager.PackEntry.resources()
Returns the value of theresources
record component.FallbackResourceManager.ResourceWithSource.source()
Returns the value of thesource
record 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 themetaSources
record component.Methods in net.minecraft.server.packs.resources with parameters of type PackResourcesModifier and TypeMethodDescriptionprivate static Resource
FallbackResourceManager.createResource
(PackResources pSource, ResourceLocation pLocation, IoSupplier<InputStream> pStreamSupplier, IoSupplier<ResourceMetadata> pMetadataSupplier) private ResourceFilterSection
MultiPackResourceManager.getPackFilterSection
(PackResources pPackResources) void
FallbackResourceManager.push
(PackResources pResources) void
FallbackResourceManager.push
(PackResources pResources, Predicate<ResourceLocation> pFilter) private void
FallbackResourceManager.pushInternal
(String pName, PackResources pResources, Predicate<ResourceLocation> pFilter) private static IoSupplier
<InputStream> FallbackResourceManager.wrapForDebug
(ResourceLocation pLocation, PackResources pPackResources, IoSupplier<InputStream> pStream) Method parameters in net.minecraft.server.packs.resources with type arguments of type PackResourcesModifier and TypeMethodDescriptionReloadableResourceManager.createReload
(Executor pBackgroundExecutor, Executor pGameExecutor, CompletableFuture<Unit> pWaitingFor, List<PackResources> pResourcePacks) 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 aPackEntry
record class.Resource
(PackResources pSource, IoSupplier<InputStream> pStreamSupplier) Resource
(PackResources pSource, IoSupplier<InputStream> pStreamSupplier, IoSupplier<ResourceMetadata> pMetadataSupplier) (package private)
ResourceWithSource
(PackResources source, IoSupplier<InputStream> resource) Creates an instance of aResourceWithSource
record 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 aEntryStack
record class.MultiPackResourceManager
(PackType pType, List<PackResources> pPacks) -
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 ResourceManager
GatherDataEvent.DataGeneratorConfig.createResourceManager
(PackType packType, Predicate<String> isGeneratedMod, Collection<Path> existingPacks, Consumer<Consumer<PackResources>> consumer) -
Uses of PackResources in net.neoforged.neoforge.oldtest.world
Classes in net.neoforged.neoforge.oldtest.world that implement PackResources -
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)