Class representing texture that can be animated.
Represents deprecated render type, should be performed in texture packs.
Creates new Texture object using specified file path.
Texture resolution after recalculating it with pixel scale.
Current animation frame.
Resets animation.
Reference to itself to be used in sequential calls.
Makes texture animated.
array of paths to the animation frames. Each frame should be stored in a separate file
specifies each frame delay in ticks
Sets pixel scale for the texture.
Specifies texture resolution. If not equal to file dimensions, the image will be stretched to fit the resolution.
Sets texture file path.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Class representing texture that can be animated.
Deprecated
Represents deprecated render type, should be performed in texture packs.