Chests question

Discussion in 'Plugin Development' started by lishid, Apr 26, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    lishid

    cast org.bukkit.inventory.PlayerInventory to net.minecraft.server.InventoryPlayer

    I need to open a chest for a EntityPlayer, which u use the method EntityPlayer.a(IInventory)

    The idea is to open another player's inventory as a large chest

    Try to map slots 100, 101, 102, 103(armor) to 36, 37, 38, 39 in large chest.
    Also blocking put-in/exchange with other not-used slots as well as blocking non-armor items to be put into the four slots above.


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  2. Offline

    lishid

    Anyone has an idea on how to do this?
     
  3. Offline

    Deathly

    @lishid

    There is already a plug-in for that, but unfortunately I forgot its name :(

    I will try to find it..

    //EDIT

    Its called iSee, but seems like its INACTIVE.. maybe take a look at the source to find how he approached it?

    [Click me]
     
  4. Offline

    lishid

    Thanks, just what i was looking for, I'll look into it.
     
Thread Status:
Not open for further replies.

Share This Page