Package net.minecraft.client.resources
Class FolderResourceIndex
- java.lang.Object
-
- net.minecraft.client.resources.ResourceIndex
-
- net.minecraft.client.resources.FolderResourceIndex
-
public class FolderResourceIndex extends ResourceIndex
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
assetsDirectory
-
Fields inherited from class net.minecraft.client.resources.ResourceIndex
LOGGER
-
-
Constructor Summary
Constructors Constructor Description FolderResourceIndex(java.io.File p_i46540_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getFile(ResourceLocation p_188547_1_)
java.util.Collection<ResourceLocation>
getFiles(java.lang.String p_225639_1_, java.lang.String p_225639_2_, int p_225639_3_, java.util.function.Predicate<java.lang.String> p_225639_4_)
java.io.File
getRootFile(java.lang.String p_225638_1_)
-
-
-
Method Detail
-
getFile
public java.io.File getFile(ResourceLocation p_188547_1_)
- Overrides:
getFile
in classResourceIndex
-
getRootFile
public java.io.File getRootFile(java.lang.String p_225638_1_)
- Overrides:
getRootFile
in classResourceIndex
-
getFiles
public java.util.Collection<ResourceLocation> getFiles(java.lang.String p_225639_1_, java.lang.String p_225639_2_, int p_225639_3_, java.util.function.Predicate<java.lang.String> p_225639_4_)
- Overrides:
getFiles
in classResourceIndex
-
-