diff options
author | Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> | 2022-07-14 11:58:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 17:58:06 +0700 |
commit | dbd0e98223f34787e557b7d4357d3480955db4d9 (patch) | |
tree | 24cc1504866403dd7e3b7aeb70ee1985df6dcadd /src/main/java/gregtech/api | |
parent | 43e0c83fc3811ef80be129485cb4bb760360a8aa (diff) | |
download | GT5-Unofficial-dbd0e98223f34787e557b7d4357d3480955db4d9.tar.gz GT5-Unofficial-dbd0e98223f34787e557b7d4357d3480955db4d9.tar.bz2 GT5-Unofficial-dbd0e98223f34787e557b7d4357d3480955db4d9.zip |
DTPF Fixes (#1132)
* Add overclocking.
Require 1 of any energy hatch to form.
Change TT support to allow recipes to start as long as total voltage is sufficient.
* More OpV purging + cleanup
* Save EU_per_tick to NBT.
Reset EU_per_tick when machine stops to 0.
Change a few comments
* Fix typo
* Fix typo
* Fix DTPF not getting correct fuel discount.
Clean up code a bit.
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api')
-rw-r--r-- | src/main/java/gregtech/api/enums/HeatingCoilLevel.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/gregtech/api/enums/HeatingCoilLevel.java b/src/main/java/gregtech/api/enums/HeatingCoilLevel.java index 085a798e9a..dd1a68601e 100644 --- a/src/main/java/gregtech/api/enums/HeatingCoilLevel.java +++ b/src/main/java/gregtech/api/enums/HeatingCoilLevel.java @@ -19,25 +19,25 @@ public enum HeatingCoilLevel { MAX, //ETERNAL 13501 ; - + private static final HeatingCoilLevel[] VALUES = values(); /** - * @return the coil heat, used for recipes in the Electronic Blast Furnace for example + * @return the coil heat, used for recipes in the Electronic Blast Furnace for example. */ public long getHeat() { return this == None ? 0 : 1L + (900L * this.ordinal()); } /** - * @return the coil tier, used for discount in the Pyrolyse Ofen for example + * @return the coil tier, used for discount in the Pyrolyse Oven for example. */ public byte getTier() { return (byte) (this.ordinal() - 2); } /** - * @return the coil Level, used for Parallels in the Multi Furnace for example + * @return the coil Level, used for Parallels in the Multi Furnace for example. */ public byte getLevel() { return (byte) (1 << Math.min(Math.max(0, this.ordinal() - 2), 4)); |