mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 15:33:06 +00:00
allow shift click on side config button to reset all sides to default
This commit is contained in:
1 parent
87d7701ec0
commit
28c919ee09
13 files changed
+160
-76
No files matched your search
@@ -74,6 +74,14 @@ public class TileBuffer extends AbstractPowerConsumerEntity implements IPaintabl
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clearAllIoModes() {
|
||||
super.clearAllIoModes();
|
||||
if(dist != null) {
|
||||
dist.neighboursChanged();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canInsertItem(int slot, ItemStack var2, int side) {
|
||||
return hasInventory() && getIoMode(ForgeDirection.VALID_DIRECTIONS[side]).canRecieveInput() && isMachineItemValidForSlot(slot, var2);
|
||||
|
||||
Reference in new issue
Block a user