Examples of IChatComponent


Examples of net.minecraft.util.IChatComponent

    }
  }
 
  @SubscribeEvent
  public void clientChat(ClientChatReceivedEvent event) {
    IChatComponent message = event.message;
    if(message != null && message.getFormattedText() != null) {
      String realMessage = "";
      try {
        realMessage = message.getFormattedText();
      } catch(ClassCastException e) {
        //Ignore that
      } catch(Exception e) {
        e.printStackTrace();
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.