Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCosmetics MythicCosmetics
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 64
    • Issues 64
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCosmeticsMythicCosmetics
  • Wiki
  • Sprays

Last edited by Ashijin Sep 01, 2022
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Sprays

Sprays are a type of cosmetic where the player can "spray" different map arts onto the ground. Sprays are temporary and can be configured to disappear after a certain amount of time, or when a new spray is used.

These map arts are clientside and do not actually affect the world, so are safe for any types of servers.

Configuration

Configuration for sprays is simple! Just create or modify a file inside the offhands folder within whatever pack you're using with the following:

SUS_SPRAY:
  Material: MAP
  Model: 0
  Display: "&dSus"
  Description:
  - "&fLookin kinda sus"

Hats have the following options:

  • ID - The ID of the cosmetic (in this case SUS_SPRAY)
  • Material - The material the cosmetic model is attached to in your resource pack
  • Model - The CustomModelData number the cosmetic model is attached to in your resource pack
  • Display - The display name of the cosmetic in menus
  • Description - The lore of the cosmetic in menus

Sprays must also have a matching .png file in the same folder as the config file, with the name [id].png (where [id] is the ID of the spray).

Clone repository
  • Home
  • Changelogs

Setup

  • Configuration
  • Commands
  • Permissions
  • Compatibility
  • Placeholders
  • Color Tinting

Cosmetics

  • Hats
  • Sprays
  • Offhand
  • Gestures/Emotes
  • ModelEngine Accessories
  • Backpacks
  • Pets