Denizen/Replaceable Tags: Difference between revisions

From Citizens Wiki
No edit summary
No edit summary
Line 14: Line 14:
! <player.item_in_hand.id>
! <player.item_in_hand.id>
| The ID of the item the player is holding. All item IDs are found [http://www.minecraftwiki.net/wiki/Data_values here].
| The ID of the item the player is holding. All item IDs are found [http://www.minecraftwiki.net/wiki/Data_values here].
|-
! <player.item_in_hand.data>
| The material data of the item the player is holding.
|-
! <player.item_in_hand.display>
| The name chosen on an anvil for the item the player is holding.
|-
! <player.item_in_hand.durability>
| The durability of the item the player is holding.
|-
! <player.item_in_hand.max_stack>
| The maximum amount you can have in one slot of the item the player is holding.
|}
|}

Revision as of 08:58, 15 February 2013

Player

<player.name> The player's name.
<player.item_in_hand.id> The ID of the item the player is holding. All item IDs are found here.
<player.item_in_hand.data> The material data of the item the player is holding.
<player.item_in_hand.display> The name chosen on an anvil for the item the player is holding.
<player.item_in_hand.durability> The durability of the item the player is holding.
<player.item_in_hand.max_stack> The maximum amount you can have in one slot of the item the player is holding.