Render Layers
Render layers draw extra models or effects on top of an entity. These are the render layers Argon adds.
3 listed · Argon 1.1.0
Anchored Lightning Sparks
Like Palladium's Lightning Sparks, but the sparks can be tied to named body part bones using the same "anchors" as the Thrusters layer.
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
frequency | Float | The frequency of the sparks. | ✗ | 0.5 |
amount | Integer | How many sparks spawn each time, per anchor (or for the whole entity if "anchors" is empty). | ✗ | 5 |
render_settings | Laser Renderer Settings | The render settings for the sparks. | ✓ | / |
anchors | string[] | Bones to spawn sparks at, e.g. "head" or "right_arm". Each gets its own spark cycle. Empty spawns them anywhere on the entity, like palladium:lightning_sparks. | ✗ | [] |
anchor_size | Float | Only relevant when "anchors" isn't empty: how far, in blocks, sparks jitter from the anchor point. | ✗ | 0.3 |
offset | Vector 3D | [x, y, z] offset from the anchor (or the entity if "anchors" is empty), so sparks can sit off the bone's pivot. | ✗ | [ 0, 0, 0 ] |
transformation | Identifier, Identifier[] | Transformation ID(s). The layer only shows while one of these transformations is shown, on the transformed model. Without this field the layer is hidden while a transformation model is shown. Layers inside a compound layer without their own value use the one of the compound. | ✗ | / |
shrink_player_parts | capejacketleft_sleeveright_sleeveleft_pants_legright_pants_leghat | Skin overlay part(s) that are scaled down slightly while this layer is visible, so they don't stick out of the layer's model. "cape" has no effect. | ✗ | / |
Cloth Render Layer
Renders a simulated cloth grid (a cape by default) that flows, bends and trails behind the wearer instead of turning as one flat plane.
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
attachment | backleft_armright_armwaist | Which part of the cloth grid is pinned to the wearer: "back" (cape), "left_arm" or "right_arm" (draped along an arm), or "waist" (skirt or kilt, a box-shaped loop around the hips). | ✗ | back |
material | Identifier, Inline Material Object | A registered material id (e.g. "argon:heavy") or an inline object overriding individual physics properties. | ✗ | argon:standard |
size | Vector 2D | [length, width] of the cloth at rest, in blocks. For a "waist" attachment, "width" is the half-width of the left and right sides of the box. "depth" sets the front and back. | ✗ | [ 1.8, 1 ] |
segments | Vector 2D | [segments_x, segments_y]: simulation columns/rows. More = smoother bending at a performance cost. | ✗ | [ 4, 8 ] |
wrap | Float | "back" attachment only. Curves the pinned edge forward so it hugs the wearer's sides, turning a flat cape into a wrap-around cloak. 0 is flat. | ✗ | 0.0 |
depth | Float | "waist" attachment only. Half-depth of the front and back sides, in blocks. Usually smaller than "width", since players are thinner front to back. Defaults to "width". | ✗ | / |
pitch_influence | Float | "waist" attachment only. While crouching, the garment follows the body's pitch as one piece. This scales how much, 0 ignores it and 1 follows fully. | ✗ | 0.6 |
hem_pitch_fraction | Float | Currently unused. Kept so existing configs that set it still load. | ✗ | 0.25 |
attach | Vector 3D | [x, y, z] offset of the attach point from the neck, in wearer space. Y=0 is neck height and higher Y goes down. A cape needs a positive Z to sit behind. For "waist" use X=0, Z=0 and Y about 0.75-0.9. | ✗ | [ 0, 0.1, 0.4 ] |
taper | Float | "back" attachment only. Width at the shoulders as a fraction of the width at the hem, 0.05 to 1. Below 1 the cloth is a trapezoid that flares out to "width" at the hem. 1 is a plain rectangle. | ✗ | 1.0 |
aerodynamics | Cloth Aerodynamics | How the cloth reacts to the wearer's real speed, not the selected flight level. Each part is documented in the tables below. | ✗ | {} |
texture | Texture Reference, Dynamic Texture | The texture for the cloth. UVs stay stable across the grid however the cloth deforms. | ✓ | / |
render_type | minecraft:entity_translucentminecraft:entity_cutoutminecraft:entity_cutout_cullpalladium:entity_translucent_cullpalladium:glowpalladium:glow_cullargon:glowargon:additiveargon:glow_no_depth_writeargon:glow_emissionargon:additive_emission | The render type to draw the cloth with. | ✗ | minecraft:entity_translucent |
transformation | Identifier, Identifier[] | Transformation ID(s). The layer only shows while one of these transformations is shown, on the transformed model. Without this field the layer is hidden while a transformation model is shown. Layers inside a compound layer without their own value use the one of the compound. | ✗ | / |
shrink_player_parts | capejacketleft_sleeveright_sleeveleft_pants_legright_pants_leghat | Skin overlay part(s) that are scaled down slightly while this layer is visible, so they don't stick out of the layer's model. "cape" has no effect. | ✗ | / |
aerodynamics (Cloth Aerodynamics)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
airflow_strength | Float (0.0 ~ 4.0) | How strongly the wearer's speed blows the cloth back. | ✗ | 1.0 |
turn_inertia | Float (0.0 ~ 4.0) | How much the cloth lags behind when the wearer turns. | ✗ | 1.0 |
flight_stabilization | Float (0.0 ~ 1.0) | Calms the swinging of the cloth at speed. | ✗ | 0.6 |
flight_stiffness_multiplier | Float (1.0 ~ 3.0) | Multiplies the stiffness of the cloth during flight. | ✗ | 1.15 |
stiffness_response | Float (0.01 ~ 1.0) | How quickly the stiffness follows the speed. | ✗ | 0.1 |
body_hug | Float (0.0 ~ 1.0) | How tightly a back cape is pulled against the body near top speed. | ✗ | 0.75 |
hug_start | Float (0.0 ~ 0.99) | How far through the speed range the hugging begins. | ✗ | 0.6 |
limb_collision | Cloth Limb Collision | Keeps the cloth out of the wearer's body. Back capes only. | ✗ | / |
narrowing | Cloth Narrowing | Narrows the cloth as the wearer speeds up. | ✗ | / |
flutter | Cloth Flutter | Makes the cloth flutter at speed. | ✗ | / |
aerodynamics.limb_collision (Cloth Limb Collision)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
enabled | Boolean | Whether the cloth is kept out of the body shapes. Back capes only. | ✗ | true |
torso | Cloth Torso Shape | The torso shape the cloth stays out of. | ✗ | / |
head | Cloth Head Shape | The head shape the cloth stays out of. | ✗ | / |
arms | Cloth Arm Shape | The arm shape the cloth stays out of. | ✗ | / |
legs | Cloth Leg Shape | The leg shape the cloth stays out of. | ✗ | / |
aerodynamics.limb_collision.torso (Cloth Torso Shape)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
width | Float (0.1 ~ 2.0) | The width of the shape in blocks. | ✗ | 0.5 |
depth | Float (0.05 ~ 1.0) | The depth of the shape in blocks. | ✗ | 0.25 |
length | Float (0.1 ~ 2.0) | The length of the shape in blocks. | ✗ | 1.1 |
radius | Float (0.0 ~ 0.6) | How rounded the corners are, in blocks. | ✗ | 0.1 |
aerodynamics.limb_collision.head (Cloth Head Shape)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
width | Float (0.1 ~ 2.0) | The width of the shape in blocks. | ✗ | 0.5 |
depth | Float (0.05 ~ 1.0) | The depth of the shape in blocks. | ✗ | 0.5 |
length | Float (0.1 ~ 2.0) | The length of the shape in blocks. | ✗ | 0.5 |
radius | Float (0.0 ~ 0.6) | How rounded the corners are, in blocks. | ✗ | 0.1 |
aerodynamics.limb_collision.arms (Cloth Arm Shape)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
radius | Float (0.05 ~ 1.0) | The radius of the limb in blocks. | ✗ | 0.3 |
length | Float (0.1 ~ 1.5) | The length of the limb in blocks. | ✗ | 0.8 |
aerodynamics.limb_collision.legs (Cloth Leg Shape)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
radius | Float (0.05 ~ 1.0) | The radius of the limb in blocks. | ✗ | 0.25 |
length | Float (0.1 ~ 1.5) | The length of the limb in blocks. | ✗ | 0.8 |
aerodynamics.narrowing (Cloth Narrowing)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
enabled | Boolean | Whether the cloth narrows at speed. Not used by waist cloth. | ✗ | true |
start_speed | Float (0.0 ~ 1000.0) | The speed in blocks per second where narrowing starts when there is no flight. | ✗ | 10.0 |
full_speed | Float (0.0 ~ 1000.0) | The speed in blocks per second where narrowing is full when there is no flight. | ✗ | 40.0 |
start_fraction | Float (0.0 ~ 2.0) | The fraction of the wearer's top flight speed where narrowing starts. | ✗ | 0.25 |
full_fraction | Float (0.0 ~ 2.0) | The fraction of the wearer's top flight speed where narrowing is full. | ✗ | 0.85 |
maximum | Float (0.0 ~ 0.9) | The most the cloth narrows. The default is 0.35 when wrap is above 0 or for arms. | ✗ | 0.6 |
response | Float (0.001 ~ 1.0) | How quickly the cloth narrows. | ✗ | 0.06 |
recovery | Float (0.001 ~ 1.0) | How quickly the cloth widens again. | ✗ | 0.04 |
distribution | Float (0.1 ~ 6.0) | Higher values keep the top of the cloth wider. | ✗ | 1.5 |
fold | Float (0.0 ~ 1.5) | How much the cloth folds into pleats. 0 turns the pleats off. | ✗ | 1.0 |
compression | Float (0.0 ~ 0.9) | How much of the narrowing squeezes the cloth itself instead of folding it. | ✗ | 0.5 |
aerodynamics.flutter (Cloth Flutter)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
intensity | Float (0.0 ~ 5.0) | How strong the fluttering is. | ✗ | 1.0 |
frequency | Float (0.1 ~ 5.0) | How fast the cloth flutters. | ✗ | 1.0 |
speed_influence | Float (0.0 ~ 4.0) | How much the wearer's speed adds to the fluttering. | ✗ | 1.0 |
damping | Float (0.0 ~ 1.0) | How quickly the fluttering dies down. | ✗ | 0.6 |
edge_multiplier | Float (1.0 ~ 5.0) | How much stronger the fluttering is at the free edge. | ✗ | 1.5 |
Fade Render Layer
Wraps another render layer and draws it at a changing opacity so it can fade in and out. Put the wrapped layer's conditions inside "layer". Nothing is drawn at opacity 0.
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
opacity | Float / Value | (Dynamic) 0 to 1, how opaque the wrapped layer is. Usually an ability's eased animation timer, e.g. palladium.get_animation_timer_eased('namespace:power#ability'), which already runs 0 to 1. | ✗ | 1.0 |
layer | Render Layers | The render layer to draw, written exactly as it would be on its own, including its "conditions". | ✓ | / |