From dbd0e98223f34787e557b7d4357d3480955db4d9 Mon Sep 17 00:00:00 2001 From: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> Date: Thu, 14 Jul 2022 11:58:06 +0100 Subject: 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> --- src/main/java/gregtech/api/enums/HeatingCoilLevel.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/gregtech/api/enums') 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)); -- cgit