mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-22 13:10:06 +00:00
Update buildscript, apply spotless (#175)
This commit is contained in:
1 parent
08d0ef617f
commit
a40ee7424f
1220 files changed
+95126
-109823
No files matched your search
@@ -18,28 +18,28 @@
|
||||
|
||||
package appeng.container.implementations;
|
||||
|
||||
|
||||
import appeng.container.AEBaseContainer;
|
||||
import appeng.container.slot.SlotRestrictedInput;
|
||||
import appeng.tile.storage.TileDrive;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
|
||||
public class ContainerDrive extends AEBaseContainer {
|
||||
|
||||
public class ContainerDrive extends AEBaseContainer
|
||||
{
|
||||
public ContainerDrive(final InventoryPlayer ip, final TileDrive drive) {
|
||||
super(ip, drive, null);
|
||||
|
||||
public ContainerDrive( final InventoryPlayer ip, final TileDrive drive )
|
||||
{
|
||||
super( ip, drive, null );
|
||||
for (int y = 0; y < 5; y++) {
|
||||
for (int x = 0; x < 2; x++) {
|
||||
this.addSlotToContainer(new SlotRestrictedInput(
|
||||
SlotRestrictedInput.PlacableItemType.STORAGE_CELLS,
|
||||
drive,
|
||||
x + y * 2,
|
||||
71 + x * 18,
|
||||
14 + y * 18,
|
||||
this.getInventoryPlayer()));
|
||||
}
|
||||
}
|
||||
|
||||
for( int y = 0; y < 5; y++ )
|
||||
{
|
||||
for( int x = 0; x < 2; x++ )
|
||||
{
|
||||
this.addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.STORAGE_CELLS, drive, x + y * 2, 71 + x * 18, 14 + y * 18, this.getInventoryPlayer() ) );
|
||||
}
|
||||
}
|
||||
|
||||
this.bindPlayerInventory( ip, 0, 199 - /* height of player inventory */82 );
|
||||
}
|
||||
this.bindPlayerInventory(ip, 0, 199 - /* height of player inventory */ 82);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user