FlipCard Wiki
  • 🎉Welcome
  • 📦Info
    • ✅Requirements
    • ⚙️Install
    • 🔗Compatibility
    • 🛠️Configuration files
    • ⌨️Commands
    • 📋Format
  • 🖥️Flip UI
    • 📝UI Config
      • Rewards Option
      • Prices Option
    • 🖼️Textures
  • ✨Features
    • 🎨Color Code
    • 🎥Custom Animation
    • 🌍Localized Item Name
    • 💾Saved Item
    • 🔄Auto Copy Resource Pack
    • 🔍Custom Item Match Method
Powered by GitBook
On this page
  1. ✨Features

🎥Custom Animation

  • Open your config.yml file, add below contents in it.

animations:
  chest:
    chest_1:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
      material: WHITE_DYE
      cmd: 70025
    chest_2:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
      material: WHITE_DYE
      cmd: 70026
    chest_3:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
      material: WHITE_DYE
      cmd: 70027
    chest_4:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
      material: WHITE_DYE
      cmd: 70028
    chest_5:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
      material: WHITE_DYE
      cmd: 70029
    chest_6:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
      material: WHITE_DYE
      cmd: 70030
    chest_7:
      rotation: 0.0
      y_translation: -18.0
      z_translation: -28.0
      x_scale: 1.9
      y_scale: 1.9
      material: WHITE_DYE
      cmd: 70031
  • material and cmd is optional, if not set, plugin will auto generate them.

  • A custom animation must have 7 ticks, the first tick is same as front card, the last tick is same as back card, other 5 ticks are animations, if you set more or less then 7 ticks, animation maybe have some small problems (not test).

  • Send /fc reload command in your server.

NOTE: After sent this command, you should NOT change the animation option in config.yml anymore.

  • Copy new resource pack to your client.

  • Open ui/<uiName>.yml, find your card configs, remove front and back option in it, and add animate option with the animation id. (like chest in this example).

Previous🎨Color CodeNext🌍Localized Item Name

Last updated 4 months ago