Package logisticspipes.modules

Examples of logisticspipes.modules.ModuleApiaristSink


 
  private ModuleApiaristSink sinkModule;

  public PipeItemsApiaristSink(Item item) {
    super(item);
    sinkModule = new ModuleApiaristSink();
    sinkModule.registerHandler(this, this);
  }
View Full Code Here


    super(id);
  }

  @Override
  public Object getClientGui(EntityPlayer player) {
    ModuleApiaristSink module = this.getLogisticsModule(player.getEntityWorld(), ModuleApiaristSink.class);
    if(module == null) return null;
    module.readFromNBT(getNbt());
    return new GuiApiaristSink(module, player);
  }
View Full Code Here

    return new GuiApiaristSink(module, player);
  }

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

    return new BeeModuleSetBeePacket(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    ModuleApiaristSink sink = this.getLogisticsModule(player, ModuleApiaristSink.class);
    if(sink == null) return;
    if(integer2 >= sink.filter.length) return;
    switch(integer3) {
      case 0:
        sink.filter[integer2].firstBee = string1;
View Full Code Here

TOP

Related Classes of logisticspipes.modules.ModuleApiaristSink

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.