Package net.minecraft.client.resources
Class VirtualAssetsPack
java.lang.Object
net.minecraft.resources.VanillaPack
net.minecraft.client.resources.VirtualAssetsPack
- All Implemented Interfaces:
AutoCloseable
,IResourcePack
,IForgeResourcePack
-
Field Summary
Fields inherited from class net.minecraft.resources.VanillaPack
clientObject, generatedDir, namespaces
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected InputStream
getResourceAsStream
(String p_200010_1_) protected InputStream
getResourceAsStream
(ResourcePackType p_195782_1_, ResourceLocation p_195782_2_) getResources
(ResourcePackType p_225637_1_, String p_225637_2_, String p_225637_3_, int p_225637_4_, Predicate<String> p_225637_5_) boolean
hasResource
(ResourcePackType p_195764_1_, ResourceLocation p_195764_2_) Methods inherited from class net.minecraft.resources.VanillaPack
close, getMetadataSection, getName, getNamespaces, 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.IForgeResourcePack
isHidden
-
Field Details
-
assetIndex
-
-
Constructor Details
-
VirtualAssetsPack
-
-
Method Details
-
getResourceAsStream
@Nullable protected InputStream getResourceAsStream(ResourcePackType p_195782_1_, ResourceLocation p_195782_2_) - Overrides:
getResourceAsStream
in classVanillaPack
-
hasResource
- Specified by:
hasResource
in interfaceIResourcePack
- Overrides:
hasResource
in classVanillaPack
-
getResourceAsStream
- Overrides:
getResourceAsStream
in classVanillaPack
-
getResources
public Collection<ResourceLocation> getResources(ResourcePackType p_225637_1_, String p_225637_2_, String p_225637_3_, int p_225637_4_, Predicate<String> p_225637_5_) - Specified by:
getResources
in interfaceIResourcePack
- Overrides:
getResources
in classVanillaPack
-