use of org.spongepowered.common.entity.ai.SpongeGoalType in project SpongeCommon by SpongePowered.
the class GoalTypeModule method createGoalType.
private GoalType createGoalType(String combinedId, String name) {
@SuppressWarnings("unchecked") final SpongeGoalType newType = new SpongeGoalType(combinedId, name, (Class<Goal<?>>) (Class<?>) EntityAITasks.class);
this.goalTypes.put(combinedId, newType);
return newType;
}
Aggregations