Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 1aa85ad

Browse files
committed
Update to GT 2.6.1
1 parent 0f68c45 commit 1aa85ad

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-10
lines changed

build.gradle.kts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import net.minecraftforge.gradle.user.UserBaseExtension
22

3+
// TODO: rewrite gradle to use fg5
4+
35
buildscript {
46
repositories {
57
mavenCentral()
@@ -68,17 +70,22 @@ repositories {
6870
maven {
6971
setUrl("https://maven.cleanroommc.com")
7072
}
73+
maven {
74+
name = "maverinth"
75+
setUrl("https://api.modrinth.com/maven")
76+
}
7177
}
7278

7379
dependencies {
7480
"deobfCompile"("mezz.jei:jei_1.12.2:+")
75-
"deobfCompile"("curse.maven:ceu-557242:4422409")
81+
"deobfCompile"("maven.modrinth:gregtech-ce-unofficial:2.6.1") // 2.6.1
7682
"deobfCompile"("codechicken-lib-1-8:CodeChickenLib-1.12.2:3.2.3.358:universal")
7783
"deobfCompile"("codechicken:ChickenASM:1.12-1.0.2.9")
7884
"deobfCompile"("mcjty.theoneprobe:TheOneProbe-1.12:1.12-1.4.23-16")
7985
"deobfCompile"("team.chisel.ctm:CTM:MC1.12.2-1.0.2.31")
8086
"deobfCompile"("CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.20.655")
81-
"deobfCompile"("curse.maven:groovyscript-687577:4399621")
87+
// "deobfCompile"("curse.maven:groovyscript-687577:4399621")
88+
"provided"(files("libs/groovyscript-0.4.0.jar"))
8289
"deobfCompile"("zone.rong:mixinbooter:4.2") // fuck rong
8390
}
8491

libs/groovyscript-0.4.0.jar

8.52 MB
Binary file not shown.

src/main/java/net/htmlcsjs/htmlTech/api/HTValues.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package net.htmlcsjs.htmlTech.api;
22

33
import gregtech.api.GTValues;
4+
import gregtech.common.ConfigHolder;
45

56
public class HTValues {
67

@@ -25,5 +26,5 @@ public class HTValues {
2526
/**
2627
* Length of MTE arrys depending on if GTValues.HT is set
2728
*/
28-
public static final int mteLength = GTValues.HT ? GTValues.V.length - 1 : Math.min(GTValues.V.length - 1, GTValues.UV + 1);
29+
public static final int mteLength = ConfigHolder.machines.highTierContent ? GTValues.V.length - 1 : Math.min(GTValues.V.length - 1, GTValues.UV + 1);
2930
}

src/main/java/net/htmlcsjs/htmlTech/api/capability/LaserContainerHandler.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,6 @@ public String getName() {
9191
return "LaserContainer";
9292
}
9393

94-
@Override
95-
public int getNetworkID() {
96-
return TraitNetworkIds.TRAIT_ID_ENERGY_CONTAINER;
97-
}
98-
9994
@Override
10095
public NBTTagCompound serializeNBT() {
10196
NBTTagCompound compound = new NBTTagCompound();

src/main/java/net/htmlcsjs/htmlTech/loaders/recipe/LaserEquipmentLoader.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import gregtech.api.recipes.ingredients.IntCircuitIngredient;
55
import gregtech.api.unification.material.MarkerMaterials;
66
import gregtech.api.unification.stack.UnificationEntry;
7+
import gregtech.common.ConfigHolder;
78
import gregtech.common.blocks.BlockMetalCasing;
89
import gregtech.loaders.recipe.CraftingComponent;
910
import net.htmlcsjs.htmlTech.HtmlTech;
@@ -63,7 +64,7 @@ public static void init() {
6364
continue;
6465
}
6566
try {
66-
Object sensor = !HT && i == UHV ? CraftingComponent.SENSOR.getIngredient(i - 1) : CraftingComponent.SENSOR.getIngredient(i);
67+
Object sensor = !ConfigHolder.machines.highTierContent && i == UHV ? CraftingComponent.SENSOR.getIngredient(i - 1) : CraftingComponent.SENSOR.getIngredient(i);
6768
ASSEMBLY_LINE_RECIPES.recipeBuilder()
6869
.input(HULL[i])
6970
.input(lens, Glass)

src/main/java/net/htmlcsjs/htmlTech/loaders/recipe/MaterialLoader.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package net.htmlcsjs.htmlTech.loaders.recipe;
22

3+
import gregtech.common.ConfigHolder;
4+
35
import static gregtech.api.GTValues.*;
46
import static gregtech.api.recipes.RecipeMaps.MIXER_RECIPES;
57
import static gregtech.api.unification.material.Materials.*;
@@ -9,7 +11,7 @@
911

1012
public class MaterialLoader {
1113
public static void init() {
12-
MIXER_RECIPES.recipeBuilder().EUt(HT ? VA[MAX] : VA[UV]).duration(200)
14+
MIXER_RECIPES.recipeBuilder().EUt(ConfigHolder.machines.highTierContent ? VA[MAX] : VA[UV]).duration(200)
1315
.input(dust, Flerovium, 1)
1416
.fluidInputs(Oxygen.getFluid(1000))
1517
.input(dust, Phosphorus, 1)

0 commit comments

Comments
 (0)