fixed style, #1880
This commit is contained in:
parent
4f8e82b153
commit
71687ec20c
4 changed files with 34 additions and 26 deletions
|
@ -92,11 +92,11 @@ import buildcraft.core.robots.EntityRobot;
|
||||||
import buildcraft.core.triggers.ActionMachineControl;
|
import buildcraft.core.triggers.ActionMachineControl;
|
||||||
import buildcraft.core.triggers.ActionMachineControl.Mode;
|
import buildcraft.core.triggers.ActionMachineControl.Mode;
|
||||||
import buildcraft.core.triggers.ActionRedstoneOutput;
|
import buildcraft.core.triggers.ActionRedstoneOutput;
|
||||||
import buildcraft.core.triggers.StatementIconProvider;
|
|
||||||
import buildcraft.core.triggers.BCAction;
|
import buildcraft.core.triggers.BCAction;
|
||||||
import buildcraft.core.triggers.BCTrigger;
|
import buildcraft.core.triggers.BCTrigger;
|
||||||
import buildcraft.core.triggers.DefaultActionProvider;
|
import buildcraft.core.triggers.DefaultActionProvider;
|
||||||
import buildcraft.core.triggers.DefaultTriggerProvider;
|
import buildcraft.core.triggers.DefaultTriggerProvider;
|
||||||
|
import buildcraft.core.triggers.StatementIconProvider;
|
||||||
import buildcraft.core.triggers.TriggerFluidContainer;
|
import buildcraft.core.triggers.TriggerFluidContainer;
|
||||||
import buildcraft.core.triggers.TriggerFluidContainerLevel;
|
import buildcraft.core.triggers.TriggerFluidContainerLevel;
|
||||||
import buildcraft.core.triggers.TriggerInventory;
|
import buildcraft.core.triggers.TriggerInventory;
|
||||||
|
|
|
@ -12,8 +12,8 @@ import java.util.Locale;
|
||||||
|
|
||||||
import buildcraft.api.gates.IAction;
|
import buildcraft.api.gates.IAction;
|
||||||
import buildcraft.api.transport.PipeWire;
|
import buildcraft.api.transport.PipeWire;
|
||||||
import buildcraft.core.triggers.StatementIconProvider;
|
|
||||||
import buildcraft.core.triggers.BCAction;
|
import buildcraft.core.triggers.BCAction;
|
||||||
|
import buildcraft.core.triggers.StatementIconProvider;
|
||||||
import buildcraft.core.utils.StringUtils;
|
import buildcraft.core.utils.StringUtils;
|
||||||
|
|
||||||
public class ActionSignalOutput extends BCAction {
|
public class ActionSignalOutput extends BCAction {
|
||||||
|
|
|
@ -38,25 +38,33 @@ public class TriggerParameterSignal implements ITriggerParameter {
|
||||||
|
|
||||||
if (active) {
|
if (active) {
|
||||||
switch (color) {
|
switch (color) {
|
||||||
case RED:
|
case RED:
|
||||||
id = StatementIconProvider.Trigger_PipeSignal_Red_Active;
|
id = StatementIconProvider.Trigger_PipeSignal_Red_Active;
|
||||||
case BLUE:
|
break;
|
||||||
id = StatementIconProvider.Trigger_PipeSignal_Blue_Active;
|
case BLUE:
|
||||||
case GREEN:
|
id = StatementIconProvider.Trigger_PipeSignal_Blue_Active;
|
||||||
id = StatementIconProvider.Trigger_PipeSignal_Green_Active;
|
break;
|
||||||
case YELLOW:
|
case GREEN:
|
||||||
id = StatementIconProvider.Trigger_PipeSignal_Yellow_Active;
|
id = StatementIconProvider.Trigger_PipeSignal_Green_Active;
|
||||||
|
break;
|
||||||
|
case YELLOW:
|
||||||
|
id = StatementIconProvider.Trigger_PipeSignal_Yellow_Active;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
switch (color) {
|
switch (color) {
|
||||||
case RED:
|
case RED:
|
||||||
id = StatementIconProvider.Trigger_PipeSignal_Red_Inactive;
|
id = StatementIconProvider.Trigger_PipeSignal_Red_Inactive;
|
||||||
case BLUE:
|
break;
|
||||||
id = StatementIconProvider.Trigger_PipeSignal_Blue_Inactive;
|
case BLUE:
|
||||||
case GREEN:
|
id = StatementIconProvider.Trigger_PipeSignal_Blue_Inactive;
|
||||||
id = StatementIconProvider.Trigger_PipeSignal_Green_Inactive;
|
break;
|
||||||
case YELLOW:
|
case GREEN:
|
||||||
id = StatementIconProvider.Trigger_PipeSignal_Yellow_Inactive;
|
id = StatementIconProvider.Trigger_PipeSignal_Green_Inactive;
|
||||||
|
break;
|
||||||
|
case YELLOW:
|
||||||
|
id = StatementIconProvider.Trigger_PipeSignal_Yellow_Inactive;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue