Package net.minecraft.client.resources
Class SimpleResource
- java.lang.Object
-
- net.minecraft.client.resources.SimpleResource
-
- All Implemented Interfaces:
IResource
public class SimpleResource extends java.lang.Object implements IResource
+ 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)
-
-
Constructor Summary
Constructors Constructor Description SimpleResource(java.lang.String resourcePackNameIn, ResourceLocation srResourceLocationIn, java.io.InputStream resourceInputStreamIn, java.io.InputStream mcmetaInputStreamIn, IMetadataSerializer srMetadataSerializerIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.io.InputStream
getInputStream()
<T extends IMetadataSection>
TgetMetadata(java.lang.String s)
ResourceLocation
getResourceLocation()
java.lang.String
getResourcePackName()
int
hashCode()
boolean
hasMetadata()
-
-
-
Constructor Detail
-
SimpleResource
public SimpleResource(java.lang.String resourcePackNameIn, ResourceLocation srResourceLocationIn, java.io.InputStream resourceInputStreamIn, java.io.InputStream mcmetaInputStreamIn, IMetadataSerializer srMetadataSerializerIn)
-
-
Method Detail
-
getResourceLocation
public ResourceLocation getResourceLocation()
- Specified by:
getResourceLocation
in interfaceIResource
-
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStream
in interfaceIResource
-
hasMetadata
public boolean hasMetadata()
- Specified by:
hasMetadata
in interfaceIResource
-
getMetadata
public <T extends IMetadataSection> T getMetadata(java.lang.String s)
- Specified by:
getMetadata
in interfaceIResource
-
getResourcePackName
public java.lang.String getResourcePackName()
- Specified by:
getResourcePackName
in interfaceIResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-