/** * Allows what to spawn to change on-the-fly * * @param spawn */ public void setSpawn(String spawn) { spawner.h = spawn; update(); }
/** * Allows delay of what to spawn to change on-the-fly Modification of this is near-useless as * delays get randomized after spawn. See: Block.setSpawnData() if you want to adjust this value. * * @param delay */ public void setDelay(int delay) { spawner.e = delay; }
public void update() { spawner.d(); }