mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-10-25 20:32:32 +00:00
Extend ColorUtils and bump GTNHLib (#306)
This commit is contained in:
1 parent
2123db72e1
commit
522e5806ca
3 files changed
+5
-3
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ dependencies {
|
||||
api("com.github.GTNewHorizons:Mantle:0.5.3:dev")
|
||||
api("com.github.GTNewHorizons:ForgeMultipart:1.7.10:dev")
|
||||
// gtnhlib is compileOnlyApi by us, but needed at runtime by nei, so require the correct version
|
||||
api("com.github.GTNewHorizons:GTNHLib:0.11.16:dev")
|
||||
api("com.github.GTNewHorizons:GTNHLib:0.11.30:dev")
|
||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.103-GTNH:dev")
|
||||
compileOnlyApi("curse.maven:cofh-core-69162:2388751")
|
||||
compileOnly("com.github.GTNewHorizons:inventory-tweaks:1.7.1:api")
|
||||
|
||||
@@ -23,6 +23,7 @@ public class ColorUtils {
|
||||
materialBowDrawSpeed = color.rgb("materialBowDrawSpeed", "0x404040"),
|
||||
materialBowFlightSpeedMax = color.rgb("materialBowFlightSpeedMax", "0x404040"),
|
||||
materialArrowMass = color.rgb("materialArrowMass", "0x404040"),
|
||||
materialArrowBreakChance = color.rgb("materialArrowBreakChance", "0x404040");
|
||||
materialArrowBreakChance = color.rgb("materialArrowBreakChance", "0x404040"),
|
||||
neiTemperature = color.rgb("neiTemperature", "0x808080");
|
||||
// spotless:on
|
||||
}
|
||||
@@ -18,6 +18,7 @@ import it.unimi.dsi.fastutil.objects.ObjectOpenHashSet;
|
||||
import it.unimi.dsi.fastutil.objects.ObjectSet;
|
||||
import mantle.utils.ItemMetaWrapper;
|
||||
import tconstruct.library.crafting.Smeltery;
|
||||
import tconstruct.library.util.ColorUtils;
|
||||
|
||||
public class RecipeHandlerMelting extends RecipeHandlerBase {
|
||||
|
||||
@@ -91,7 +92,7 @@ public class RecipeHandlerMelting extends RecipeHandlerBase {
|
||||
@Override
|
||||
public void drawExtras(int recipe) {
|
||||
int temperature = ((CachedMeltingRecipe) this.arecipes.get(recipe)).temperature;
|
||||
GuiDraw.drawStringC(temperature + " C", 81, 9, 0x808080, false);
|
||||
GuiDraw.drawStringC(temperature + " C", 81, 9, ColorUtils.neiTemperature.getColor(), false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user