added remove tag

This commit is contained in:
Jared committed 2016-03-13 21:15:35 +02:00
1 parent df6b587fc1
commit 9684971e44
4 files changed
+337 -294

No files matched your search

@@ -211,6 +211,15 @@ public interface IItemStack extends IIngredient {
*/
@ZenMethod
public IItemStack withTag(IData tag);
/**
* Creates an item stack without the given nbt tag.
*
* @param tag item tag to be removed
* @return resulting item stack
*/
@ZenMethod
public IItemStack removeTag(String tag);
/**
* Creates an item stack with updated nbt tag. Updates existing tags.