use of logisticspipes.utils.item.ItemIdentifierInventory in project LogisticsPipes by RS485.
the class StringBasedItemSinkModuleGuiInHand method getContainer.
@Override
public DummyContainer getContainer(EntityPlayer player) {
DummyModuleContainer dummy = new DummyModuleContainer(player, getInvSlot());
if (!(dummy.getModule() instanceof IStringBasedModule)) {
return null;
}
dummy.setInventory(new ItemIdentifierInventory(1, "TMP", 1));
dummy.addDummySlot(0, 0, 0);
dummy.addNormalSlotsForPlayerInventory(0, 0);
return dummy;
}
use of logisticspipes.utils.item.ItemIdentifierInventory in project LogisticsPipes by RS485.
the class ThaumicAspectSinkModuleInHand method getContainer.
@Override
public DummyContainer getContainer(EntityPlayer player) {
DummyModuleContainer dummy = new DummyModuleContainer(player, getInvSlot());
if (!(dummy.getModule() instanceof ModuleThaumicAspectSink)) {
return null;
}
dummy.setInventory(new ItemIdentifierInventory(1, "TMP", 1));
dummy.addDummySlot(0, 0, 0);
dummy.addNormalSlotsForPlayerInventory(0, 0);
return dummy;
}
use of logisticspipes.utils.item.ItemIdentifierInventory in project LogisticsPipes by RS485.
the class StringBasedItemSinkModuleGuiSlot method getContainer.
@Override
public DummyContainer getContainer(EntityPlayer player) {
IStringBasedModule module = this.getLogisticsModule(player.getEntityWorld(), IStringBasedModule.class);
if (module == null) {
return null;
}
DummyContainer dummy = new DummyContainer(player.inventory, new ItemIdentifierInventory(1, "TMP", 1));
dummy.addDummySlot(0, 0, 0);
dummy.addNormalSlotsForPlayerInventory(0, 0);
return dummy;
}
Aggregations