spawnBody

public MobBody spawnBody(Location location)

Creates the default grounded carrier.


public MobBody spawnBody(Location location, MindBodyProfile profile)

Creates a carrier using the requested native movement and physical profile.


public abstract MobBody spawnBody(Location location, MindBodyProfile profile, Consumer<MobBody> preparation)

Prepares the marked carrier before publishing its CreatureSpawnEvent. The callback may bind its Mind and configure the entity. Rejection or failure closes any attached Mind and removes the unpublished body. Callers retain responsibility for their own external bookkeeping.