Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
closes #29
  • Loading branch information
deirn committed Aug 20, 2021
1 parent ad94278 commit 674fb66
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 23 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ org.gradle.jvmargs = -Xmx1G

minecraft = 1.17.1
yarn = 1.17.1+build.1
loader = 0.11.3
loader = 0.11.6

# Mod Properties
group = com.github.badasintended
archivesBaseName = megane

# Dependencies
wthit = 3.7.0
wthit = 3.8.1
modmenu = 2.0.2
fabricKotlin = 1.6.1+kotlin.1.5.10

Expand Down
3 changes: 2 additions & 1 deletion src/extra-generators/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ repositories {
}

dependencies {
implFor "curse.maven:extra-generators-475623:3355730"
// https://www.curseforge.com/minecraft/mc-mods/extra-generators
implFor "curse.maven:extra-generators-475623:3369727"

modCompileOnly fabricApi.module("fabric-networking-blockentity-v0", "0.35.2+1.17")

Expand Down
2 changes: 1 addition & 1 deletion src/fabric-transfer/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
implFor(fabricApi.module("fabric-transfer-api-v1", "0.37.1+1.17"))
implFor(fabricApi.module("fabric-transfer-api-v1", "0.38.0+1.17"))
}

apply from: "impl.gradle"
2 changes: 1 addition & 1 deletion src/fast-transfer-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
}

dependencies {
implFor "dev.technici4n:FastTransferLib:0.4.2"
implFor "dev.technici4n:FastTransferLib:0.5.6"
}

apply from: "impl.gradle"
9 changes: 6 additions & 3 deletions src/industrial-revolution/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ repositories {
}

dependencies {
implFor "curse.maven:indrev-391708:3357406"
// https://www.curseforge.com/minecraft/mc-mods/industrial-revolution
implFor "curse.maven:indrev-391708:3404494"

modCompileOnly "alexiil.mc.lib:libblockattributes-fluids:0.9.0"
modCompileOnly "alexiil.mc.lib:libblockattributes-items:0.9.0"
modCompileOnly "dev.technici4n:FastTransferLib:0.4.2"
modCompileOnly "io.github.cottonmc:LibGui:4.0.0+1.17"
modCompileOnly "dev.technici4n:FastTransferLib:0.5.6"
modCompileOnly "io.github.cottonmc:LibGui:4.1.4+1.17.1"

modCompileOnly fabricApi.module("fabric-networking-blockentity-v0", "0.37.1+1.17")
}

apply from: "impl.gradle"
5 changes: 3 additions & 2 deletions src/kibe/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ repositories {
}

dependencies {
implFor "curse.maven:kibe-388832:3342100"
// https://www.curseforge.com/minecraft/mc-mods/kibe
implFor "curse.maven:kibe-388832:3424890"

modCompileOnly "alexiil.mc.lib:libblockattributes-fluids:0.8.7"
modCompileOnly "alexiil.mc.lib:libblockattributes-fluids:0.8.17003"
}

apply from: "impl.gradle"
12 changes: 6 additions & 6 deletions src/modern-industrialization/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ repositories {
}

dependencies {
implFor "curse.maven:modern-industrialization-405388:3418603"
// https://www.curseforge.com/minecraft/mc-mods/modern-industrialization
implFor "curse.maven:modern-industrialization-405388:3431281"

def fapi = [
"fabric-networking-blockentity-v0",
"fabric-screen-handler-api-v1",
"fabric-rendering-data-attachment-v1"
"fabric-rendering-data-attachment-v1",
"fabric-api-lookup-api-v1",
"fabric-transfer-api-v1"
]
fapi.forEach {
modCompileOnly fabricApi.module(it, "0.37.0+1.17")
modCompileOnly fabricApi.module(it, "0.38.0+1.17")
}

modCompileOnly "net.fabricmc.fabric-api:fabric-api-lookup-api-v1:1.3.0+b246072f13"
modCompileOnly "net.fabricmc.fabric-api:fabric-transfer-api-v1:1.1.0-pre.05+973bc52a18"
}

apply from: "impl.gradle"
4 changes: 2 additions & 2 deletions src/tech-reborn/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies {
implFor "TechReborn:TechReborn-1.17:5.0.2-beta+build.38"
implFor "TechReborn:TechReborn-1.17:5.0.6-beta+build.95"

modCompileOnly "RebornCore:RebornCore-1.17:5.0.2-beta+build.38"
modCompileOnly "RebornCore:RebornCore-1.17:5.0.6-beta+build.95"
modCompileOnly "teamreborn:energy:0.1.0"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
import static techreborn.init.ModFluids.TRITIUM;
import static techreborn.init.ModFluids.WOLFRAMIUM;

@SuppressWarnings("UnstableApiUsage")
public class TechReborn implements MeganeModule {

private static final int[] A_012345 = new int[]{0, 1, 2, 3, 4, 5};
Expand Down Expand Up @@ -95,9 +96,9 @@ public void register(MeganeRegistrar registrar) {
))
.fluid(MachineBaseBlockEntity.class, FluidProvider.conditional(
MachineBaseBlockEntity::showTankConfig, t -> 1,
(t, i) -> t.getTank().getFluid(),
(t, i) -> (double) t.getTank().getFluidAmount().getRawValue(),
(t, i) -> (double) t.getTank().getCapacity().getRawValue()
(t, i) -> t.getTank().getResource().getFluid(),
(t, i) -> t.getTank().getAmount() / 81.0,
(t, i) -> t.getTank().getCapacity() / 81.0
));
}

Expand Down
6 changes: 4 additions & 2 deletions src/wireless-networks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ repositories {
}

dependencies {
implFor "curse.maven:wireless-networks-461316:3351667"
modCompileOnly "dev.technici4n:FastTransferLib:0.4.2"
// https://www.curseforge.com/minecraft/mc-mods/wireless-networks
implFor "curse.maven:wireless-networks-461316:3382566"

modCompileOnly "dev.technici4n:FastTransferLib:0.5.5"
}

apply from: "impl.gradle"

0 comments on commit 674fb66

Please sign in to comment.