Add setting for goal box color

This commit is contained in:
Brady 2018-09-24 14:17:02 -05:00
parent 111e03c5b8
commit 1cf4c9419f
No known key found for this signature in database
GPG Key ID: 73A788379A197567
2 changed files with 6 additions and 1 deletions

View File

@ -434,6 +434,11 @@ public class Settings {
*/
public Setting<Color> colorMostRecentConsidered = new Setting<>(Color.CYAN);
/**
* The color of the goal box
*/
public Setting<Color> colorGoalBox = new Setting<>(Color.GREEN);
public final Map<String, Setting<?>> byLowerName;
public final List<Setting<?>> allSettings;

View File

@ -385,7 +385,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
// System.out.println(event.getPartialTicks());
float partialTicks = event.getPartialTicks();
if (goal != null && Baritone.settings().renderGoal.value) {
PathRenderer.drawLitDankGoalBox(player(), goal, partialTicks, Color.GREEN);
PathRenderer.drawLitDankGoalBox(player(), goal, partialTicks, Baritone.settings().colorGoalBox.get());
}
if (!Baritone.settings().renderPath.get()) {
return;