package com.elmakers.mine.bukkit.elementals;

import info.nothingspecial.api.elementals.ElementalsAPI;

import org.bukkit.command.CommandSender;
import org.bukkit.entity.Entity;
import org.bukkit.plugin.Plugin;

public class ElementalsController {
	private ElementalsAPI api;
	
	public ElementalsController(Plugin plugin) {
		api = (ElementalsAPI)plugin;
	}

	public boolean isElemental(Entity entity) {
		return api.isElemental(entity);
	}

	public boolean damageElemental(Entity entity, double damage, int fireTicks, CommandSender attacker) {
		return api.damageElemental(entity, damage, fireTicks, attacker);
	}

	public boolean setElementalScale(Entity entity, double scale) {
		return api.setElementalScale(entity, scale);
	}

	public double getElementalScale(Entity entity) {
		return api.getElementalScale(entity);
	}
}

@@ -97,16 +97,44 @@
 lsAPI;%0A%0A
+import org.bukkit.Location;%0A
 import o
@@ -846,10 +846,175 @@
 ty);%0A%09%7D%0A
+%09%0A%09public boolean createElemental(Location location, String templateName, CommandSender creator) %7B%0A%09%09return api.createElemental(location, templateName, creator);%0A%09%7D%0A
 %7D%0A

Add createElemental method