Skip to main content

switch_world_at_location

Function switch_world_at_location 

Source
fn switch_world_at_location(
    context: &CommandContext<CommandSource, SteelCommandRuntime>,
    rotation: Option<(f32, f32)>,
) -> Result<i32, CommandSyntaxError>
Expand description

Resolves the location like /teleport, keeping the player’s own rotation if none is given.