Beams
Beam renderers decide how a beam looks. Use their ID as the beam_renderer of an ability that shoots a beam.
5 listed · Argon 1.1.0
Boxed Textured
Renders a beam as a stack of textured boxes like palladium's "textured" renderer, but each face has its own lighting normal. That fixes wrong or flickering brightness on side and bottom faces.
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
texture | Texture Reference | The texture applied to each box segment. | ✓ | / |
size | Float (>= 0.0), Vector 2D | The cross-section size of each box segment, in blocks. | ✗ | 0.0625 |
texture_length | Float | How many blocks of beam one full copy of the texture covers, separate from "size". Keeps the arm's thickness fixed while you control how dense the texture is. Defaults to the average of "size"'s width and height. | ✗ | / |
rotation | Float | A fixed rotation, in degrees, around the beam's own axis. | ✗ | 0.0 |
rotation_speed | Float | Degrees per tick to continuously spin the boxes around the beam's own axis. | ✗ | 0.0 |
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 render the beam with. | ✗ | minecraft:entity_cutout |
light_emission | Integer | The light emission of the beam, from 0 to 15. | ✗ | 0 |
Cone
Draws a beam as a cone from "start_size" to "end_size" blocks wide, with a soft glow, a brighter core and an optional scrolling texture. Pair it with the "cone" setting of argon:energy_beam.
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
start_size | Float | How wide the cone is where it starts, in blocks. | ✗ | 0.15 |
end_size | Float | How wide the cone is where it ends, in blocks. | ✗ | 3.0 |
end_distance | Float | If set, "end_size" is reached this many blocks from the start and the cone keeps that angle however long the beam is, so a beam stopped by a wall is narrower. Set it to the ability's max_distance. Without it, "end_size" is the width wherever the beam ends. | ✗ | / |
glow | Cone Layer | The soft outer glow: its colour (hex), its opacity (0 turns it off) and its width compared with the whole cone's. Drawn as "glow_layers" nested cones. | ✗ | { "color": "#FFFFFF", "opacity": 0.35, "scale": 1.0 } |
core | Cone Layer | The brighter core inside the glow, set the same way. | ✗ | { "color": "#FFFFFF", "opacity": 0.5, "scale": 0.45 } |
glow_layers | Integer | How many nested cones the glow is made of (1-8): more is softer and thicker toward the middle. | ✗ | 3 |
texture | Cone Texture | A texture over the cone's surface. Keys: texture*, color, opacity (0.6), scale (1), texture_length (2), around (2), scroll_speed (0.03), rotation_speed (0). | ✗ | / |
blend | additivetranslucent | How the cone is blended into the scene: additive glows brighter where layers overlap, translucent is a plain see-through surface. | ✗ | ADDITIVE |
end_fade | Float | How opaque the far end of the cone is compared to the start, 0 to 1. Lower fades the cone out along its length. | ✗ | 0.2 |
segments | Integer | How many flat sides the cone is drawn with (6-64): more is rounder. | ✗ | 16 |
glow (Cone Layer)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
color | Color | The color of the layer. | ✗ | / |
opacity | Float (0.0 ~ 1.0) | How opaque the layer is. | ✗ | / |
scale | Float (0.01 ~ 4.0) | The size of the layer relative to the cone. | ✗ | / |
texture (Cone Texture)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
texture | Identifier | The texture drawn on the cone. | ✓ | / |
color | Color | The tint of the texture. | ✗ | / |
opacity | Float (0.0 ~ 1.0) | How opaque the texture is. | ✗ | / |
scale | Float (0.01 ~ 4.0) | The size of the texture relative to the cone. | ✗ | / |
texture_length | Float (0.05 ~ 64.0) | How many blocks one repeat of the texture covers. | ✗ | / |
around | Integer (1 ~ 16) | How many times the texture repeats around the cone. | ✗ | / |
scroll_speed | Float | How fast the texture scrolls along the cone. | ✗ | / |
rotation_speed | Float | How fast the texture turns around the cone. | ✗ | / |
Glow Laser
Palladium's laser beam with brightness settings for its glow and core. Below 1 fades the part, above 1 stacks extra draws for a stronger glow (up to 8). Both are values, so molang can animate them.
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
render_settings | Laser Renderer Settings | The render settings for the laser, exactly as for palladium:laser. | ✓ | / |
glow_intensity | (Dynamic) Value | How bright the glow is. 1 is the laser as Palladium draws it. | ✗ | 1 |
core_intensity | (Dynamic) Value | How bright the core is. 1 is the laser as Palladium draws it. | ✗ | 1 |
Ring
Draws a flat textured disc around the start of the beam, as wide as the beam is long, with bands that travel outward like shockwave rings. Only the beam's length matters, so it suits argon:anchored_beam, whose animation_timer fades it in and out.
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
texture | Identifier | The ring texture. Its U axis runs around the ring and its V axis outward. | ✓ | / |
color | Color | A color multiplied with the texture. | ✗ | #FFFFFF |
opacity | Float | How opaque the ring is, 0 to 1. | ✗ | 0.8 |
inner_radius | Float | Radius of the empty hole in the middle, in blocks. | ✗ | 0.3 |
texture_length | Float | How many blocks outward one repeat of the texture covers. | ✗ | 4.0 |
around | Integer | How many times the texture repeats around the ring. | ✗ | 3 |
scroll_speed | Float | How many texture repeats the bands travel outward per tick; negative pulls them inward. | ✗ | 0.25 |
rotation_speed | Float | How many degrees per tick the ring spins. | ✗ | 0.0 |
twist | Float | How many degrees the ring is twisted between its inner and outer edge, which curves the bands into spirals. | ✗ | 0.0 |
end_fade | Float | How opaque the outer edge is compared with the inner one, 0 to 1. | ✗ | 0.0 |
height | Float | How far above the start of the beam the ring is drawn, in blocks. | ✗ | 0.05 |
blend | additivetranslucent | How the ring is blended into the scene. | ✗ | TRANSLUCENT |
segments | Integer | How many flat sides the ring is drawn with (8-96). | ✗ | 48 |
face_beam | Boolean | If true, the ring faces along the beam instead of lying flat, so it works as a circle in front of a hand. | ✗ | false |
Segmented Textured
Renders a beam as flat textured layers around one axis that can tile, spin and scroll. Can sag near the origin and tighten over "sag_duration". Good for drill or corkscrew beams.
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
textures | Beam Texture Layer[] | The texture layers to render simultaneously around the beam axis, each either a sweeping ribbon ("facing": "radial", default) or a stack of flat cards facing down the beam ("along_beam"). | ✓ | / |
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 render the beam with. | ✗ | minecraft:entity_translucent |
light_emission | Integer | The light emission of the beam, from 0 to 15. | ✗ | 0 |
sag_amplitude | Float | How far, in blocks, the beam bows sideways from a straight line when loose, at its most bowed point near the origin. Both ends always stay pinned to their anchors. 0 (default) keeps the beam perfectly straight. | ✗ | 0.0 |
sag_waves | Float | How many full side-to-side wave cycles the sag has along the beam, fading from full strength at the origin to none at the target. Only matters when "sag_amplitude" is above 0. | ✗ | 2.0 |
sag_duration | Integer, Time String ("40s", "2m", etc.) | Ticks for the beam to go from loose to taut after it starts being drawn for an entity. It starts loose again after a fresh attach (e.g. a new swing or grapple). Only matters when "sag_amplitude" is above 0. | ✗ | 10 |
tint | Item Tint | Tints every texture layer by the color a registered source reads off an item in "slot" (first match wins). "source" is an id an addon registered; with no match it stays white. Omit for no tint. | ✗ | / |
textures[] (Beam Texture Layer)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
texture | Texture Reference, Dynamic Texture | The texture of the layer. | ✓ | / |
size | Float (>= 0.0), Vector 2D | The size of the layer, as one number or width and height. | ✗ | / |
spacing | Float (>= 0.0) | The gap between repeats along the beam. | ✗ | / |
rotation | Float (0.0 ~ 360.0) | The starting rotation in degrees. | ✗ | / |
rotation_speed | Float (>= 0.0) | How fast the layer rotates. | ✗ | / |
motion_speed | Float | How fast the layer moves along the beam. | ✗ | / |
facing | radialalong_beam | Whether the layer faces outward from the beam or along it. | ✗ | / |
pulse | Pulse | Makes the layer pulse in size. | ✗ | / |
tint (Item Tint)
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
slot | mainhandoffhandheadchestlegsfeetbodycurios:headcurios:necklace | The slot of the item that is tinted. | ✓ | / |
source | Identifier | The tint source used. | ✓ | / |
{
"type": "argon:segmented_textured",
"textures": [
{
"texture": "namespace:textures/beams/example_beam.png",
"size": 2,
"spacing": 1,
"rotation_speed": 20,
"pulse": {
"scale": 0.1,
"frequency": 2
}
},
{
"texture": "namespace:textures/beams/example_beam.png",
"size": 2,
"spacing": 4,
"rotation_speed": 10,
"motion_speed": 8,
"facing": "along_beam"
}
],
"sag_amplitude": 0.35
}