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

inventory menu

Comments in 'Plugin Development' started by alexwolf_dev, Apr 8, 2016.

  1. alexwolf_dev
    Offline

    alexwolf_dev New Member

    Joined:
    Apr 6, 2016
    Posts:
    10
    Minecraft User:
    skillhearts
    Hello, how to create a menu of the chest with the item and how to use fuction addWindow()?
  2. MCPEPIG
    Offline

    MCPEPIG Notable Member

    Joined:
    Jun 22, 2014
    Posts:
    349
    Minecraft User:
    MCPEPIG
    PHP:
    $chest $this->getServer()->getLevelByName("ChestWorld")->getTile(new Vector3(111)); //You must place a chest at 1, 1, 1 or whatever coordinate you choose
    $player->addWindow($chest->getInventory());
    Skullex likes this.

Share This Page

Advertisement