TNT Countdown
Displays the fuse countdown above TNT.
Integration
How to toggle the mod
public void toggleTNTCountdownExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModTntCountdown.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
ADJUST_FUSE_TIME- Offset the default tnt delay in ticks. 1 second is 20 ticks
- Config Key:
adjust-fuse-time - Values
- Type:
Integer - Default:
0 - Minimum:
-80 - Maximum:
80
- Type:
-
BACKGROUND- Config Key:
background - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
TEXT_SHADOW- Config Key:
text-shadow - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
STATIC_COUNTDOWN_COLOR- Should the color stay the same the entire time.
- Config Key:
static-countdown-color - Values
- Type:
Boolean - Default:
false
- Type:
-
COLOR- Config Key:
color - Values
- Type:
String - Default:
#FF00FF00
- Type:
- Config Key:
-
PREFIX_COLOR- Config Key:
prefix-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key: