Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Commit

Permalink
Add snippet on how to use named items in the item tree (#1)
Browse files Browse the repository at this point in the history
* How to add named items to the item tree

* Fix quotes
  • Loading branch information
reisub-de authored and Kobata committed Dec 7, 2016
1 parent 1b0b062 commit 9c4eca5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions invtweaks_docs/index.txt
Expand Up @@ -199,12 +199,13 @@ You can also define categories by entering an ore dictionary name. Useful for mo

Items with special extra data
-------------------------------
Some items (such as potions), require extra data checks to specify a specific variant::
Some items (such as potions or named items), require extra data checks to specify a specific variant::

<specialPotion>
<specialPotionA id="special_potion" data="{Potion:"me:a_special_potion}"/>
<specialPotionB id="special_potion" data="{Potion:"me:another_special_potion}"/>
<specialPotionA id="special_potion" data='{Potion:"me:a_special_potion"}'/>
<specialPotionB id="special_potion" data='{Potion:"me:another_special_potion"}'/>
</specialPotion>
<specialPickaxe id="diamond_pickaxe" data='{display:{Name:"My Special Pickaxe"}}'/>


Adding configured compatibility info
Expand Down

0 comments on commit 9c4eca5

Please sign in to comment.