Skip to content

Commit

Permalink
Merge branch 'master' into ebf
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master authored Dec 22, 2024
2 parents d41c9f6 + cba549e commit 592a7a9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
16 changes: 8 additions & 8 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ dependencies {
api("com.github.GTNewHorizons:ModularUI:1.2.17:dev")
api("com.github.GTNewHorizons:ModularUI2:2.1.16-1.7.10:dev")
api("com.github.GTNewHorizons:waila:1.8.2:dev")
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-503-GTNH:dev")
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-504-GTNH:dev")
api("com.github.GTNewHorizons:AE2FluidCraft-Rework:1.4.0-gtnh:dev")
api('com.github.GTNewHorizons:Yamcl:0.6.0:dev')
api("com.github.GTNewHorizons:Postea:1.0.13:dev")

compileOnlyApi('com.github.GTNewHorizons:ThaumicTinkerer:2.10.2:dev')
compileOnlyApi('com.github.GTNewHorizons:ThaumicTinkerer:2.11.0:dev')
compileOnlyApi("com.github.GTNewHorizons:Mobs-Info:0.5.0-GTNH:dev")
compileOnlyApi("com.github.GTNewHorizons:Navigator:1.0.15:dev")
implementation('com.github.GTNewHorizons:Baubles:1.0.4:dev') {transitive=false}
Expand All @@ -61,7 +61,7 @@ dependencies {
compileOnlyApi('com.github.GTNewHorizons:Angelica:1.0.0-beta27:api') { transitive = false }
compileOnlyApi("com.github.GTNewHorizons:AppleCore:3.3.4:dev") { transitive = false }
compileOnlyApi("com.github.GTNewHorizons:BuildCraft:7.1.39:dev") { transitive = false }
compileOnlyApi("com.github.GTNewHorizons:EnderIO:2.8.22:dev") { transitive = false }
compileOnlyApi("com.github.GTNewHorizons:EnderIO:2.9.0:dev") { transitive = false }
compileOnlyApi("com.github.GTNewHorizons:ForestryMC:4.10.0:dev") { transitive = false }
compileOnlyApi("com.github.GTNewHorizons:ProjectRed:4.10.5-GTNH:dev") { transitive = false }
compileOnlyApi("com.github.GTNewHorizons:Railcraft:9.15.15:dev") { transitive = false }
Expand All @@ -73,7 +73,7 @@ dependencies {
compileOnly("com.github.GTNewHorizons:Galaxy-Space-GTNH:1.1.100-GTNH:dev") { transitive = false }

compileOnlyApi("com.github.GTNewHorizons:Galacticraft:3.2.8-GTNH:dev") { transitive = false }
implementation("com.github.GTNewHorizons:TinkersConstruct:1.12.16-GTNH:dev")
implementation("com.github.GTNewHorizons:TinkersConstruct:1.13.0-GTNH:dev")

compileOnly("com.github.GTNewHorizons:Chisel:2.16.0-GTNH:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:Translocators:1.2.1:dev") { transitive = false }
Expand All @@ -88,14 +88,14 @@ dependencies {
compileOnly("com.github.GTNewHorizons:OpenComputers:1.11.1-GTNH:dev") {transitive = false}
// https://www.curseforge.com/minecraft/mc-mods/advancedsolarpanels
compileOnlyApi rfg.deobf('curse.maven:advsolar-362768:2885953')
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.6.27-GTNH:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.7.0-GTNH:dev') {transitive = false}
compileOnly("com.github.GTNewHorizons:BloodMagic:1.6.9:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.4.0:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:BetterLoadingScreen:1.7.0-GTNH:dev") { transitive = false }
compileOnly rfg.deobf("curse.maven:biomes-o-plenty-220318:2499612")

compileOnly('com.github.GTNewHorizons:SC2:2.2.0:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:Binnie:2.4.4:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:Binnie:2.5.0:dev') {transitive = false}
compileOnly('curse.maven:PlayerAPI-228969:2248928') {transitive=false}
devOnlyNonPublishable('com.github.GTNewHorizons:BlockRenderer6343:1.2.16:dev'){transitive=false}

Expand All @@ -106,7 +106,7 @@ dependencies {
// runtimeOnlyNonPublishable("com.github.GTNewHorizons:ForestryMC:4.10.0:dev")
// runtimeOnlyNonPublishable('com.github.GTNewHorizons:neiaddons:1.16.0:dev')
// runtimeOnlyNonPublishable('com.github.GTNewHorizons:MagicBees:2.8.5-GTNH:dev')
// runtimeOnlyNonPublishable('com.github.GTNewHorizons:Binnie:2.4.4:dev')
// runtimeOnlyNonPublishable('com.github.GTNewHorizons:Binnie:2.5.0:dev')

testImplementation(platform('org.junit:junit-bom:5.9.2'))
testImplementation('org.junit.jupiter:junit-jupiter')
Expand All @@ -119,7 +119,7 @@ dependencies {
functionalTestImplementation('org.junit.platform:junit-platform-reporting')

runtimeOnlyNonPublishable("com.github.GTNewHorizons:DuraDisplay:1.3.4:dev")
runtimeOnlyNonPublishable('com.github.GTNewHorizons:EnderIO:2.8.22:dev')
runtimeOnlyNonPublishable('com.github.GTNewHorizons:EnderIO:2.9.0:dev')

// For testing
//runtimeOnlyNonPublishable('com.github.GTNewHorizons:TCNEIAdditions:1.4.2:dev')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ private static int getTime(int mode) {
case 2 -> 10 * SECOND;
case 3 -> 20 * SECOND;
case 4 -> 17 * SECOND;
case 5 -> 32 * SECOND;
default ->
// go to hell
1000000000;
Expand Down Expand Up @@ -396,6 +397,12 @@ public CheckRecipeResult checkProcessing() {
doMac(isCrushedOre, isCrushedPureOre);
doCentrifuge(isImpureDust, isPureDust);
}
case 5 -> {
doMac(isOre);
doChemWash(isCrushedOre, isCrushedPureOre);
doThermal(isCrushedPureOre, isCrushedOre);
doMac(isThermal, isOre, isCrushedOre, isCrushedPureOre);
}
default -> {
return CheckRecipeResultRegistry.NO_RECIPE;
}
Expand Down Expand Up @@ -433,7 +440,7 @@ public final void onScrewdriverRightClick(ForgeDirection side, EntityPlayer aPla
StatCollector.translateToLocalFormatted("GT5U.machines.oreprocessor.void", sVoidStone));
return;
}
sMode = (sMode + 1) % 5;
sMode = (sMode + 1) % 6;
List<String> des = getDisplayMode(sMode);
GTUtility.sendChatToPlayer(aPlayer, String.join("", des));
}
Expand Down Expand Up @@ -786,6 +793,12 @@ private static List<String> getDisplayMode(int mode) {
des.add(AQUA + CRUSH + ARROW);
des.add(AQUA + CENTRIFUGE + ' ');
}
case 5 -> {
des.add(AQUA + CRUSH + ARROW);
des.add(AQUA + CHEM_WASH + ARROW);
des.add(AQUA + THERMAL + ARROW);
des.add(AQUA + CRUSH + ' ');
}
default -> des.add(StatCollector.translateToLocalFormatted("GT5U.machines.oreprocessor.WRONG_MODE"));
}

Expand Down

0 comments on commit 592a7a9

Please sign in to comment.