use of logisticspipes.gui.GuiStatistics in project LogisticsPipes by RS485.
the class StatisticsGui method getClientGui.
@Override
public Object getClientGui(EntityPlayer player) {
LogisticsStatisticsTileEntity tile = this.getTile(player.getEntityWorld(), LogisticsStatisticsTileEntity.class);
if (tile == null) {
return null;
}
tile.tasks = trackingList;
GuiStatistics gui = new GuiStatistics(tile);
gui.inventorySlots = new DummyContainer(player.inventory, null);
return gui;
}
Aggregations