Inventory Tweaks checking NBT

21 views
Skip to first unread message

Jake Potrebic

unread,
Apr 15, 2018, 2:55:31 PM4/15/18
to inventor...@googlegroups.com

When a specify something after data=, does the following tag have to match exactly or does the mod check if the item has the tag? Im trying to get the mod to detect different backpacks based on display name (renamed in the anvil) but backpacks have an extremely long data tag (stores info on all the items inside it) so I just want to be able to sort the item based on display name.

 

 

Jake

 

Sent from Mail for Windows 10

 

Kobata

unread,
Apr 15, 2018, 3:10:58 PM4/15/18
to inventor...@googlegroups.com
It should work similarly to the built-in minecraft command to check data tags on items, since as I recall I used basically the same method of checking.

--
You received this message because you are subscribed to the Google Groups "Inventory Tweaks developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inventory-twea...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages