mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-23 21:49:58 +00:00
Added armor slots to capacitor bank.
This commit is contained in:
1 parent
9783e2148a
commit
5f2e72bde5
5 files changed
+48
-5
No files matched your search
@@ -17,6 +17,12 @@ public abstract class AbstractMachineContainer extends Container {
|
||||
|
||||
if(te.getSlotDefinition().getNumUpgradeSlots() == 1) {
|
||||
addSlotToContainer(new Slot(te, te.getSlotDefinition().getMinUpgradeSlot(), 12, 60) {
|
||||
|
||||
@Override
|
||||
public int getSlotStackLimit() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isItemValid(ItemStack itemStack) {
|
||||
return tileEntity.isItemValidForSlot(tileEntity.getSlotDefinition().getMinUpgradeSlot(), itemStack);
|
||||
|
||||
Reference in new issue
Block a user