use of thebetweenlands.common.capability.circlegem.CircleGemType in project RandomTweaker by Project-RT.
the class BLCircleGem method addGem.
@ZenMethod
public static void addGem(IEntity entity, String gemType, String combatType) {
CircleGemType circleGemType = getCircleGemType(gemType);
CombatType combatType1 = getCombatType(combatType);
if (circleGemType != null) {
if (combatType1 != null) {
CircleGemHelper.addGem(CraftTweakerMC.getEntity(entity), circleGemType, combatType1);
} else {
CraftTweakerAPI.logError("combatType was non-existent");
}
} else {
CraftTweakerAPI.logError("gemType was non-existent");
}
}
Aggregations