Remove metadata?

Discussion in 'Plugin Development' started by AnniKa, Nov 4, 2012.

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

    AnniKa

    Hey, i just cant found aynthing about that, is it anyhow possible to remove all metadata (well all from my plugin of course only) from an block/item/etc.?

    its bugging me that when i attach some metadata to a chest for example that those data still there after that chest is removed.

    There should anyhow some kind of string array or something with all metadata keys that this block has.

    but how can i access that?
     
  2. Offline

    fireblast709

    Sadly enough there is not 1 function that removes all at once. So you should just remove all manually with .removeMetadata(String key, Plugin owningPlugin);
     
  3. Offline

    AnniKa

    okay this is really sad, ty anyway!
     
  4. Offline

    AnniKa

    hey, its a long time ago, is this possible now?

    the whole metadata thingy is kinda useless if its not possible to remove all metadata from a block or at least get a usefull list of all the metadatas to remove them all manually.

    if i want to clear a region now i really need to test for all possible tags... that is not effiecient nor comfortable
     
Thread Status:
Not open for further replies.

Share This Page