Class PlayerTabOverlay.HealthState
java.lang.Object
net.minecraft.client.gui.components.PlayerTabOverlay.HealthState
- Enclosing class:
PlayerTabOverlay
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private static final long
private static final long
private int
private static final long
private long
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
isBlinking
(long p_251847_) void
update
(int p_251066_, long p_251460_)
-
Field Details
-
DISPLAY_UPDATE_DELAY
private static final long DISPLAY_UPDATE_DELAY- See Also:
-
DECREASE_BLINK_DURATION
private static final long DECREASE_BLINK_DURATION- See Also:
-
INCREASE_BLINK_DURATION
private static final long INCREASE_BLINK_DURATION- See Also:
-
lastValue
private int lastValue -
displayedValue
private int displayedValue -
lastUpdateTick
private long lastUpdateTick -
blinkUntilTick
private long blinkUntilTick
-
-
Constructor Details
-
HealthState
public HealthState(int p_250562_)
-
-
Method Details
-
update
public void update(int p_251066_, long p_251460_) -
displayedValue
public int displayedValue() -
isBlinking
public boolean isBlinking(long p_251847_)
-