Skip to content

Interface Animation

🏷️ Properties

frames

ts
frames: Object[]

Defined in: packages/resourcepack/format.ts:124

frametime

ts
frametime: number

Sets the default time for each frame in increments of one game tick. Defaults to 1.

Defined in: packages/resourcepack/format.ts:123

height

ts
height: number

The height of the tile in direct pixels, as a ratio rather than in pixels. This is unused in vanilla but can be used by mods to have frames that are not perfect squares.

Defined in: packages/resourcepack/format.ts:119

interpolate

ts
interpolate: boolean

If true, Minecraft will generate additional frames between frames with a frame time greater than 1 between them. Defaults to false.

Defined in: packages/resourcepack/format.ts:111

width

ts
width: number

The width of the tile, as a direct ratio rather than in pixels. This is unused in vanilla but can be used by mods to have frames that are not perfect squares.

Defined in: packages/resourcepack/format.ts:115