Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
conditions:stringequals [2020/06/30 21:13]
127.0.0.1 external edit
conditions:stringequals [2020/07/06 19:06] (current)
wahrheit [Examples]
Line 56: Line 56:
  
 The same, but for equipment slots. The same, but for equipment slots.
 +
 +Want to learn to build your own custom conditions with StringEquals?​ You can build a custom holding condition like the ones above by referencing the item NBT data. To see all of that data, hold the item you want to use in your hand and type these commands with Denizen and Depenizen installed:
 +
 +<​code>​
 +/denizen debug -r
 +/ex narrate <​player.item_in_hand.raw_nbt>​
 +/denizen submit
 +</​code>​
 +
 +The link that is generated will show you the raw NBT data of the item you're holding, which you can then parse using StringEquals.

conditions/stringequals.txt · Last modified: 2020/07/06 19:06 by wahrheit