Package net.minecraft.client.resources
Class DefaultClientPackResources
java.lang.Object
net.minecraft.server.packs.VanillaPackResources
net.minecraft.client.resources.DefaultClientPackResources
- All Implemented Interfaces:
AutoCloseable
,PackResources
,IForgePackResources
-
Field Summary
Fields inherited from class net.minecraft.server.packs.VanillaPackResources
clientObject, generatedDir, namespaces, packMetadata
Fields inherited from interface net.minecraft.server.packs.PackResources
METADATA_EXTENSION, PACK_META
-
Constructor Summary
ConstructorDescriptionDefaultClientPackResources
(PackMetadataSection p_174827_, AssetIndex p_174828_) -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStream
getResourceAsStream
(String p_118616_) protected InputStream
getResourceAsStream
(PackType p_118621_, ResourceLocation p_118622_) getResources
(PackType p_235011_, String p_235012_, String p_235013_, Predicate<ResourceLocation> p_235014_) boolean
hasResource
(PackType p_118618_, ResourceLocation p_118619_) Methods inherited from class net.minecraft.server.packs.VanillaPackResources
asProvider, close, getMetadataSection, getName, getNamespaces, getResource, getRootResource, init, initForNamespace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.extensions.IForgePackResources
isHidden
-
Field Details
-
assetIndex
-
-
Constructor Details
-
DefaultClientPackResources
-
-
Method Details
-
getResourceAsStream
- Overrides:
getResourceAsStream
in classVanillaPackResources
-
hasResource
- Specified by:
hasResource
in interfacePackResources
- Overrides:
hasResource
in classVanillaPackResources
-
getResourceAsStream
- Overrides:
getResourceAsStream
in classVanillaPackResources
-
getResources
public Collection<ResourceLocation> getResources(PackType p_235011_, String p_235012_, String p_235013_, Predicate<ResourceLocation> p_235014_) - Specified by:
getResources
in interfacePackResources
- Overrides:
getResources
in classVanillaPackResources
-