package com.encrox.zombie; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; import org.bukkit.entity.EntityType; import org.bukkit.util.BlockVector; import com.encrox.zombie.interactable.Lever; public class Mob { public EntityType type; public BlockVector bv; public String rounds; public Lever[] levers; public Mob(EntityType type, BlockVector bv, String rounds, Lever[] levers) { this.type = type; this.bv = bv; this.rounds = rounds; this.levers = levers; } public boolean spawn(int round) { for(int i = 0; i