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:
@@ -148,6 +148,10 @@ public class ChemicalVatCategory extends CreateRecipeCategory<VatMachineRecipe>
|
|||||||
TFMGGuiTextures.VAT_MACHINE.render(graphics, 55 - 12, 0);
|
TFMGGuiTextures.VAT_MACHINE.render(graphics, 55 - 12, 0);
|
||||||
TFMGGuiTextures.MIXER.render(graphics, 55 - 19, 32);
|
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")) {
|
if (machines.contains("tfmg:electrode")) {
|
||||||
TFMGGuiTextures.VAT_MACHINE.render(graphics, 55 - 12 - 32, 0);
|
TFMGGuiTextures.VAT_MACHINE.render(graphics, 55 - 12 - 32, 0);
|
||||||
TFMGGuiTextures.VAT_MACHINE.render(graphics, 55 - 12 + 32, 0);
|
TFMGGuiTextures.VAT_MACHINE.render(graphics, 55 - 12 + 32, 0);
|
||||||
|
|||||||
@@ -26,7 +26,8 @@ public enum TFMGGuiTextures implements ScreenElement {
|
|||||||
VAT("chemical_vat", 0, 0, 110, 84),
|
VAT("chemical_vat", 0, 0, 110, 84),
|
||||||
VAT_MACHINE("chemical_vat", 112, 0, 24, 24),
|
VAT_MACHINE("chemical_vat", 112, 0, 24, 24),
|
||||||
SLOT("chemical_vat", 112, 24, 20, 20),
|
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),
|
ELECTRODE("chemical_vat", 189, 0, 8, 29),
|
||||||
GRAPHITE_ELECTRODE("chemical_vat", 176, 0, 8, 29),
|
GRAPHITE_ELECTRODE("chemical_vat", 176, 0, 8, 29),
|
||||||
FIREPROOF_BRICK_OVERLAY("chemical_vat", 0, 84, 96, 72),
|
FIREPROOF_BRICK_OVERLAY("chemical_vat", 0, 84, 96, 72),
|
||||||
|
|||||||
Reference in New Issue
Block a user