Skip to main content

encode_entry_into

Function encode_entry_into 

Source
pub fn encode_entry_into(
    out: &mut Vec<u8>,
    spawn_tick: u64,
    axes: [Option<i64>; 3],
    components: &[ComponentChange<'_>],
)
Expand description

Encode one update body (everything after the id): the spawn tick’s tag, mask, the axes given, and the component changes.