move classes to other package

This commit is contained in:
Raoul Van den Berge
2015-12-18 03:56:25 +01:00
parent bc7aca642b
commit 9cd5f2487c
10 changed files with 13 additions and 13 deletions

View File

@@ -0,0 +1,28 @@
package storagecraft.container;
import net.minecraft.entity.player.EntityPlayer;
import storagecraft.SCItems;
import storagecraft.inventory.slot.SlotItemFilter;
import storagecraft.tile.TileDrive;
public class ContainerDrive extends ContainerSC {
public ContainerDrive(EntityPlayer player, TileDrive drive) {
super(player);
addPlayerInventory(8, 108);
int x = 71;
int y = 20;
for (int i = 0; i < 8; ++i) {
addSlotToContainer(new SlotItemFilter(drive, i, x, y, SCItems.STORAGE_CELL));
if ((i + 1) % 2 == 0) {
x = 71;
y += 18;
} else {
x += 18;
}
}
}
}