How to spawn a block?

Discussion in 'Help' started by Keyjekk, Aug 18, 2022.

  1. Keyjekk

    Keyjekk Creeper

    Messages:
    1
    how to spawn a block in coordinates when the server starts
    OnEnable():void{
    ...
    }

    API: 4.7.1
     
  2. BsoDin890

    BsoDin890 Creeper

    Messages:
    3
    getLevel()->setBlock(Vector3 $pos, $blockid);
    //not full code and can have errors, you need to experiment with this
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.