diff options
| author | Glease <4586901+Glease@users.noreply.github.com> | 2021-06-25 20:54:11 +0800 |
|---|---|---|
| committer | Glease <4586901+Glease@users.noreply.github.com> | 2021-07-30 14:39:32 +0800 |
| commit | e5a6de86d47d12130afe179303d7de5b78c85bff (patch) | |
| tree | f26510c8013d56a2146d63447fe9e50e2f7bfc6e /src/main/java/gregtech/common/blocks | |
| parent | 66e64ee13acd8ce0f4570c9ce73c849e125c67b9 (diff) | |
| download | GT5-Unofficial-e5a6de86d47d12130afe179303d7de5b78c85bff.tar.gz GT5-Unofficial-e5a6de86d47d12130afe179303d7de5b78c85bff.tar.bz2 GT5-Unofficial-e5a6de86d47d12130afe179303d7de5b78c85bff.zip | |
general bugfix & tweaking pass for multis
1. stupid typo in EBF preventing it from working at all.
2. All multis now require exactly one maintenance hatch to form.
3. All multis now use the unified overclocking mechanism if possible.
4. All multis that emits pollution now require at least one muffler hatch to form.
5. Coil structure element slightly tweaked.
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/common/blocks')
| -rw-r--r-- | src/main/java/gregtech/common/blocks/GT_Block_Casings5.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Casings5.java b/src/main/java/gregtech/common/blocks/GT_Block_Casings5.java index 296bf765b0..63645f3c3f 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Casings5.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Casings5.java @@ -108,6 +108,35 @@ public class GT_Block_Casings5 extends GT_Block_Casings_Abstract implements IHea } } + public static int getMetaFromCoilHeat(HeatingCoilLevel level) { + switch (level) { + case LV: + return 0; + case MV: + return 1; + case HV: + return 2; + case EV: + return 3; + case IV: + return 4; + case ZPM: + return 5; + case UV: + return 6; + case UEV: + return 7; + case UIV: + return 8; + case LuV: + return 9; + case UHV: + return 10; + default: + return 0; + } + } + @Override public HeatingCoilLevel getCoilHeat(int meta) { getOnCoilCheck().accept(this); |
