Uses of Class
net.minecraft.client.texture.Sprite.Animation
Packages that use Sprite.Animation
-
Uses of Sprite.Animation in net.minecraft.client.texture
Fields in net.minecraft.client.texture declared as Sprite.AnimationMethods in net.minecraft.client.texture that return Sprite.AnimationModifier and TypeMethodDescriptionprivate @Nullable Sprite.AnimationSprite.createAnimation(Sprite.Info info, int nativeImageWidth, int nativeImageHeight, int maxLevel) Methods in net.minecraft.client.texture with parameters of type Sprite.AnimationModifier and TypeMethodDescription(package private) voidSprite.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 intSprite.Interpolation.getPixelColor(Sprite.Animation animation, int frameIndex, int layer, int x, int y) Returns the pixel color at frameframeIndexwithin mipmaplayerat sprite relative coordinates.