Skip to main content

Module spawn

Module spawn 

Source

Structsยง

AgeableMobGroupData
EntitySpawnRequest ๐Ÿ”’
Request for a complete, world-inserting entity spawn.

Enumsยง

EntitySpawnError ๐Ÿ”’
Failure from the shared spawn coordinator.
EntitySpawnPlacement ๐Ÿ”’
Placement modes used by the shared vanilla entity-spawn coordinator.
EntitySpawnReason
Vanilla EntitySpawnReason.
SpawnGroupData

Functionsยง

add_spawned_entity ๐Ÿ”’
Inserts a fully initialized entity into the live world entity manager.
apply_implicit_item_stack_components ๐Ÿ”’
Applies the implicit entity data carried by an item stack.
apply_item_stack_components ๐Ÿ”’
Applies all entity data carried by an item stack during a normal item spawn.
create_entity_instance ๐Ÿ”’
Creates an entity instance through the generated entity factory registry.
entity_y_offset ๐Ÿ”’
spawn_entity ๐Ÿ”’
Mirrors vanilla EntityType.spawn for server-side entity creation.