From b66a152603c32e4aa73e17018ddc532380208b21 Mon Sep 17 00:00:00 2001 From: Markil3 <75867393+Markil3@users.noreply.github.com> Date: Sat, 27 Feb 2021 09:18:19 -0700 Subject: [PATCH] Locks down some fieldsso that they are now private. --- src/main/java/markil3/immersive_hud/TimerUtils.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/markil3/immersive_hud/TimerUtils.java b/src/main/java/markil3/immersive_hud/TimerUtils.java index 8932dd4..d71669f 100644 --- a/src/main/java/markil3/immersive_hud/TimerUtils.java +++ b/src/main/java/markil3/immersive_hud/TimerUtils.java @@ -42,9 +42,6 @@ import net.minecraft.util.Hand; import net.minecraft.util.hit.EntityHitResult; import net.minecraft.util.hit.HitResult; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; - import java.util.Iterator; import java.util.Optional; @@ -60,17 +57,17 @@ public class TimerUtils * The number of ticks that the hand will be onscreen. Every tick is 1/20th * of a second. */ - static final int HAND_TIME = 10 * 20; + private static final int HAND_TIME = 10 * 20; /** * The number of ticks most elements will be onscreen. Every tick is 1/20th * of a second. */ - static final int VISUAL_TIME = 6 * 20; + private static final int VISUAL_TIME = 6 * 20; /** * The number of ticks that the health and hunger bars will be onscreen. * Every tick is 1/20th of a second. */ - static final int HEALTH_TIME = (int) ((float) VISUAL_TIME * 2.5); + private static final int HEALTH_TIME = (int) ((float) VISUAL_TIME * 2.5); /** * How many more ticks the hand will be onscreen. Every tick is 1/20th of a