Skip to main content

register_vanilla_data_components

Function register_vanilla_data_components 

Source
pub fn register_vanilla_data_components(registry: &mut DataComponentRegistry)
Expand description

Registers all vanilla data components.

IMPORTANT: The registration order MUST match vanilla’s DataComponents.java exactly, as the component’s network ID is determined by its registration order.