If 3 chests are placed to next to each other, which 2 is then the doublechest?

Discussion in 'Plugin Development' started by Gabriel333, Aug 3, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Gabriel333

    I trying to make my first plugin and i want to read the inventory of a doublechest.

    But if 3 chests are placed to next to each other, which 2 is then the doublechest?
     
  2. Offline

    Baummann

    You can't place 3 chests next to each other.
     
  3. Offline

    Gabriel333

    Okay - stupid question then :)


    I only have to check for a chest block in getRelative(BlockFace.EAST) ... WEST, SOUTH and NORTH then?


    Thank you for your help anyway!
     
  4. Offline

    vildaberper

    You can, if you place water beside a doublechest and then placig another chest where the water source was.
    Or was that bug fixed?

    Chests are placed like this: [1][2][3]
    However, I think that if you click 1 itll open 1 and 2 as a normal doublechest, if you click 3 itll open 2 and 3.
    But if you click 2 itll open a bugged chest, some of 1s contents and some if 3s, but all of 2s.
    Im not compleately sure though.
     
  5. Offline

    Baummann

    Yes the bug has been fixed.
     
Thread Status:
Not open for further replies.

Share This Page