This repository was archived by the owner on Jul 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +16
-10
lines changed
src/main/java/net/htmlcsjs/htmlTech Expand file tree Collapse file tree 6 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 1
1
import net.minecraftforge.gradle.user.UserBaseExtension
2
2
3
+ // TODO: rewrite gradle to use fg5
4
+
3
5
buildscript {
4
6
repositories {
5
7
mavenCentral()
@@ -68,17 +70,22 @@ repositories {
68
70
maven {
69
71
setUrl(" https://maven.cleanroommc.com" )
70
72
}
73
+ maven {
74
+ name = " maverinth"
75
+ setUrl(" https://api.modrinth.com/maven" )
76
+ }
71
77
}
72
78
73
79
dependencies {
74
80
" 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
76
82
" deobfCompile" (" codechicken-lib-1-8:CodeChickenLib-1.12.2:3.2.3.358:universal" )
77
83
" deobfCompile" (" codechicken:ChickenASM:1.12-1.0.2.9" )
78
84
" deobfCompile" (" mcjty.theoneprobe:TheOneProbe-1.12:1.12-1.4.23-16" )
79
85
" deobfCompile" (" team.chisel.ctm:CTM:MC1.12.2-1.0.2.31" )
80
86
" 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" ))
82
89
" deobfCompile" (" zone.rong:mixinbooter:4.2" ) // fuck rong
83
90
}
84
91
Original file line number Diff line number Diff line change 1
1
package net .htmlcsjs .htmlTech .api ;
2
2
3
3
import gregtech .api .GTValues ;
4
+ import gregtech .common .ConfigHolder ;
4
5
5
6
public class HTValues {
6
7
@@ -25,5 +26,5 @@ public class HTValues {
25
26
/**
26
27
* Length of MTE arrys depending on if GTValues.HT is set
27
28
*/
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 );
29
30
}
Original file line number Diff line number Diff line change @@ -91,11 +91,6 @@ public String getName() {
91
91
return "LaserContainer" ;
92
92
}
93
93
94
- @ Override
95
- public int getNetworkID () {
96
- return TraitNetworkIds .TRAIT_ID_ENERGY_CONTAINER ;
97
- }
98
-
99
94
@ Override
100
95
public NBTTagCompound serializeNBT () {
101
96
NBTTagCompound compound = new NBTTagCompound ();
Original file line number Diff line number Diff line change 4
4
import gregtech .api .recipes .ingredients .IntCircuitIngredient ;
5
5
import gregtech .api .unification .material .MarkerMaterials ;
6
6
import gregtech .api .unification .stack .UnificationEntry ;
7
+ import gregtech .common .ConfigHolder ;
7
8
import gregtech .common .blocks .BlockMetalCasing ;
8
9
import gregtech .loaders .recipe .CraftingComponent ;
9
10
import net .htmlcsjs .htmlTech .HtmlTech ;
@@ -63,7 +64,7 @@ public static void init() {
63
64
continue ;
64
65
}
65
66
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 );
67
68
ASSEMBLY_LINE_RECIPES .recipeBuilder ()
68
69
.input (HULL [i ])
69
70
.input (lens , Glass )
Original file line number Diff line number Diff line change 1
1
package net .htmlcsjs .htmlTech .loaders .recipe ;
2
2
3
+ import gregtech .common .ConfigHolder ;
4
+
3
5
import static gregtech .api .GTValues .*;
4
6
import static gregtech .api .recipes .RecipeMaps .MIXER_RECIPES ;
5
7
import static gregtech .api .unification .material .Materials .*;
9
11
10
12
public class MaterialLoader {
11
13
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 )
13
15
.input (dust , Flerovium , 1 )
14
16
.fluidInputs (Oxygen .getFluid (1000 ))
15
17
.input (dust , Phosphorus , 1 )
You can’t perform that action at this time.
0 commit comments