Uses of Class
net.minecraft.client.texture.Sprite.Animation
-
Uses of Sprite.Animation in net.minecraft.client.texture
Modifier and TypeMethodDescriptionprivate @Nullable Sprite.Animation
Sprite.createAnimation
(Sprite.Info info, int nativeImageWidth, int nativeImageHeight, int maxLevel) Modifier and TypeMethodDescription(package private) void
Sprite.Interpolation.apply
(Sprite.Animation animation) Linearly interpolate between the current and next frame on all mip levels based on the tick position within the current frame, and upload the results to the currently bound texture to the frame slot at position (0,0).private int
Sprite.Interpolation.getPixelColor
(Sprite.Animation animation, int frameIndex, int layer, int x, int y) Returns the pixel color at frameframeIndex
within mipmaplayer
at sprite relative coordinates.