Implemented dialog and text colors.

This commit is contained in:
Luis C.M committed 2022-06-10 01:38:01 -05:00
1 parent 4fe61a904f
commit ff8fc68e88
6 files changed
+132 -47

No files matched your search

@@ -13,12 +13,14 @@ import noppes.npcs.entity.EntityNPCInterface;
public class TextBlockClient extends TextBlock{
private ChatStyle style;
public int color = 0xe0e0e0;
public int titleColor = 0xe0e0e0;
private String name;
private ICommandSender sender;
public TextBlockClient(ICommandSender sender, String text, int lineWidth, int color, Object... obs) {
public TextBlockClient(ICommandSender sender, String text, int lineWidth, int color, int titleColor, Object... obs) {
this(text, lineWidth, false, obs);
this.color = color;
this.titleColor = titleColor;
this.sender = sender;
}
public TextBlockClient(String name, String text, int lineWidth, int color, Object... obs) {