Search in sources :

Example 1 with IActionInternal

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;
}
Also used : EnumFacing(net.minecraft.util.EnumFacing) IActionInternal(buildcraft.api.statements.IActionInternal)

Aggregations

IActionInternal (buildcraft.api.statements.IActionInternal)1 EnumFacing (net.minecraft.util.EnumFacing)1