use of buildcraft.transport.statements.ActionPipeDirection in project BuildCraft by BuildCraft.
the class PipeItemsStripes method actionsActivated.
@Override
protected void actionsActivated(Collection<StatementSlot> actions) {
super.actionsActivated(actions);
actionDir = EnumPipePart.CENTER;
for (StatementSlot action : actions) {
if (action.statement instanceof ActionPipeDirection) {
actionDir = EnumPipePart.fromFacing(((ActionPipeDirection) action.statement).direction);
break;
}
}
}
Aggregations