# Accessories

## Overview

### Palladium

- Dummy
- Render Layer
- Overlay
- Humanoid Model Layer

## Dummy

Does nothing.

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
slot | ResourceLocation | ID of the slot the accessory will be in. Can be one or many. Possible values: [palladium:hat, palladium:head, palladium:face, palladium:chest, palladium:back, palladium:main_arm, palladium:off_arm, palladium:main_hand, palladium:off_hand, palladium:right_leg, palladium:left_leg, palladium:special, pantheonsent:moon_knight_suit] | true | /

### Example:

    {"type":"palladium:dummy","slot":"palladium:head"}

## Render Layer

Let's you use a render layer as an accessory

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
render_layer | ResourceLocation | ID of the render layer that's being used | true | /
disable_rendering | Boolean | Disables the rendering of the accessory, in case you want to hook it up to a render_layer_from_accessory ability | false | false
slot | ResourceLocation | ID of the slot the accessory will be in. Can be one or many. Possible values: [palladium:hat, palladium:head, palladium:face, palladium:chest, palladium:back, palladium:main_arm, palladium:off_arm, palladium:main_hand, palladium:off_hand, palladium:right_leg, palladium:left_leg, palladium:special, pantheonsent:moon_knight_suit] | true | /

### Example:

    {"type":"palladium:render_layer","render_layer":"namespace:example_layer","disable_rendering":false,"slot":"palladium:head"}

## Overlay

Renders a texture skin-tight on the player

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
texture | TextureReference | Texture of the overlay. Can be skin-typed by specifying 'normal' and 'slim' in a json object. | true | /
glowing | Boolean | Makes the overlay glow | false | false
only_render_for_slot | Boolean | If set to true, the texture will only render for the specified slot of the accessory. Example: The texture has a full player skin and the slot is set to 'head', only the head part of it will render. | false | false
hand_visibility_fix | Boolean | If 'only_render_for_slot' is set to true while the slot is for a hand but you want to have the accessory on the arm, set this to true. | false | false
slot | ResourceLocation | ID of the slot the accessory will be in. Can be one or many. Possible values: [palladium:hat, palladium:head, palladium:face, palladium:chest, palladium:back, palladium:main_arm, palladium:off_arm, palladium:main_hand, palladium:off_hand, palladium:right_leg, palladium:left_leg, palladium:special, pantheonsent:moon_knight_suit] | true | /

### Example:

    {"type":"palladium:overlay","texture":"example:textures/accessory/test.png","glowing":false,"only_render_for_slot":false,"hand_visibility_fix":false,"slot":"palladium:head"}

## Humanoid Model Layer

Renders a humanoid model layer on the player

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
texture | TextureReference | Texture for the accessory. Can be skin-typed by specifying 'normal' and 'slim' in a json object. | true | /
model_layer | ModelLayerLocationUtil | Model layer for the accessory. Can be skin-typed by specifying 'normal' and 'slim' in a json object. | true | /
glowing | Boolean | Makes the overlay glow | false | false
only_render_for_slot | Boolean | If set to true, the texture will only render for the specified slot of the accessory. Example: The texture has a full player skin and the slot is set to 'head', only the head part of it will render. | false | false
hand_visibility_fix | Boolean | If 'only_render_for_slot' is set to true while the slot is for a hand but you want to have the accessory on the arm, set this to true. | false | false
slot | ResourceLocation | ID of the slot the accessory will be in. Can be one or many. Possible values: [palladium:hat, palladium:head, palladium:face, palladium:chest, palladium:back, palladium:main_arm, palladium:off_arm, palladium:main_hand, palladium:off_hand, palladium:right_leg, palladium:left_leg, palladium:special, pantheonsent:moon_knight_suit] | true | /

### Example:

    {"type":"palladium:humanoid_model_layer","texture":"example:textures/accessory/test.png","model_layer":"example:textures/accessory/test.png","glowing":false,"only_render_for_slot":false,"hand_visibility_fix":false,"slot":"palladium:head"}