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
,ResourceProvider
,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_118610_, String p_118611_, String p_118612_, int p_118613_, Predicate<String> p_118614_) boolean
hasResource
(PackType p_118618_, ResourceLocation p_118619_) Methods inherited from class net.minecraft.server.packs.VanillaPackResources
close, getMetadataSection, getName, getNamespaces, getResource, getResource, getRootResource
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_118610_, String p_118611_, String p_118612_, int p_118613_, Predicate<String> p_118614_) - Specified by:
getResources
in interfacePackResources
- Overrides:
getResources
in classVanillaPackResources
-