Interface Animation
🏷️ Properties
frames
frames: { index: number; time: number }[]Defined in: packages/resourcepack/format.ts:124
frametime
frametime: numberSets the default time for each frame in increments of one game tick. Defaults to 1.
Defined in: packages/resourcepack/format.ts:123
height
height: numberThe 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
interpolate: booleanIf 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
width: numberThe 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