spawnEntity

public abstract Entity spawnEntity(Location loc, EntityType type)

Creates getClassById entity at the given Location

Return

Resulting Entity of this method, or null if it was unsuccessful

Parameters

loc

The location to spawn the entity

type

The entity to spawn