Package net.minecraft.client.gui
Class GuiSpriteManager
java.lang.Object
net.minecraft.client.resources.TextureAtlasHolder
net.minecraft.client.gui.GuiSpriteManager
- All Implemented Interfaces:
AutoCloseable
,PreparableReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
FieldsFields inherited from class net.minecraft.client.resources.TextureAtlasHolder
textureAtlas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate GuiMetadataSection
getMetadata
(TextureAtlasSprite pSprite) getSprite
(ResourceLocation pLocation) Gets a sprite associated with the passed resource location.getSpriteScaling
(TextureAtlasSprite pSprite) Methods inherited from class net.minecraft.client.resources.TextureAtlasHolder
close, reload
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
Field Details
-
METADATA_SECTIONS
-
-
Constructor Details
-
GuiSpriteManager
-
-
Method Details
-
getSprite
Gets a sprite associated with the passed resource location.- Overrides:
getSprite
in classTextureAtlasHolder
-
getSpriteScaling
-
getMetadata
-