Class SpriteContents.AnimatedTexture
java.lang.Object
net.minecraft.client.renderer.texture.SpriteContents.AnimatedTexture
- Enclosing class:
SpriteContents
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
(package private) final List
<SpriteContents.FrameInfo> private final boolean
-
Constructor Summary
ConstructorDescriptionAnimatedTexture
(List<SpriteContents.FrameInfo> p_250968_, int p_251686_, boolean p_251832_) -
Method Summary
Modifier and TypeMethodDescription(package private) int
getFrameX
(int p_249475_) (package private) int
getFrameY
(int p_251327_) void
uploadFirstFrame
(int p_251807_, int p_248676_) (package private) void
uploadFrame
(int p_250449_, int p_248877_, int p_249060_)
-
Field Details
-
frames
-
frameRowSize
private final int frameRowSize -
interpolateFrames
private final boolean interpolateFrames
-
-
Constructor Details
-
AnimatedTexture
AnimatedTexture(List<SpriteContents.FrameInfo> p_250968_, int p_251686_, boolean p_251832_)
-
-
Method Details
-
getFrameX
int getFrameX(int p_249475_) -
getFrameY
int getFrameY(int p_251327_) -
uploadFrame
void uploadFrame(int p_250449_, int p_248877_, int p_249060_) -
createTicker
-
uploadFirstFrame
public void uploadFirstFrame(int p_251807_, int p_248676_) -
getUniqueFrames
-