Struct mcpi_api::Entity [−][src]
pub struct Entity<'a> { /* fields omitted */ }
Implementations
impl Entity<'_>
[src]
impl Entity<'_>
[src]pub fn get_pos(&mut self, id: u16) -> Vec3
[src]
Get the position of a player entity
pub fn set_pos(&mut self, id: u16, pos: &Vec3)
[src]
Set the position of a player entity
pub fn get_tile_pos(&mut self, id: u16) -> TileVec3
[src]
Get the tile position of a player entity
pub fn set_tile_pos(&mut self, id: u16, pos: &TileVec3)
[src]
Set the tile position of a player entity
Auto Trait Implementations
impl<'a> RefUnwindSafe for Entity<'a>
impl<'a> RefUnwindSafe for Entity<'a>
impl<'a> !UnwindSafe for Entity<'a>
impl<'a> !UnwindSafe for Entity<'a>