Comments on Profile Post by Muqsit

  1. Muqsit
    Muqsit
    You can create a menu out of a player's inventory f.e. But do remember, that isn't an easy /invsee right there. You need to take appropriate measures and handle player quit, rejoin etc.
    Jul 1, 2019
  2. Muqsit
    Muqsit
    Same goes for creating inventory out of chests you've placed. You'll need to handle chunk load/unload, tile deletion etc
    Jul 1, 2019
  3. Muqsit
    Muqsit
    The changes are on 4.0 branch though. And it's backwards incompatible. See the wiki about InvMenu v3.0.
    Jul 1, 2019
  4. BruhLol
    BruhLol
    if you setBlock($pos, Block::get(0)) does the tile auto delete?
    Jul 2, 2019
  5. BruhLol
    Jul 5, 2019
  6. Muqsit
    Muqsit
    @BruhLol InvMenu doesn't spawn a tile or a block on the server's side, it's completely client-sided but setBlock() will send block updates to the client which will make the client force-close the inventory, #blamemojang for having us spawn blocks and tiles for sending clients an inventory :(
    Jul 5, 2019
    BruhLol 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.