mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-19 19:49:35 +00:00
added remove tag
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user