Fixed #2892 Added Dark Green color. Thanks to SimonFlapse

* Changed the processing message of block breaker and placer to use dark green instead of green
This commit is contained in:
Simon 2022-04-05 14:00:04 +02:00 committed by GitHub
parent 7f2912009b
commit 852c867a0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -30,6 +30,7 @@ public class Color {
public final static Color WHITE = new Color(255, 255, 255);
public final static Color RED = new Color(255, 0, 0);
public final static Color GREEN = new Color(0, 255, 0);
public final static Color DARK_GREEN = new Color(0, 128, 0);
public final static Color BLUE = new Color(0, 0, 255);
private final int color;

View file

@ -20,7 +20,7 @@ enum BlockBreakerStatus implements ProcessingStatus {
NO_ENERGY(new TranslatableText("gui.techreborn.block.no_energy"), Color.RED),
INTERRUPTED(new TranslatableText("gui.techreborn.block.interrupted"), Color.RED),
OUTPUT_BLOCKED(new TranslatableText("gui.techreborn.block.output_blocked"), Color.RED),
PROCESSING(new TranslatableText("gui.techreborn.block_breaker.processing"), Color.GREEN);
PROCESSING(new TranslatableText("gui.techreborn.block_breaker.processing"), Color.DARK_GREEN);
private final Text text;
private final int color;

View file

@ -19,7 +19,7 @@ enum BlockPlacerStatus implements ProcessingStatus {
NO_ENERGY(new TranslatableText("gui.techreborn.block.no_energy"), Color.RED),
INTERRUPTED(new TranslatableText("gui.techreborn.block.interrupted"), Color.RED),
OUTPUT_BLOCKED(new TranslatableText("gui.techreborn.block.output_blocked"), Color.RED),
PROCESSING(new TranslatableText("gui.techreborn.block_placer.processing"), Color.GREEN);
PROCESSING(new TranslatableText("gui.techreborn.block_placer.processing"), Color.DARK_GREEN);
private final Text text;
private final int color;