Package net.minecraft.client.resources
Class FallbackResourceManager
- java.lang.Object
-
- net.minecraft.client.resources.FallbackResourceManager
-
- All Implemented Interfaces:
IResourceManager
public class FallbackResourceManager extends java.lang.Object implements IResourceManager
+ 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)
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<IResourcePack>
resourcePacks
-
Constructor Summary
Constructors Constructor Description FallbackResourceManager(IMetadataSerializer frmMetadataSerializerIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResourcePack(IResourcePack resourcePack)
java.util.List<IResource>
getAllResources(ResourceLocation location)
protected java.io.InputStream
getInputStream(ResourceLocation location, IResourcePack resourcePack)
IResource
getResource(ResourceLocation location)
java.util.Set<java.lang.String>
getResourceDomains()
-
-
-
Field Detail
-
resourcePacks
protected final java.util.List<IResourcePack> resourcePacks
-
-
Constructor Detail
-
FallbackResourceManager
public FallbackResourceManager(IMetadataSerializer frmMetadataSerializerIn)
-
-
Method Detail
-
addResourcePack
public void addResourcePack(IResourcePack resourcePack)
-
getResourceDomains
public java.util.Set<java.lang.String> getResourceDomains()
- Specified by:
getResourceDomains
in interfaceIResourceManager
-
getResource
public IResource getResource(ResourceLocation location) throws java.io.IOException
- Specified by:
getResource
in interfaceIResourceManager
- Throws:
java.io.IOException
-
getInputStream
protected java.io.InputStream getInputStream(ResourceLocation location, IResourcePack resourcePack) throws java.io.IOException
- Throws:
java.io.IOException
-
getAllResources
public java.util.List<IResource> getAllResources(ResourceLocation location) throws java.io.IOException
- Specified by:
getAllResources
in interfaceIResourceManager
- Throws:
java.io.IOException
-
-