Skip to main content

ClientViewHost

Trait ClientViewHost 

pub trait ClientViewHost {
    // Provided method
    fn block_collision(&self, pos: [i32; 3]) -> Vec<[f64; 6]> { ... }
}
Expand description

The host’s methods both sides share of the client_view area, implemented by the game and reached through Host.

Provided Methods§

fn block_collision(&self, pos: [i32; 3]) -> Vec<[f64; 6]>

Side: both. Collision boxes in block-local coordinates with an empty collision context.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§