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

Use addWindow() to to open a chest at certain coordinates

Comments in 'Plugin Development' started by SpopovabgS, Feb 9, 2016.

  1. SpopovabgS
    Offline

    SpopovabgS New Member

    Joined:
    Oct 4, 2015
    Posts:
    8
    Minecraft User:
    _SKDownBG_
    One my friend is wondering if it's possible to use addWindow to open a chest at certain coordinates?
  2. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    yes but chest must be sent to the client so if chunk containing chest isn't sent to the client it doesn't work

    or near the player
  3. AndrewBit
    Offline

    AndrewBit Notable Member

    Joined:
    Jun 18, 2015
    Posts:
    435
    Minecraft User:
    AndrewBit4
    PHP:
    /*
    * @param $chest Chest
    */
    $chest->getInventory();

Share This Page

Advertisement