Custom Craft

Discussion in 'Development' started by Flow, Apr 12, 2019.

  1. Flow

    Flow Silverfish

    Messages:
    19
    How to use custom craft in explain please ?
     
  2. Emirhan Akpınar

    Emirhan Akpınar Witch

    Messages:
    58
    GitHub:
    EmirhanWSD
    with ShapedRecipe class
     
  3. MusicNOvas

    MusicNOvas Spider Jockey

    Messages:
    43
    PHP:
    public function onEnable(){
            
    $this->getServer()->getPluginManager()->registerEvents($this$this);
            
    $i Item::get(Item::CHAINMAIL_HELMET);
            
    $helmet = new ShapedRecipe(["AAA","A A","   "],["A"=>Item::get(Item::EMERALD)],[$i]);
            
    $helmet->registerToCraftingManager($this->getServer()->getCraftingManager());
     
  4. Levi

    Levi Skeleton

    Messages:
    846
    GitHub:
    captainleviftw
    OP asked to explain not to spoon feed
     
    Last edited: Apr 17, 2019
  5. ArutaVM

    ArutaVM Creeper

    Messages:
    1
    GitHub:
    ArutaVM
    Sorry, but
    Where is the position of the AAA letters like in the crafting table?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.