Skip to content

Commit

Permalink
Make text gold and bold
Browse files Browse the repository at this point in the history
  • Loading branch information
zbx1425 committed Dec 27, 2024
1 parent 4a107cc commit b3c0a16
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ public class GameMenuScreenMixin {
private Widget replaceAdvancements(GridWidget.Adder instance, Widget widget, Operation<Widget> original) {
if (!ScatteredShards.CONFIG.replace_advancements.get()) return original.call(instance, widget);
return instance.add(ButtonWidget.builder(
Text.translatable("menu.scattered_shards.collection").setStyle(Style.EMPTY.withColor(Formatting.GOLD)),
Text.translatable("menu.scattered_shards.collection")
.styled(style -> style.withFormatting(Formatting.GOLD, Formatting.BOLD)),
b -> ScatteredShardsClient.openShardTablet()).width(98).build());
}
}

0 comments on commit b3c0a16

Please sign in to comment.