Skip to content

Commit

Permalink
Remove voiding button from some multis
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Feb 25, 2022
1 parent 90871f2 commit b432f7e
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,9 @@ public FluidTankList getExportFluids() {
protected boolean shouldUpdate(MTETrait trait) {
return !(trait instanceof BoilerRecipeLogic);
}

@Override
protected boolean shouldShowVoidingModeButton() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,9 @@ public <T> T getCapability(Capability<T> capability, EnumFacing side) {
return GregtechTileCapabilities.CAPABILITY_CONTROLLABLE.cast(this);
return super.getCapability(capability, side);
}

@Override
protected boolean shouldShowVoidingModeButton() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -433,4 +433,9 @@ public boolean isActive() {
public List<ITextComponent> getDataInfo() {
return Collections.singletonList(new TextComponentTranslation(I18n.format("gregtech.multiblock.large_miner.radius", this.minerLogic.getCurrentRadius())));
}

@Override
protected boolean shouldShowVoidingModeButton() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ private boolean checkIntakesObstructed() {
return false;
}

@Override
protected boolean shouldShowVoidingModeButton() {
return false;
}

private static class LargeCombustionEngineWorkableHandler extends MultiblockFuelRecipeLogic {

private boolean isOxygenBoosted = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,9 @@ public boolean canVoidRecipeItemOutputs() {
public boolean canVoidRecipeFluidOutputs() {
return true;
}

@Override
protected boolean shouldShowVoidingModeButton() {
return false;
}
}

0 comments on commit b432f7e

Please sign in to comment.