Get contents of all chest on a map

Discussion in 'Plugin Development' started by Double0negative, Dec 7, 2011.

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

    Double0negative

    What is the fastest/most efficient way to get the contents of all the chest on the map or is even feasible?

    Thanks
     
  2. Offline

    Nitnelave

    It would be complicated... Either you keep track of all the chests that get interacted with (by listening to onPlayerInteract) or every time a chunk is loaded, you look for any chest inside... Why do you need all of the chests? Maybe there's another way?
     
Thread Status:
Not open for further replies.

Share This Page