Package net.minecraft.client.resources
Class DefaultResourcePack
- java.lang.Object
-
- net.minecraft.client.resources.DefaultResourcePack
-
- All Implemented Interfaces:
IResourcePack
public class DefaultResourcePack extends java.lang.Object implements IResourcePack
+ 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 static java.util.Set<java.lang.String>
defaultResourceDomains
-
Constructor Summary
Constructors Constructor Description DefaultResourcePack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getInputStream(ResourceLocation parResourceLocation)
java.io.InputStream
getInputStreamAssets(ResourceLocation location)
ImageData
getPackImage()
<T extends IMetadataSection>
TgetPackMetadata(IMetadataSerializer parIMetadataSerializer, java.lang.String parString1)
java.lang.String
getPackName()
java.util.Set<java.lang.String>
getResourceDomains()
boolean
resourceExists(ResourceLocation resourcelocation)
-
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream(ResourceLocation parResourceLocation) throws java.io.IOException
- Specified by:
getInputStream
in interfaceIResourcePack
- Throws:
java.io.IOException
-
getInputStreamAssets
public java.io.InputStream getInputStreamAssets(ResourceLocation location) throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
-
resourceExists
public boolean resourceExists(ResourceLocation resourcelocation)
- Specified by:
resourceExists
in interfaceIResourcePack
-
getResourceDomains
public java.util.Set<java.lang.String> getResourceDomains()
- Specified by:
getResourceDomains
in interfaceIResourcePack
-
getPackMetadata
public <T extends IMetadataSection> T getPackMetadata(IMetadataSerializer parIMetadataSerializer, java.lang.String parString1) throws java.io.IOException
- Specified by:
getPackMetadata
in interfaceIResourcePack
- Throws:
java.io.IOException
-
getPackImage
public ImageData getPackImage() throws java.io.IOException
- Specified by:
getPackImage
in interfaceIResourcePack
- Throws:
java.io.IOException
-
getPackName
public java.lang.String getPackName()
- Specified by:
getPackName
in interfaceIResourcePack
-
-