mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 18:09:44 +00:00
IPlayer:
-Removed 4 sendMessage functions that can already be done with Minecraft formatted codes.
This commit is contained in:
1 parent
37e12b81d0
commit
0aa9303f61
2 files changed
+14
-42
No files matched your search
@@ -93,18 +93,12 @@ public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T>
|
||||
int getFactionPoints(int faction);
|
||||
|
||||
/**
|
||||
* @param message The message you want to send
|
||||
* @param message The message you want to send. Compatible with formatting codes, which can be found on the attached link.
|
||||
* @see <a href="https://static.wikia.nocookie.net/minecraft_gamepedia/images/7/7e/Minecraft_Formatting.gif/revision/latest/scale-to-width-down/200?cb=20200828001454">Minecraft formatting codes</a>
|
||||
*
|
||||
*/
|
||||
void sendMessage(String message);
|
||||
|
||||
void sendMessage(String message, EnumChatFormatting color, boolean bold, boolean italic, boolean underlined);
|
||||
|
||||
void sendMessage(String message, EnumChatFormatting color, boolean bold, boolean italic, boolean obfuscated, boolean strikethrough, boolean underlined);
|
||||
|
||||
void sendMessage(String message, String color, boolean bold, boolean italic, boolean underlined);
|
||||
|
||||
void sendMessage(String message, String color, boolean bold, boolean italic, boolean obfuscated, boolean strikethrough, boolean underlined);
|
||||
|
||||
/**
|
||||
* @return Return gamemode. 0: Survival, 1: Creative, 2: Adventure
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user