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

Code Open CraftingTeable

Comments in 'Plugin Development' started by Omar2s2, Feb 8, 2016.

  1. Omar2s2
    Offline

    Omar2s2 New Member

    Joined:
    Dec 23, 2015
    Posts:
    12
    Minecraft User:
    Pop
    How Can I Open CraftingTeble
    I want It On Touch Villager .
  2. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    PHP:
    $table $this->getServer()->getTile(new Vector3($x$y$z));
    $player->addWindow($table->getInventory());
  3. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
  4. AndrewBit
    Offline

    AndrewBit Notable Member

    Joined:
    Jun 18, 2015
    Posts:
    435
    Minecraft User:
    AndrewBit4
    All in code is possible.
    Simply use your brain.

    Maybe a fake tile, or a invisible crafting table in front of all villagers...
  5. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    But crafting isn't tile and as you can not cancel crafting opening so you can not open it.
    Muqsit and ImagicalGamer like this.
  6. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    [​IMG]

    And not that everything in code is possible. For example, it is not possible to change textures client-side (unless you mod, which is out of scope of diefussion).
    Skullex and Creeperface like this.
  7. xiaoq
    Offline

    xiaoq Active Member

    Joined:
    Dec 23, 2014
    Posts:
    232
    Minecraft User:
    xiaoq
    So? can we use code to open a crafting table?
  8. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace

Share This Page

Advertisement