Cog Appearance

Cog Appearances can be modified using Data Packs.

Currently you can only override the appearance of pre-existing Cogs.

Cog Appearances are defined in the [datapack root]/cogs/appearance/ folder named by their abbreviation (e.g. ac.json for Ambulance Chaser).

Cog Appearance Format

key type description
head_models List of Head Models Defines all the head models that will load - You can specify many Head Models in here
body_type int (0-2) The body type of the Cog (A: 0, B: 1, C: 2)
scale float The scale of the Cog
height float The height of the Cog (Primarily used to position the nametag)
torso_texture string File path to the texture used for the torso
arm_texture string File path to the texture used for the arms
leg_texture string File path to the texture used for the legs
name Text The cog name (e.g. Flunky)
name_singular Text The cog name when used in a singular context (e.g. A Flunky)
name_plural Text The cog name when used in a plural context (e.g. Flunkies)
hand_color List of 4 floats Specifies the color of the hand color in rgba (each value uses a 0.0-1.0 range)
color_scale List of 4 floats Specifies the color scale of the entire cog in rgba (each value uses a 0.0-1.0 range)
quote_sets List of strings Specifies the file name(s), without the .json, of the quote sets to use

All of these fields have default values if you leave one out of your appearance file

Head Model type

key type description
path string The path to the model file (required)
node string The subnode name to search the model file for (optional - if this is not defined, the entire model specified in path will be used
texture string The path to a texture file to override the texture on the head part (optional - if this is not defined the head part will use its normal texture)
color_scale List of 4 floats Specifies the color scale of the head in rgba (each value uses a 0.0-1.0 range) (optional)
position List of 3 floats Specifies the x, y, and z coordinates to offset the head part by (optional)
rotation List of 3 floats Specifies the h, p, and r rotations to offset the head part by (optional)
scale List of 3 floats Specifies the x, y, and z, scale of the head part (optional)

Text type

The Text type is just a string, but also supports using Localized text. To use a localized string, use # followed by the localizer key name. You can find a list of all localizer keys here. If you do not intend to use a localized string, just do not include the # and type out the string as usual

Example

The following is the Cog Appearance of the Flunky

{
    "head_models": [
        {
            "path": "phase_3.5/models/char/suitC-heads",
            "node": "flunky"
        },
        {
            "path": "phase_3.5/models/char/suitC-heads",
            "node": "glasses"
        }
    ],
    "body_type": 2,
    "scale": 0.966183575,
    "height": 4.88,
    "torso_texture": "phase_3.5/maps/c_blazer.png",
    "leg_texture": "phase_3.5/maps/c_leg.png",
    "arm_texture": "phase_3.5/maps/c_sleeve.png",
    "name": "#SuitFlunky",
    "name_singular": "#SuitFlunkyS",
    "name_plural": "#SuitFlunkyP",
    "hand_color": [0.95, 0.75, 0.75, 1.0],
    "quote_sets": [
        "f",
        "default_cog_building_boss_taunts",
        "default_country_club_boss_taunts",
        "default_country_club_minion_taunts"
    ]
}
An unhandled exception has occurred. See browser dev tools for details. Reload 🗙