Compatibility
Minecraft: Java Edition
1.20.1
Platforms
Supported environments
Details
Changelog
Made changes to hide aspects in tooltips by default while allowing developers to customize when they're shown.
Key Changes:
- Hidden by default: Aspects won't show in tooltips unless explicitly enabled
- Flexible conditions: Developers can add multiple visibility conditions
- Player context: Conditions have access to player state and inventory
- Easy to use: Simple API for adding custom conditions
- Non-intrusive: Doesn't require changes to existing item/entity code
Usage Examples:
- Always show aspects:
AspectsTooltipConfig.setAlwaysShow(true);
- Show only when holding a specific item:
AspectsTooltipConfig.addVisibilityCondition((stack, player) -> {
if (player == null) return false;
return player.getMainHandStack().isOf(Items.GOLD_INGOT);
});
- Show only in creative mode:
AspectsTooltipConfig.addVisibilityCondition((stack, player) -> {
return player != null && player.isCreative();
});
- Show only when sneaking:
AspectsTooltipConfig.addVisibilityCondition((stack, player) -> {
return player != null && player.isSneaking();
});
- Complex condition (show when holding compass and in overworld):
AspectsTooltipConfig.addVisibilityCondition((stack, player) -> {
if (player == null) return false;
return player.getMainHandStack().isOf(Items.COMPASS) &&
player.getWorld().getRegistryKey() == World.OVERWORLD;
});
Files
Metadata
Release channel
ReleaseVersion number
1.0.5Loaders
Game versions
1.20.1Downloads
37Publication date
August 5, 2025 at 10:25 PMPublisher

Overgrown
Developer