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

Creating a new inventory

Comments in 'Plugin Development' started by minebuilder0110, Jan 5, 2016.

  1. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    [​IMG]
    I would like to know if on an certain event, an inventory can be generated with items inside it. I did read a thread about opening a fake chest somewhere in the world, but that means the chest will be shared between players, not a chest for each player.
    Also, I am guessing that InventoryTransactionEvent is used for when player moves an item into their inventory, how would I get the item being moved?
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    The "fake" chest doesn't get saved into the level, so it won't be shared among players.
  3. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    AndrewBit and hoyinm14mc like this.

Share This Page

Advertisement