More redstone changes
This commit is contained in:
parent
30de32fb07
commit
e102488f2c
2 changed files with 5 additions and 1 deletions
|
@ -676,4 +676,9 @@ public abstract class MetaPipeEntity implements IMetaTileEntity {
|
||||||
public void onCreated(ItemStack aStack, World aWorld, EntityPlayer aPlayer) {
|
public void onCreated(ItemStack aStack, World aWorld, EntityPlayer aPlayer) {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean allowGeneralRedstoneOutput() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -224,7 +224,6 @@ public abstract class GT_MetaTileEntity_Buffer extends GT_MetaTileEntity_TieredM
|
||||||
if (aBaseMetaTileEntity.isAllowedToWork() && aBaseMetaTileEntity.isServerSide() && aBaseMetaTileEntity.isUniversalEnergyStored(getMinimumStoredEU()) && (aBaseMetaTileEntity.hasWorkJustBeenEnabled() || aBaseMetaTileEntity.hasInventoryBeenModified() || aTimer % 200 == 0 || mSuccess > 0)) {
|
if (aBaseMetaTileEntity.isAllowedToWork() && aBaseMetaTileEntity.isServerSide() && aBaseMetaTileEntity.isUniversalEnergyStored(getMinimumStoredEU()) && (aBaseMetaTileEntity.hasWorkJustBeenEnabled() || aBaseMetaTileEntity.hasInventoryBeenModified() || aTimer % 200 == 0 || mSuccess > 0)) {
|
||||||
mSuccess--;
|
mSuccess--;
|
||||||
moveItems(aBaseMetaTileEntity, aTimer);
|
moveItems(aBaseMetaTileEntity, aTimer);
|
||||||
System.out.println("inv "+bInvert+" full "+bRedstoneIfFull);
|
|
||||||
aBaseMetaTileEntity.setGenericRedstoneOutput(bInvert);
|
aBaseMetaTileEntity.setGenericRedstoneOutput(bInvert);
|
||||||
if (bRedstoneIfFull) {
|
if (bRedstoneIfFull) {
|
||||||
aBaseMetaTileEntity.setGenericRedstoneOutput(!bInvert);
|
aBaseMetaTileEntity.setGenericRedstoneOutput(!bInvert);
|
||||||
|
|
Loading…
Reference in a new issue