1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

How to Increase the Slots of addWindow ??

Discussion in 'Development' started by MasterNice, Oct 13, 2017.

  1. MasterNice

    MasterNice Spider

    Messages:
    11
    How to Increase the Slots of addWindow
    Help
    Help
    I Need to Cod !!!!!!!
     
  2. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
    Increase slots of addWindow or chest? :p:p
     
    MasterNice likes this.
  3. MasterNice

    MasterNice Spider

    Messages:
    11
    Increase slots of chest
    when you open the addWindow
    obs > i dont speak english eee + or - speak english
    i from brazil hahaha
     
  4. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    You cannot do it currently. There's no way for it. It's possible on MCPC though, I believe that's what lead you to question that.
     
    Last edited: Dec 27, 2017
    OnTheVerge, Levi and MasterNice like this.
  5. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Cancel inventory open event, copy inventory items to your own Custom inventory with more slots, then send that to the client instead
     
  6. DayKoala

    DayKoala Silverfish

    Messages:
    22
    GitHub:
    daykoala
    You can use 2 chest joining them to create a DoubleInventory

    Code:
    if($chest instanceof Chest and $tile instanceof Chest){
       $chest->pairWith($tile);
       $tile->pairWith($chest);
    }
     
    MasterNice likes this.
  7. MasterNice

    MasterNice Spider

    Messages:
    11
    Thank you
     
  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.