Package logisticspipes.modules.abstractmodules

Examples of logisticspipes.modules.abstractmodules.LogisticsSneakyDirectionModule


    sneakyOrientation = data.readForgeDirection();
  }
 
  @Override
  public Object getClientGui(EntityPlayer player) {
    LogisticsSneakyDirectionModule module = this.getLogisticsModule(player.getEntityWorld(), LogisticsSneakyDirectionModule.class);
    if(module == null) return null;
    module.setSneakyDirection(sneakyOrientation);
    return new GuiExtractor(player.inventory, module);
  }
View Full Code Here


    return new GuiExtractor(player.inventory, module);
  }

  @Override
  public DummyContainer getContainer(EntityPlayer player) {
    LogisticsSneakyDirectionModule module = this.getLogisticsModule(player.getEntityWorld(), LogisticsSneakyDirectionModule.class);
    if(module == null) return null;
    return new DummyContainer(player.inventory, null);
  }
View Full Code Here

    return new ExtractorModuleMode(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSneakyDirectionModule recieiver = this.getLogisticsModule(player, LogisticsSneakyDirectionModule.class);
    if(recieiver == null) return;
    recieiver.setSneakyDirection(getDirection());
  }
View Full Code Here

    return new ExtractorModuleDirectionPacket(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    final LogisticsSneakyDirectionModule module = this.getLogisticsModule(player, LogisticsSneakyDirectionModule.class);
    if(module == null) return;
    module.setSneakyDirection(getDirection());
    MainProxy.sendPacketToPlayer(PacketHandler.getPacket(ExtractorModuleMode.class).setDirection(module.getSneakyDirection()).setPacketPos(this), player);
  }
View Full Code Here

TOP

Related Classes of logisticspipes.modules.abstractmodules.LogisticsSneakyDirectionModule

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.