Package logisticspipes.blocks.powertile

Examples of logisticspipes.blocks.powertile.LogisticsPowerProviderTileEntity


    return new PowerProviderLevel(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsPowerProviderTileEntity tile = this.getTile(player.worldObj, LogisticsPowerProviderTileEntity.class);
    if(tile != null) {
      tile.handlePowerPacket(getFloat());
    }
  }
View Full Code Here


    super(id);
  }
 
  @Override
  public Object getClientGui(EntityPlayer player) {
    LogisticsPowerProviderTileEntity tile = this.getTile(player.getEntityWorld(), LogisticsPowerProviderTileEntity.class);
    if(tile == null) return null;
    return new GuiPowerProvider(player, tile);
  }
View Full Code Here

    return new GuiPowerProvider(player, tile);
  }

  @Override
  public DummyContainer getContainer(EntityPlayer player) {
    LogisticsPowerProviderTileEntity tile = this.getTile(player.getEntityWorld(), LogisticsPowerProviderTileEntity.class);
    if(tile == null) return null;
    DummyContainer dummy = new DummyContainer(player, null, tile);
    dummy.addNormalSlotsForPlayerInventory(8, 80);
    return dummy;
  }
View Full Code Here

TOP

Related Classes of logisticspipes.blocks.powertile.LogisticsPowerProviderTileEntity

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.