ScratchIt
🇨🇳 简体中文
🇨🇳 简体中文
  • 👋🏻欢迎使用
  • ⚙️首次安装
  • 📄在线编辑器
  • 📖配置文件
    • 权限
    • 卡片
      • 如何创建一个新卡片
      • 图标位置
      • 动作
      • 冷却
      • 取消使用
    • 战利品
    • 卡片示例图片
  • 兼容的插件
    • WorldGuard
  • 兼容的Minecraft版本
  • 📒获得支持
    • 🐞反馈Bug
    • 📕获取帮助
  • 开发者
    • ☕️Java API
      • Basic API
      • 自定义卡片渲染器
Powered by GitBook
On this page

Was this helpful?

  1. 📖配置文件
  2. 卡片

图标位置

Previous如何创建一个新卡片Next动作

Last updated 4 years ago

Was this helpful?

If you want to specify where to draw the icons of your card you have to use this special property:

  icons:
    icon_1:
      x: 20
      y: 20
    icon_2:
      x: 20
      y: 40
    icon_3:
      x: 20
      y: 60
    icon_4:
      x: 20
      y: 80
    icon_5:
      x: 20
      y: 100

This example setting tells the plugin to draw the icons on these coords on the card. The card coords are shown in this screenshot: