Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hidden chest

Comments in 'Plugin Development' started by Asparanc, Apr 30, 2015.

  1. Asparanc
    Offline

    Asparanc Active Member

    Joined:
    Feb 20, 2015
    Posts:
    210
    Minecraft User:
    Asparanc
    Hello, i'm working on a world generator for my Skyblock server.

    I would like to add a chest on the island , the chest is generate but it's hidden, i don't see it but i can interact with it, can someone help me ?
    Last edited: Apr 30, 2015
    LDX likes this.
  2. Goerick
    Offline

    Goerick Active Member

    Joined:
    Jan 24, 2014
    Posts:
    250
    Minecraft User:
    goerick
    Reload the chest with mc edit. Or change the chest into a rare block like a sponge and then replace it again with a chest.
  3. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    If you want to generate a chest you need to create a Chest block but also you need to create a Tile Entity.
  4. Asparanc
    Offline

    Asparanc Active Member

    Joined:
    Feb 20, 2015
    Posts:
    210
    Minecraft User:
    Asparanc
    I use that to spawn the chest :

    $this->chunk1-> setBlockId($x,$y+2,$z, Block::CHEST);

    How to create the tile ?

Share This Page

Advertisement