mirror of
https://github.com/loganintech/render-region-forcefield.git
synced 2026-05-31 14:51:17 +00:00
Updated color to purple
This commit is contained in:
@@ -33,10 +33,10 @@ public class ForcefieldRenderer {
|
||||
this.plugin = plugin;
|
||||
this.particleSpacing = plugin.getConfig().getDouble("particle-spacing", 0.5);
|
||||
|
||||
// Get color from config or use default (cyan)
|
||||
int red = plugin.getConfig().getInt("particle-color.red", 0);
|
||||
int green = plugin.getConfig().getInt("particle-color.green", 255);
|
||||
int blue = plugin.getConfig().getInt("particle-color.blue", 255);
|
||||
// Get color from config or use default (purple)
|
||||
int red = plugin.getConfig().getInt("particle-color.red", 147);
|
||||
int green = plugin.getConfig().getInt("particle-color.green", 112);
|
||||
int blue = plugin.getConfig().getInt("particle-color.blue", 219);
|
||||
float size = (float) plugin.getConfig().getDouble("particle-size", 1.0);
|
||||
|
||||
this.dustOptions = new Particle.DustOptions(Color.fromRGB(red, green, blue), size);
|
||||
|
||||
@@ -17,9 +17,9 @@ render-walls: true
|
||||
|
||||
# Particle color (RGB values from 0-255)
|
||||
particle-color:
|
||||
red: 0
|
||||
green: 255
|
||||
blue: 255
|
||||
red: 147
|
||||
green: 112
|
||||
blue: 219
|
||||
|
||||
# Particle size (recommended range: 0.5 to 2.0)
|
||||
particle-size: 1.0
|
||||
|
||||
Reference in New Issue
Block a user