Examples of EnumGolemCores


Examples of thaumic.tinkerer.common.core.golems.EnumGolemCores

    if (golem == null)
      return new String[]{ };
    if (golem.getCore() == -1)
      return new String[]{ StatCollector.translateToLocal("item.ItemGolemCore.100.name") };
    String[] decorations = new String[1];
    EnumGolemCores golemCore = EnumGolemCores.getFromByte(golem.getCore());
    if (golemCore == null)
      throw new Exception("Golem has Unknown core: " + golem.getCore());
    decorations[0] = StatCollector.translateToLocal(golemCore.getName());

    return decorations;

  }
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.