Class TextureMap
- java.lang.Object
-
- net.minecraft.client.renderer.texture.AbstractTexture
-
- net.minecraft.client.renderer.texture.TextureMap
-
- All Implemented Interfaces:
ITextureObject
,ITickable
,ITickableTextureObject
public class TextureMap extends AbstractTexture implements ITickableTextureObject
+ 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 ResourceLocation
LOCATION_MISSING_TEXTURE
static ResourceLocation
locationBlocksTexture
-
Fields inherited from class net.minecraft.client.renderer.texture.AbstractTexture
blur, blurLast, glTextureId, mipmap, mipmapLast
-
-
Constructor Summary
Constructors Constructor Description TextureMap(java.lang.String parString1)
TextureMap(java.lang.String parString1, IIconCreator iconCreatorIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EaglerTextureAtlasSprite
getAtlasSprite(java.lang.String iconName)
int
getHeight()
EaglerTextureAtlasSprite
getMissingSprite()
int
getWidth()
void
loadSprites(IResourceManager resourceManager, IIconCreator parIIconCreator)
void
loadTexture(IResourceManager parIResourceManager)
void
loadTextureAtlas(IResourceManager resourceManager)
EaglerTextureAtlasSprite
registerSprite(ResourceLocation location)
void
setMipmapLevels(int mipmapLevelsIn)
void
tick()
void
updateAnimations()
-
Methods inherited from class net.minecraft.client.renderer.texture.AbstractTexture
deleteGlTexture, getGlTextureId, restoreLastBlurMipmap, setBlurMipmap, setBlurMipmapDirect
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.client.renderer.texture.ITextureObject
getGlTextureId, restoreLastBlurMipmap, setBlurMipmap
-
-
-
-
Field Detail
-
LOCATION_MISSING_TEXTURE
public static final ResourceLocation LOCATION_MISSING_TEXTURE
-
locationBlocksTexture
public static final ResourceLocation locationBlocksTexture
-
-
Constructor Detail
-
TextureMap
public TextureMap(java.lang.String parString1)
-
TextureMap
public TextureMap(java.lang.String parString1, IIconCreator iconCreatorIn)
-
-
Method Detail
-
loadTexture
public void loadTexture(IResourceManager parIResourceManager) throws java.io.IOException
- Specified by:
loadTexture
in interfaceITextureObject
- Throws:
java.io.IOException
-
loadSprites
public void loadSprites(IResourceManager resourceManager, IIconCreator parIIconCreator)
-
loadTextureAtlas
public void loadTextureAtlas(IResourceManager resourceManager)
-
getAtlasSprite
public EaglerTextureAtlasSprite getAtlasSprite(java.lang.String iconName)
-
updateAnimations
public void updateAnimations()
-
registerSprite
public EaglerTextureAtlasSprite registerSprite(ResourceLocation location)
-
setMipmapLevels
public void setMipmapLevels(int mipmapLevelsIn)
-
getMissingSprite
public EaglerTextureAtlasSprite getMissingSprite()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
-