类 SpriteContents
java.lang.Object
net.minecraft.client.renderer.texture.SpriteContents
- 所有已实现的接口:
AutoCloseable
,Stitcher.Entry
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) class
(专用程序包) static final record
(专用程序包) final class
(专用程序包) class
-
字段概要
字段修饰符和类型字段说明(专用程序包) final SpriteContents.AnimatedTexture
final ForgeTextureMetadata
(专用程序包) final int
private static final org.slf4j.Logger
private final ResourceMetadata
private final ResourceLocation
private final NativeImage
(专用程序包) final int
-
构造器概要
构造器构造器说明SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, ResourceMetadata p_299427_) 已过时。SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, ResourceMetadata p_299427_, ForgeTextureMetadata forgeMeta) -
方法概要
修饰符和类型方法说明void
close()
private SpriteContents.AnimatedTexture
createAnimatedTexture
(FrameSize p_250817_, int p_249792_, int p_252353_, AnimationMetadataSection p_250947_) (专用程序包) int
int
height()
void
increaseMipLevel
(int p_248864_) boolean
isTransparent
(int p_250374_, int p_250934_, int p_249573_) metadata()
name()
toString()
(专用程序包) void
upload
(int p_248895_, int p_250245_, int p_250458_, int p_251337_, NativeImage[] p_248825_) void
uploadFirstFrame
(int p_252315_, int p_248634_) int
width()
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
name
-
width
final int width -
height
final int height -
originalImage
-
byMipLevel
-
animatedTexture
-
metadata
-
forgeMeta
-
-
构造器详细资料
-
SpriteContents
@Deprecated public SpriteContents(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, ResourceMetadata p_299427_) 已过时。Forge: Use the引用无效
overload with Forge metadata parameter
-
SpriteContents
public SpriteContents(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, ResourceMetadata p_299427_, @Nullable ForgeTextureMetadata forgeMeta)
-
-
方法详细资料
-
increaseMipLevel
public void increaseMipLevel(int p_248864_) -
getFrameCount
int getFrameCount() -
createAnimatedTexture
@Nullable private SpriteContents.AnimatedTexture createAnimatedTexture(FrameSize p_250817_, int p_249792_, int p_252353_, AnimationMetadataSection p_250947_) -
upload
-
width
public int width()- 指定者:
width
在接口中Stitcher.Entry
-
height
public int height()- 指定者:
height
在接口中Stitcher.Entry
-
name
- 指定者:
name
在接口中Stitcher.Entry
-
getOriginalImage
-
getUniqueFrames
-
createTicker
-
metadata
-
close
public void close()- 指定者:
close
在接口中AutoCloseable
-
toString
-
isTransparent
public boolean isTransparent(int p_250374_, int p_250934_, int p_249573_) -
uploadFirstFrame
public void uploadFirstFrame(int p_252315_, int p_248634_)
-
引用无效