Package net.minecraft.src.buildcraft.additionalpipes.logic

Examples of net.minecraft.src.buildcraft.additionalpipes.logic.PipeLogicDistributor


    }
    @Override
    protected void drawGuiContainerForegroundLayer() {
     
      PipeLogicDistributor pipeLogic = (PipeLogicDistributor) pipe.logic;
     
        this.buttons[1].displayString = "" + pipeLogic.distData[0];
        this.buttons[4].displayString = "" + pipeLogic.distData[1];
        this.buttons[7].displayString = "" + pipeLogic.distData[2];
        this.buttons[10].displayString = "" + pipeLogic.distData[3];
View Full Code Here


        //fontRenderer.drawString(playerInventory.getInvName(), 8, ySize - 97, 0x404040);
    }
    @Override
    protected void actionPerformed(GuiButton guibutton) {
     
      PipeLogicDistributor pipeLogic = (PipeLogicDistributor) pipe.logic;
     
        switch (guibutton.id) {
            case 1:
                pipeLogic.distData[0] -= 1;
                break;
View Full Code Here

import net.minecraft.src.buildcraft.additionalpipes.logic.PipeLogicDistributor;

public class PipeItemsDistributor extends Pipe implements IPipeTransportItemsHook {
 
    public PipeItemsDistributor(int itemID) {
        super(new PipeTransportItems(), new PipeLogicDistributor(), itemID);
    }
View Full Code Here

    }

    @Override
    public void prepareTextureFor(Orientations connection) {
     
      PipeLogicDistributor pipeLogic = (PipeLogicDistributor) logic;
     
        if (connection == Orientations.Unknown) {
          pipeLogic.nextTexture = mod_AdditionalPipes.DEFUALT_DISTRIBUTOR_TEXTURE_0;
        }
        else {
View Full Code Here

    }

    @Override
    public int getBlockTexture() {
      PipeLogicDistributor pipeLogic = (PipeLogicDistributor) logic;
        return pipeLogic.nextTexture;
    }
View Full Code Here

    }

    @Override
    public LinkedList<Orientations> filterPossibleMovements(LinkedList<Orientations> possibleOrientations, Position pos, EntityPassiveItem item) {

      PipeLogicDistributor pipeLogic = (PipeLogicDistributor) logic;
     
        ((PipeLogicDistributor)this.logic).switchIfNeeded();

        LinkedList<Orientations> result = new LinkedList<Orientations>();
View Full Code Here

TOP

Related Classes of net.minecraft.src.buildcraft.additionalpipes.logic.PipeLogicDistributor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.