ScratchIt
English
English
  • 👋🏻Welcome
  • ⚙️First install
  • 📄Online Config Editor
  • 📖Configurations
    • Permissions
    • Card
      • How to create a card
      • Icons locations
      • Animations
      • Cooldowns
      • Cancel usage
    • Loots
    • Cards example images
  • Compatibility with other plugins
    • WorldGuard
  • Minecraft versions compatibility
  • 📒Support
    • 🐞Report a bug
    • 📕Ask for help
  • Developers
    • ☕️Java API
      • Basic API
      • CustomCardRenderer
Powered by GitBook
On this page

Was this helpful?

  1. 📖Configurations
  2. Card

Icons locations

PreviousHow to create a cardNextAnimations

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: