# Energy Beam Renderers

## Overview

### Palladium

- Laser
- Lightning

## Laser

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
glow_color | Color | Color of the laser glow | false | java.awt.Color[r=255,g=255,b=255]
core_color | Color | Color of the inner core | false | java.awt.Color[r=255,g=255,b=255]
rainbow | Boolean | If enabled, the glow will have a rainbow effect. Can also be defined as a float to determine the speed | false | false
glow_opacity | Float | Opacity for the laser glow | false | 1.0
core_opacity | Float | Opacity for the inner core | false | 1.0
bloom | Integer | Describes how many stages of "bloom" is visible as the glow | false | 2
size | Vector2f | Size of the laser. Can either be defined as a simple float (e.g. 1.0), or 2-dimensional using an array (e.g. [1.0, 2.0]) | false | [1.0, 1.0]
normal_transparency | Boolean | You only ever really need to set it to true if you intend to make the core or glow black | false | false
rotation | Float | Rotation of the laser | false | 0.0
rotation_speed | Float | Speed at which the laser rotates | false | 0.0
visibility | Boolean | Determines if its visible. | false | true

### Example:

    {"type":"palladium:laser","glow_color":"#ffffff","core_color":"#ffffff","rainbow":false,"glow_opacity":1.0,"core_opacity":1.0,"bloom":2,"size":1,"normal_transparency":false,"rotation":0.0,"rotation_speed":0.0,"visibility":{"first_person":true,"third_person":true}}

## Lightning

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
segments | Integer | Determines how many split segments the lightning will have | false | 5
frequency | Integer | Determines how many ticks it takes for the beam to change its offset position | false | 2
spread | Float | Determines how far each offset segment-corner spreads from the center | false | 5.0
glow_color | Color | Color of the laser glow | false | java.awt.Color[r=255,g=255,b=255]
core_color | Color | Color of the inner core | false | java.awt.Color[r=255,g=255,b=255]
rainbow | Boolean | If enabled, the glow will have a rainbow effect. Can also be defined as a float to determine the speed | false | false
glow_opacity | Float | Opacity for the laser glow | false | 1.0
core_opacity | Float | Opacity for the inner core | false | 1.0
bloom | Integer | Describes how many stages of "bloom" is visible as the glow | false | 1
size | Vector2f | Size of the laser. Can either be defined as a simple float (e.g. 1.0), or 2-dimensional using an array (e.g. [1.0, 2.0]) | false | [1.0, 1.0]
normal_transparency | Boolean | You only ever really need to set it to true if you intend to make the core or glow black | false | false
rotation | Float | Rotation of the laser | false | 0.0
rotation_speed | Float | Speed at which the laser rotates | false | 0.0
visibility | Boolean | Determines if its visible. | false | true

### Example:

    {"type":"palladium:lightning","segments":5,"frequency":2,"spread":5,"glow_color":"#ffffff","core_color":"#ffffff","rainbow":false,"glow_opacity":1.0,"core_opacity":1.0,"bloom":1,"size":1,"normal_transparency":false,"rotation":0.0,"rotation_speed":0.0,"visibility":{"first_person":true,"third_person":true}}