forked from Haven-King/glowcase
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from Superkat32/1.21
[Modtoberfest] Text Block Built-in Access to Text Formatting, Color Picker
- Loading branch information
Showing
7 changed files
with
984 additions
and
4 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...main/java/dev/hephaestus/glowcase/client/gui/screen/ingame/ColorPickerIncludedScreen.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package dev.hephaestus.glowcase.client.gui.screen.ingame; | ||
|
||
import dev.hephaestus.glowcase.client.gui.widget.ingame.ColorPickerWidget; | ||
import net.minecraft.util.Formatting; | ||
|
||
public interface ColorPickerIncludedScreen { | ||
ColorPickerWidget colorPickerWidget(); | ||
void toggleColorPicker(boolean active); | ||
void insertHexTag(String hex); | ||
void insertFormattingTag(Formatting formatting); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.