Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Advanced boiler steam capacity fix #686

Merged
merged 2 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
dependencies {

api('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.80:dev')
api("com.github.GTNewHorizons:bartworks:0.7.17:dev")
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.123:dev')
api("com.github.GTNewHorizons:bartworks:0.7.27:dev")

implementation('curse.maven:cofh-core-69162:2388751')
// https://www.curseforge.com/minecraft/mc-mods/advancedsolarpanels
implementation('curse.maven:advsolar-362768:2885953')

compileOnly('com.github.GTNewHorizons:Baubles:1.0.1.16:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:EnderCore:0.2.14:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:EnderCore:0.2.16:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:SC2:2.0.2:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:Binnie:2.1.2:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:Binnie:2.1.6:dev') {transitive = false}
compileOnly('curse.maven:PlayerAPI-228969:2248928') {transitive=false}
compileOnly('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:Chisel:2.11.0-GTNH:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:Chisel:2.11.3-GTNH:dev') {transitive=false}

runtimeOnly('com.github.GTNewHorizons:ForestryMC:4.6.7:dev') {transitive=false}
runtimeOnly('com.github.GTNewHorizons:ForestryMC:4.6.10:dev') {transitive=false}
}
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ public int getCapacity() {
}

// This type of machine can have different water and steam capacities.
@Override
public int getSteamCapacity() {
return 2 * getCapacity();
}
Expand Down Expand Up @@ -212,17 +213,6 @@ protected void updateFuel(IGregTechTileEntity tile, long ticks) {
}
}

@Override
protected void produceSteam(int aAmount) {
super.produceSteam(aAmount);

if (mSteam.amount > getSteamCapacity()) {
sendSound(SOUND_EVENT_LET_OFF_EXCESS_STEAM);

mSteam.amount = getSteamCapacity();
}
}

@Override
// Since this type of machine can have different water and steam capacities, we need to override getTankInfo() to
// support returning those different capacities.
Expand Down