Uses of Interface
net.minecraft.server.packs.PackResources
Package
Description
-
Uses of PackResources in com.mojang.blaze3d.platform
Modifier and TypeMethodDescriptionprivate IoSupplier
<InputStream> IconSet.getFile
(PackResources p_281570_, String p_281345_) IconSet.getMacIcon
(PackResources p_281289_) IconSet.getStandardIcons
(PackResources p_281372_) void
Window.setIcon
(PackResources p_281860_, IconSet p_282155_) -
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
class
Modifier and TypeFieldDescriptionprivate final PackResources
CompositePackResources.primaryPackResources
Modifier and TypeFieldDescriptionprivate final List
<PackResources> CompositePackResources.packResourcesStack
Modifier and TypeMethodDescriptionFilePackResources.FileResourcesSupplier.openFull
(PackLocationInfo p_326484_, Pack.Metadata p_326165_) PathPackResources.PathResourcesSupplier.openFull
(PackLocationInfo p_326066_, Pack.Metadata p_326237_) FilePackResources.FileResourcesSupplier.openPrimary
(PackLocationInfo p_326493_) PathPackResources.PathResourcesSupplier.openPrimary
(PackLocationInfo p_325962_) ModifierConstructorDescriptionCompositePackResources
(PackResources p_296246_, List<PackResources> p_294643_) ModifierConstructorDescriptionCompositePackResources
(PackResources p_296246_, List<PackResources> p_294643_) -
Uses of PackResources in net.minecraft.server.packs.repository
Modifier and TypeMethodDescriptionPack.open()
Pack.ResourcesSupplier.openFull
(PackLocationInfo p_326241_, Pack.Metadata p_325959_) Pack.ResourcesSupplier.openPrimary
(PackLocationInfo p_326301_) Modifier and TypeMethodDescriptionprotected abstract Pack
BuiltInPackSource.createVanillaPack
(PackResources p_251690_) protected Pack
ServerPacksSource.createVanillaPack
(PackResources p_250283_) static Pack.ResourcesSupplier
BuiltInPackSource.fixedResources
(PackResources p_295971_) Modifier and TypeMethodDescriptionstatic Pack.ResourcesSupplier
BuiltInPackSource.fromName
(Function<PackLocationInfo, PackResources> onName) -
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.neoforged.neoforge.oldtest.world
-
Uses of PackResources in net.neoforged.neoforge.resource
Modifier and TypeMethodDescriptionEmptyPackResources.EmptyResourcesSupplier.openFull
(PackLocationInfo id, Pack.Metadata info) EmptyPackResources.EmptyResourcesSupplier.openPrimary
(PackLocationInfo id)