类的使用
net.minecraft.client.texture.Sprite.Animation
-
使用Sprite.Animation的程序包 程序包 说明 net.minecraft.client.texture -
-
net.minecraft.client.texture中Sprite.Animation的使用
声明为Sprite.Animation的net.minecraft.client.texture中的字段 修饰符和类型 字段 说明 private @Nullable Sprite.AnimationSprite. animation返回Sprite.Animation的net.minecraft.client.texture中的方法 修饰符和类型 方法 说明 private @Nullable Sprite.AnimationSprite. method_33437(Sprite.Info info, int nativeImageWidth, int nativeImageHeight, int maxLevel)参数类型为Sprite.Animation的net.minecraft.client.texture中的方法 修饰符和类型 方法 说明 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 int2, int int3, int int4)Returns the pixel color at frameframeIndexwithin mipmaplayerat sprite relative coordinates.
-