mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 03:47:27 +00:00
Implemented dialog and text colors.
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user