Centrifuge JEI Fix

- Vat JEI now properly displays the sprite for the Centrifuge instead of showing a vat with no machines
This commit is contained in:
PouffyDev
2025-07-09 15:17:53 +01:00
parent a5431aaad9
commit ae5b71c8ef
2 changed files with 6 additions and 1 deletions

View File

@@ -148,6 +148,10 @@ public class ChemicalVatCategory extends CreateRecipeCategory<VatMachineRecipe>
TFMGGuiTextures.VAT_MACHINE.render(graphics, 55 - 12, 0);
TFMGGuiTextures.MIXER.render(graphics, 55 - 19, 32);
}
if (machines.contains("tfmg:centrifuge")) {
TFMGGuiTextures.VAT_MACHINE.render(graphics, 55 - 12, 0);
TFMGGuiTextures.CENTRIFUGE.render(graphics, 55 - 12, 32);
}
if (machines.contains("tfmg:electrode")) {
TFMGGuiTextures.VAT_MACHINE.render(graphics, 55 - 12 - 32, 0);
TFMGGuiTextures.VAT_MACHINE.render(graphics, 55 - 12 + 32, 0);

View File

@@ -26,7 +26,8 @@ public enum TFMGGuiTextures implements ScreenElement {
VAT("chemical_vat", 0, 0, 110, 84),
VAT_MACHINE("chemical_vat", 112, 0, 24, 24),
SLOT("chemical_vat", 112, 24, 20, 20),
MIXER("chemical_vat", 136, 0, 38, 37),
MIXER("chemical_vat", 136, 0, 38, 29),
CENTRIFUGE("chemical_vat", 143, 30, 24, 29),
ELECTRODE("chemical_vat", 189, 0, 8, 29),
GRAPHITE_ELECTRODE("chemical_vat", 176, 0, 8, 29),
FIREPROOF_BRICK_OVERLAY("chemical_vat", 0, 84, 96, 72),