Skip to content
BasaltSoftware
Bedrock 1.26.60

Site colour

Discord
Esc

    ↑↓ moveEnter openEsc close

    Keyboard shortcuts
    Ctrl K
    Search the whole site, from any page
    /
    Jump to the sidebar search, or search the whole site where there isn't one
    Enter
    Open the top search result
    Esc
    Clear the search, or close this panel
    ?
    Show these shortcuts
    3 properties
    On this page

    Interface in @minecraft/server

    Extended by DimensionLocation

    A position or direction in the world.

    import type { Vector3 } from '@minecraft/server';
    import { world, type Vector3 } from '@minecraft/server';
    const vector3: Vector3 = world.getDefaultSpawnLocation();
    console.log(vector3.x);
    import { world } from '@minecraft/server';
    const vector3 = world.getDefaultSpawnLocation();
    console.log(vector3.x);
    x: number;
    y: number;
    z: number;

    EntityFilterOptions.location, TeleportOptions.facingLocation, ItemStack.getDynamicProperty, ItemStack.setDynamicProperty, ItemStack.setDynamicProperties, BlockVolume.constructor, BlockVolume.from, BlockVolume.to, BlockVolume.getMax, BlockVolume.getMin, BlockVolume.getSpan, BlockVolume.isInside, BlockVolume.translate, Block.location, Block.offset, Block.center, Block.bottomCenter, Block.getDynamicProperty, Block.setDynamicProperty, Block.setDynamicProperties, ContainerSlot.getDynamicProperty, ContainerSlot.setDynamicProperty, ContainerSlot.setDynamicProperties, Seat.position and 116 more