Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power Substation UI Coloring #2256

Merged
merged 3 commits into from
Oct 29, 2024
Merged

Conversation

mikerooni
Copy link
Member

What

Adds UI colors to power substations

@mikerooni mikerooni requested a review from a team as a code owner October 27, 2024 22:21
@YoungOnionMC YoungOnionMC changed the title Mi/power substation UI colors Power Substation UI Coloring Oct 27, 2024
@screret screret added the type: feature New feature or request label Oct 28, 2024
textList.add(Component.translatable("gtceu.multiblock.power_substation.stored",
FormattingUtil.formatNumbers(energyStored)));
storedComponent.setStyle(STYLE_GOLD)));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could've just used withStyle(ChatFormatting.GOLD)

@mikerooni mikerooni merged commit c64bd1d into 1.20.1 Oct 29, 2024
3 of 4 checks passed
@mikerooni mikerooni deleted the mi/power-substation-ui-colors branch October 29, 2024 22:04
krossgg pushed a commit that referenced this pull request Oct 31, 2024
screret pushed a commit that referenced this pull request Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants