Entity Util
Functions
Link copied to clipboard
public final static Vec3d getSpawnPosition(EntityType<? extends Entity> $self, World world, Vec3d center)
Gets the spawn position if the given entity has enough space to spawn at the given position, or null
, if the position is obstructed by blocks.