Skip to content

Commit

Permalink
Convert rest of machines.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomprince committed Jan 12, 2025
1 parent afa9677 commit 4b52460
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ public class GTMachines {
.rotationState(RotationState.NON_Y_AXIS)
.recipeType(GTRecipeTypes.AIR_SCRUBBER_RECIPES)
.recipeModifier(GTRecipeModifiers.OC_NON_PERFECT)
.dampingWhenWaiting(false)
.workableTieredHullRenderer(GTCEu.id("block/machines/air_scrubber"))
.tooltips(workableTiered(tier, GTValues.V[tier], GTValues.V[tier] * 64,
GTRecipeTypes.AIR_SCRUBBER_RECIPES, defaultTankSizeFunction.apply(tier), true))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ public static MultiblockMachineDefinition registerLargeCombustionEngine(String n
.recipeType(GTRecipeTypes.COMBUSTION_GENERATOR_FUELS)
.generator(true)
.recipeModifier(LargeCombustionEngineMachine::recipeModifier, true)
.dampingWhenWaiting(false)
.appearanceBlock(casing)
.pattern(definition -> FactoryBlockPattern.start()
.aisle("XXX", "XDX", "XXX")
Expand Down Expand Up @@ -593,6 +594,7 @@ public static MultiblockMachineDefinition registerLargeTurbine(String name, int
.recipeType(recipeType)
.generator(true)
.recipeModifier(LargeTurbineMachine::recipeModifier, true)
.dampingWhenWaiting(false)
.appearanceBlock(casing)
.pattern(definition -> FactoryBlockPattern.start()
.aisle("CCCC", "CHHC", "CCCC")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public class GTResearchMachines {
.multiblock("research_station", ResearchStationMachine::new)
.rotationState(RotationState.NON_Y_AXIS)
.recipeType(GTRecipeTypes.RESEARCH_STATION_RECIPES)
.dampingWhenWaiting(false)
.appearanceBlock(ADVANCED_COMPUTER_CASING)
.tooltips(LangHandler.getMultiLang("gtceu.machine.research_station.tooltip").toArray(Component[]::new))
.pattern(defintion -> FactoryBlockPattern.start()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ public AirScrubberMachine(IMachineBlockEntity holder, int tier, Object... args)
this.cleaningPerOperation = MIN_CLEANING_PER_OPERATION;
}

@Override
public boolean dampingWhenWaiting() {
return false;
}

@Override
public void cleanHazard(MedicalCondition condition, float amount) {
if (this.recipeLogic.isActive()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@ public void onStructureInvalid() {
super.onStructureInvalid();
}

@Override
public boolean dampingWhenWaiting() {
return false;
}

@Override
public void addDisplayText(List<Component> textList) {
MultiblockDisplayText.builder(textList, isFormed())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,6 @@ public boolean onWorking() {
return value;
}

@Override
public boolean dampingWhenWaiting() {
return false;
}

//////////////////////////////////////
// ******* GUI ********//
//////////////////////////////////////
Expand Down

0 comments on commit 4b52460

Please sign in to comment.