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

Help me, i trying spawn bed

Discussion in 'Help' started by Nikita, Jun 18, 2021.

  1. Nikita

    Nikita Spider

    Messages:
    6
    GitHub:
    Ejejejjehehrhd
    Hello everyone! I have a problem.
    I'm trying to spawn the bed.
    Here's the code: $ this-> world-> setBlockIdAt (243, 220, 257, 26);
    An invisible half-block appears. Thanks in advance
     
  2. Electro Games

    Electro Games Spider

    Messages:
    8
    GitHub:
    electrogamesyt
    Im not 100% sure if there is a way around it. May I ask what you need it for?
     
  3. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
  4. Nikita

    Nikita Spider

    Messages:
    6
    GitHub:
    Ejejejjehehrhd
    I am making a plugin for bedwars, before starting the game I want to spawn each command's bed
     
  5. Nikita

    Nikita Spider

    Messages:
    6
    GitHub:
    Ejejejjehehrhd
  6. Nikita

    Nikita Spider

    Messages:
    6
    GitHub:
    Ejejejjehehrhd
    when I click on an invisible block that appears to me it says the bed incomplete
     
  7. Superomarking

    Superomarking Spider Jockey

    Messages:
    34
    GitHub:
    Superomarking
    $level->setBlock(new Vector3(x, y, z), bedId);
    $level = $this->getServer()->getLevelByName("world");
     
  8. Nikita

    Nikita Spider

    Messages:
    6
    GitHub:
    Ejejejjehehrhd
    no
     
  9. Nikita

    Nikita Spider

    Messages:
    6
    GitHub:
    Ejejejjehehrhd
    when I click on an invisible block that appears to me it says the bed incomplete
     
  10. DavyCraft648

    DavyCraft648 Spider Jockey

    Messages:
    40
    GitHub:
    DavyCraft648
  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.