类 TextureAtlas
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.TextureAtlas
- 所有已实现的接口:
AutoCloseable
,Dumpable
,Tickable
-
字段概要
字段修饰符和类型字段说明private List<TextureAtlasSprite.Ticker>
private int
private final ResourceLocation
static final ResourceLocation
已过时。static final ResourceLocation
已过时。private static final org.slf4j.Logger
private final int
private int
private List<SpriteContents>
private Map<ResourceLocation,
TextureAtlasSprite> private int
从类继承的字段 net.minecraft.client.renderer.texture.AbstractTexture
blur, id, mipmap, NOT_ASSIGNED
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
void
void
dumpContents
(ResourceLocation pResourceLocation, Path pPath) private static void
dumpSpriteNames
(Path pOutputDir, String pOutputFilename, Map<ResourceLocation, TextureAtlasSprite> p_261722_) (专用程序包) int
getSprite
(ResourceLocation pName) 返回 the set of sprites in this atlas.。(专用程序包) int
getWidth()
void
load
(ResourceManager pResourceManager) location()
int
void
tick()
void
updateFilter
(SpriteLoader.Preparations pPreparations) void
upload
(SpriteLoader.Preparations pPreparations) 从类继承的方法 net.minecraft.client.renderer.texture.AbstractTexture
bind, close, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
LOCATION_BLOCKS
已过时。 -
LOCATION_PARTICLES
已过时。 -
sprites
-
animatedTextures
-
texturesByName
-
location
-
maxSupportedTextureSize
private final int maxSupportedTextureSize -
width
private int width -
height
private int height -
mipLevel
private int mipLevel
-
-
构造器详细资料
-
TextureAtlas
-
-
方法详细资料
-
load
- 指定者:
load
在类中AbstractTexture
-
upload
-
dumpContents
- 指定者:
dumpContents
在接口中Dumpable
- 抛出:
IOException
-
dumpSpriteNames
private static void dumpSpriteNames(Path pOutputDir, String pOutputFilename, Map<ResourceLocation, TextureAtlasSprite> p_261722_) -
cycleAnimationFrames
public void cycleAnimationFrames() -
tick
public void tick() -
getSprite
-
clearTextureData
public void clearTextureData() -
location
-
maxSupportedTextureSize
public int maxSupportedTextureSize() -
getWidth
int getWidth() -
getHeight
int getHeight() -
updateFilter
-
getTextureLocations
返回 the set of sprites in this atlas.。- 返回:
- the set of sprites in this atlas.
-