//This JSON was modified by Rainvay_ZCYF (@ZouChenyunfei) and AgentMindStorm (@agentms_). Please do not use this document without permission.
{
  "namespace": "toast_screen",
  "chat_popup": {
    "size": [ 160, 32 ],
    "$offset_anims|default": [
      "@toast_screen.popup_anim_start"
    ]
  },
  "popup": {
    "$toast_anchor_from|default": "top_right",
    "$toast_anchor_to|default": "top_right",
    "$toast_offset|default": [ 0, 0 ],
    "size": [ 160, 32 ]
  },
  "formfitting_alpha_toast": {
    "$alpha_anims": [],
    "$display_time": 3.0,
    "anchor_from": "top_right",
    "anchor_to": "top_right",
    "$toast_offset|default": [ 0, 0 ],
    "size": [ 160, 32 ]
  },
  "formfitting_alpha_toast/bg": {
    "offset": "$offset_anims",
    "$offset_anims|default": [
      "@toast_screen.popup_anim_start"
    ]
  },
  "popup_anim_end": {
    "easing": "out_cubic",
    "duration": 1.2,
    "from": [ 0, 0 ],
    "to": [ "14% + 200px", 0 ],
    "destroy_at_end": "$toast_control",
    "end_event": "toast_end"
  },
  "popup_anim_start": {
    "easing": "out_cubic",
    "duration": 1.2,
    "from": [ "14% + 180px", 0 ],
    "to": [ 0, 0 ],
    "next": "@toast_screen.popup_anim_wait"
  },
  "popup_anim_wait": {
    "duration": "$display_time",
    "next": "@toast_screen.popup_anim_end"
  },
  "resource_pack_icon": {
    "$icon_size|default": [ 16, 16 ]
  }
}