use of buildcraft.api.statements.IActionInternal in project BuildCraft by BuildCraft.
the class PipeItemsDaizuli method getActions.
@Override
public LinkedList<IActionInternal> getActions() {
LinkedList<IActionInternal> action = super.getActions();
action.addAll(Arrays.asList(BuildCraftTransport.actionPipeColor));
for (EnumFacing direction : EnumFacing.VALUES) {
if (container.isPipeConnected(direction)) {
action.add(BuildCraftTransport.actionPipeDirection[direction.ordinal()]);
}
}
return action;
}
Aggregations