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

Moving item from inventory to chest

Discussion in 'Development' started by JarguarLoveMC, Feb 17, 2020.

  1. JarguarLoveMC

    JarguarLoveMC Spider Jockey

    Messages:
    49
    How to i make it so if i move dirt into chest, the event get cancel

    i only know how to check if the item is dirt but idk how to check transfer within chest
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    GamakCZ likes this.
  3. JarguarLoveMC

    JarguarLoveMC Spider Jockey

    Messages:
    49
    I saw the doc already, but i seem to get a better understanding through example
     
  4. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    Add debug to your code to test what's in inventory transaction event.
     
    HimbeersaftLP likes this.
  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.