Skip to main content

Module spawner

Module spawner 

Source
Expand description

Normal mob-spawner block entity and its persistent spawn configuration.

Re-exports§

pub use base_spawner::BaseSpawner;
pub use base_spawner::BaseSpawnerConfig;
pub use spawn_data::CustomSpawnRules;
pub use spawn_data::EquipmentTable;
pub use spawn_data::LightRange;
pub use spawn_data::SpawnData;
pub use spawn_data::WeightedSpawnData;

Modules§

base_spawner 🔒
Shared spawn-cycle state and ticking used by spawner block entities.
spawn_data 🔒
Spawner SpawnData and its optional light and equipment rules.

Structs§

SpawnerBlockEntity
Concrete normal mob-spawner block entity.

Traits§

Spawner
Capability implemented by normal spawner block entities.