pub(crate) type SpawnRule = fn(EntityTypeRef, &dyn LevelReader, EntitySpawnReason, BlockPos, &mut dyn Rng) -> bool;Expand description
Spawn placement predicate of an entity type.
pub(crate) type SpawnRule = fn(EntityTypeRef, &dyn LevelReader, EntitySpawnReason, BlockPos, &mut dyn Rng) -> bool;Spawn placement predicate of an entity type.