WAILA
What am I looking at?
Integration
How to toggle the mod
public void toggleWAILAExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModWaila.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
SCALE- Config Key:
scale - Values
- Type:
Float - Default:
1.0F - Minimum:
0.5F - Maximum:
1.5F
- Type:
- Config Key:
-
ALWAYS_SHOW- Config Key:
always-show - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
SHOW_ENTITIES- Config Key:
show-entities - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
SHOW_COSMETICS- Config Key:
show-cosmetics - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
TEXT_SHADOW- Config Key:
text-shadow - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
BACKGROUND- Config Key:
background - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
BORDER- Config Key:
border - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
BORDER_THICKNESS- Config Key:
border-thickness - Values
- Type:
Float - Default:
0.5F - Minimum:
0.5F - Maximum:
3.0F
- Type:
- Config Key:
-
SHOW_BLOCK_COORDS- Config Key:
show-block-coords - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
BLOCK_COORDS_COLOR- Config Key:
block-coords-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
SHOW_CORRECT_TOOL- Config Key:
show-correct-tool - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
CORRECT_TOOL_COLOR- Config Key:
correct-tool-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
SHOW_BREAK_TIME- Config Key:
show-break-time - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
BREAK_TIME_COLOR- Config Key:
break-time-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
SHOW_LIGHT_LEVEL- Config Key:
show-light-level - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
LIGHT_LEVEL_COLOR- Config Key:
light-level-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
TEXT_COLOR- Config Key:
text-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
BACKGROUND_COLOR- Config Key:
background-color - Values
- Type:
String - Default:
#80000000
- Type:
- Config Key:
-
BORDER_COLOR- Config Key:
border-color - Values
- Type:
String - Default:
#9F000000
- Type:
- Config Key:
-
VERTICAL_SPACING- Config Key:
vertical-spacing - Values
- Type:
Integer - Default:
3 - Minimum:
1 - Maximum:
10
- Type:
- Config Key:
-
HORIZONTAL_SPACING- Config Key:
horizontal-spacing - Values
- Type:
Integer - Default:
3 - Minimum:
1 - Maximum:
10
- Type:
- Config Key: