Changed chemical vat texture and added Heating visualisation

This commit is contained in:
Pepa
2025-05-25 20:38:01 +02:00
parent 8b566a64f5
commit 844068a018
3 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import com.drmangotea.tfmg.registry.TFMGGuiTextures;
import com.mojang.blaze3d.vertex.PoseStack;
import com.simibubi.create.compat.jei.category.CreateRecipeCategory;
import com.simibubi.create.compat.jei.category.sequencedAssembly.SequencedAssemblySubCategory;
import com.simibubi.create.content.processing.recipe.HeatCondition;
import com.simibubi.create.content.processing.sequenced.SequencedRecipe;
import com.simibubi.create.foundation.gui.AllGuiTextures;
import mezz.jei.api.gui.builder.IRecipeLayoutBuilder;
@@ -109,6 +110,9 @@ public class ChemicalVatCategory extends CreateRecipeCategory<VatMachineRecipe>
TFMGGuiTextures.GRAPHITE_ELECTRODE.render(graphics, 55 - 4 + 32, 32);
TFMGGuiTextures.GRAPHITE_ELECTRODE.render(graphics, 55 - 4, 32);
}
if (recipe.getRequiredHeat() == HeatCondition.HEATED){
TFMGGuiTextures.VAT_HEATER.render(graphics, 55 - 10, 109);
}
int pos = 55;
int width = ((recipe.getFluidIngredients().size()) * 21) / 2;
for (int i = 0; i < recipe.getFluidIngredients().size(); i++) {

View File

@@ -30,6 +30,7 @@ public enum TFMGGuiTextures implements ScreenElement {
ELECTRODE("chemical_vat", 189, 0, 8, 29),
GRAPHITE_ELECTRODE("chemical_vat", 176, 0, 8, 29),
FIREPROOF_BRICK_OVERLAY("chemical_vat", 0, 84, 96, 72),
VAT_HEATER("chemical_vat", 112, 44, 20, 14),
;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB