Skip to main content

load_entity_recursive_owned

Function load_entity_recursive_owned 

Source
pub(crate) fn load_entity_recursive_owned(
    world: &Arc<World>,
    nbt: &NbtCompound,
    reason: EntitySpawnReason,
    post_load: impl Fn(&SharedEntity),
) -> Option<LoadedEntity>
Expand description

Reborrows an owned compound and loads it through the recursive entity path.