1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Place blocks

Discussion in 'Development' started by TheTrollArtz, Sep 6, 2018.

  1. TheTrollArtz

    TheTrollArtz Spider

    Messages:
    13
    GitHub:
    ithetrollidk
    What is the code to put glass blocks around?

    as in pc: /
     
  2. Aericio

    Aericio Slime

    Messages:
    99
    GitHub:
    aericio
    Could you be more specific? Your explanation is very vague. "as in pc" doesn't clarify anything.
     
  3. TheTrollArtz

    TheTrollArtz Spider

    Messages:
    13
    GitHub:
    ithetrollidk
    I mean I want you to put glass blocks around the player, like the $ level-> setBlock (new AIR ($ level));

    I explain?
     
  4. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    setBlock but with new Glass
     
  5. TheTrollArtz

    TheTrollArtz Spider

    Messages:
    13
    GitHub:
    ithetrollidk
    Yes, exact
     
  6. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Wait I did not understand what the problem is.
     
  7. TheTrollArtz

    TheTrollArtz Spider

    Messages:
    13
    GitHub:
    ithetrollidk
    I want to put the glass blocks in their position, but I do not know very well the code
     
  8. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    So you don't know how to setBlock()?
     
  9. DaPigGuy

    DaPigGuy Slime

    Messages:
    86
    GitHub:
    DaPigGuy
    Take a look at this.
     
    OnTheVerge likes this.
  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.