CosmeticsCore
  • ๐Ÿ‘‹Welcome
  • โš™๏ธFirst install
    • Install base resourcepack
      • If you don't have a resourcepack
      • ItemsAdder
      • Any plugin and resourcepack
  • โ›”Terms of service
  • โ“Frequently asked questions
  • ๐Ÿ‡ฌ๐Ÿ‡งTranslations
  • ๐Ÿ“‘Files editor
  • ๐Ÿ–ฅ๏ธCommands
  • ๐Ÿ‘ŒPermissions
    • Examples
  • ๐ŸŽจAdding content
    • Properties
    • Creating a model
    • ๐ŸŽˆBallons (simple)
    • ๐ŸŽˆBallons ItemsAdder (simple)
    • ๐ŸŽˆBalloon (advanced)
      • ItemsAdder Entity
      • ModelEngine
      • Leash location
    • ๐ŸงขHat
    • ๐ŸŽ’Body Cosmetic
      • Static Body Cosmetic
      • Advanced Body Item
  • โš™๏ธSettings
  • ๐ŸšชWardrobe
    • โš™๏ธCustomization
    • ๐Ÿ’พSaving player data
  • โœ๏ธContribute
    • Edit the English wiki
    • Translate this wiki
    • Preview wiki changes
  • โœ…Compatibility with other plugins
    • Compatible
      • ItemsAdder
      • Vulcan
      • PlaceholderAPI
  • ๐Ÿ’ปDevelopers
    • โ˜•Java API
    • โ„ข๏ธBranding
Powered by GitBook
On this page
  • CustomModelData hat
  • ItemsAdder model
  1. Adding content

Hat

CustomModelData hat

You can create custom hats simply by using CustomModelData.

  # Example manually created hat with CustomModelData
  cowboy_hat:
    display_name: "Cowboy Hat"
    type: HAT
    model:
      gui: potion:300003
      normal: potion:300003
    dye:
      enabled: false # To avoid this item from being colored.

In this example I created a custom hat with CustomModelData 300003. I decided to use the same item both for the GUI preview and for the actual item which will be put on player's head.

ItemsAdder model

You can do the same thing but with ItemsAdder items models and avoid worrying about CustomModelData.

Example:

  # Example manually created hat with CustomModelData
  cowboy_hat:
    display_name: "Cowboy Hat"
    type: HAT
    model:
      gui: my_items:cowboy_hat_icon
      normal: my_items:cowboy_hat
    dye:
      enabled: false # To avoid this item from being colored.

In this example you can see I used my_items:cowboy_hat_icon as icon my_items:cowboy_hat as item. They both are items from ItemsAdder.

PreviousLeash locationNextBody Cosmetic

Last updated 1 year ago

๐ŸŽจ
๐Ÿงข