QuidProQuo/src/main/java/top/penowl/quidproquo/rituals/CrystalizationRtiual.java
B1G-FUNGUS e44cc58d8d Removed unecessary imports
Wow, I wonder what the yellow warnings mean.
though to be fair java is scuffed and I've gotten warnings for ok things
2021-10-02 21:01:18 -07:00

28 lines
730 B
Java

package top.penowl.quidproquo.rituals;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import top.penowl.quidproquo.Ritual;
public class CrystalizationRtiual extends Ritual {
@Override
public void setup() {
addIngredient(Material.ENDER_PEARL, 1);
addIngredient(Material.GLASS, 1);
addIngredient(Material.TNT, 1);
addIngredient(Material.WHEAT, 32);
name = "crystalization";
health = 2;
}
@Override
public void execute(Player caster, Player target, Location location) {
location.getWorld().spawnEntity(location.clone().add(0, 1, 0), EntityType.ENDER_CRYSTAL);
}
}