Skip to main content

Item Animation

Animated icons are mainly implemented through the frames node, which configures a List collection where the objects in the collection are item frames For example:

'animatedIcon':
material: stone
frames:
- material: stone
- material: diamond
last: 20

Item Frames

Each item frame contains the same nodes as the display part of icons, as follows:

NodeAliasesAccepted ValuesDescription
lastdelayLongDuration of the item frame
materialtexture, matString / ObjectIcon material (vanilla or special source)
headskullStringCustom skull material
zaphkielzapStringZaphkiel plugin support
oraxen-StringOraxen plugin support
itemsadderiaStringItemsAdder plugin support
NeigeItemsniStringNeigeItems plugin support
craftengineceStringCraftEngine plugin support
HMCCosmeticshmcStringHMCCosmetics plugin support
SX-ItemsiStringSX-Item plugin support
MMOItemsmiStringMMOItems plugin support
EcoItemsecoStringEcoItems plugin support
MagicCosmeticsmagicStringMagicCosmetics plugin support
headdatabasehdbStringHeadDatabase plugin support
serializedbase64StringSerialized base64 item
kether-StringKether script item
name-StringItem display name
loreloresString / ListItem display description
amountcount, amtIntItem quantity
damagedurability, durIntItem durability
customModelDatamodelIntItem model ID (1.14+)
color-StringItem color
glowshinyBoolWhether item glows
enchantmentsenchantment, enchantMapItem enchantment properties
flagsflagListItem flags
unbreakable-BoolWhether item is unbreakable
nbt-MapItem NBT properties
enhancedLore-BoolEnable enhanced Lore parsing
slotslots(List) Int / StringSpecify display slots

The new node last specifies the duration of this item frame

tip

Item frames only need to configure partial properties. When playing to this frame, the item will only change the properties configured in this frame
All other properties remain unchanged

Default Properties

Default properties of the dynamic frame system are set through the frames-properties property under the icon root node

NodeAliasesAccepted ValuesDescription
frames-propertiesframes-prop, propObjectDynamic item frame default settings
frames-prop:
last: 20
mode: reversable
  • last is the default duration of item frames
  • mode is the playback mode

Playback Modes

ModeDescription
LOOPSequential loop (default)
ONE_WAYSingle loop
REVERSABLEForward and reverse loop
RANDOMRandom frame selection
Did you know?

The playback mode of dynamic titles also has the same configuration properties

Examples

'animatedStone':
material: stone
frames-prop:
last: 3
type: reversable
frames:
- name: S
- name: St
- name: Sto
- name: Ston
- name: Stone

animated_stone

'rainbowRunningWool':
material: white wool
frames-prop:
last: 3
type: reversable
frames:
- material: red wool
slot: 0
- material: orange wool
slot: 1
- material: yellow wool
slot: 2
- material: green wool
slot: 3
- material: lime wool
slot: 4
- material: cyan wool
slot: 5
- material: pink wool
slot: 6
- material: pink wool
slot: 7
- material: gray wool
slot: 8

animated_wool

Time Units

Unless otherwise specified, time units are in ticks
20 ticks = 1 second