Package net.minecraft.util

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

Related Classes of net.minecraft.util.IChatComponent

Copyright © 2018 www.massapicom. 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.