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 11import net.minecraftforge.gradle.user.UserBaseExtension
22
3+ // TODO: rewrite gradle to use fg5
4+
35buildscript {
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
7379dependencies {
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
Original file line number Diff line number Diff line change 11package net .htmlcsjs .htmlTech .api ;
22
33import gregtech .api .GTValues ;
4+ import gregtech .common .ConfigHolder ;
45
56public 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}
Original file line number Diff line number Diff 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 ();
Original file line number Diff line number Diff line change 44import gregtech .api .recipes .ingredients .IntCircuitIngredient ;
55import gregtech .api .unification .material .MarkerMaterials ;
66import gregtech .api .unification .stack .UnificationEntry ;
7+ import gregtech .common .ConfigHolder ;
78import gregtech .common .blocks .BlockMetalCasing ;
89import gregtech .loaders .recipe .CraftingComponent ;
910import 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 )
Original file line number Diff line number Diff line change 11package net .htmlcsjs .htmlTech .loaders .recipe ;
22
3+ import gregtech .common .ConfigHolder ;
4+
35import static gregtech .api .GTValues .*;
46import static gregtech .api .recipes .RecipeMaps .MIXER_RECIPES ;
57import static gregtech .api .unification .material .Materials .*;
911
1012public 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 )
You can’t perform that action at this time.
0 commit comments