Skip to main content

SpawnRule

Type Alias SpawnRule 

Source
pub(crate) type SpawnRule = fn(EntityTypeRef, &dyn LevelReader, EntitySpawnReason, BlockPos, &mut dyn Rng) -> bool;
Expand description

Spawn placement predicate of an entity type.