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 sprays
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 caseSUS_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).