Package net.minecraft.client.resources
Class ResourcePackRepository
- java.lang.Object
-
- net.minecraft.client.resources.ResourcePackRepository
-
public class ResourcePackRepository extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ResourcePackRepository.Entry
-
Field Summary
Fields Modifier and Type Field Description IResourcePack
rprDefaultResourcePack
IMetadataSerializer
rprMetadataSerializer
-
Constructor Summary
Constructors Constructor Description ResourcePackRepository(IResourcePack rprDefaultResourcePackIn, IMetadataSerializer rprMetadataSerializerIn, GameSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
downloadResourcePack(java.lang.String s1, java.lang.String s2, java.util.function.Consumer<java.lang.Boolean> cb)
void
func_148529_f()
java.util.List<ResourcePackRepository.Entry>
getRepositoryEntries()
java.util.List<ResourcePackRepository.Entry>
getRepositoryEntriesAll()
IResourcePack
getResourcePackInstance()
+ Getter for the IResourcePack instance associated with this ResourcePackRepositoryvoid
setRepositories(java.util.List<ResourcePackRepository.Entry> parList)
void
updateRepositoryEntriesAll()
-
-
-
Field Detail
-
rprDefaultResourcePack
public final IResourcePack rprDefaultResourcePack
-
rprMetadataSerializer
public final IMetadataSerializer rprMetadataSerializer
-
-
Constructor Detail
-
ResourcePackRepository
public ResourcePackRepository(IResourcePack rprDefaultResourcePackIn, IMetadataSerializer rprMetadataSerializerIn, GameSettings settings)
-
-
Method Detail
-
updateRepositoryEntriesAll
public void updateRepositoryEntriesAll()
-
getRepositoryEntriesAll
public java.util.List<ResourcePackRepository.Entry> getRepositoryEntriesAll()
-
getRepositoryEntries
public java.util.List<ResourcePackRepository.Entry> getRepositoryEntries()
-
setRepositories
public void setRepositories(java.util.List<ResourcePackRepository.Entry> parList)
-
downloadResourcePack
public void downloadResourcePack(java.lang.String s1, java.lang.String s2, java.util.function.Consumer<java.lang.Boolean> cb)
-
getResourcePackInstance
public IResourcePack getResourcePackInstance()
+ Getter for the IResourcePack instance associated with this ResourcePackRepository
-
func_148529_f
public void func_148529_f()
-
-