Item components

JSON formatted.
Like NBT tags but supports only ,, and functions.
== Component Types ==
=== ===
Controls what block types this block may be placed on.
=== ===
Controls what block types this item can destroy.
=== ===
Locks the item in the player's inventory. Has a parameter that specifies the type of lock. It must be one of or .
==== ====
Prevents the item from being removed from the player's inventory, dropped, or crafted with.
==== ====
Prevents the item from being moved or removed from its slot in the player's inventory, dropped, and by extension, crafted with.
=== ===
Prevents the item from being dropped when the player dies.
== Examples ==
== Issues ==
*Can only be applied to blocks.
*Can not differentiate blocks by Data ID.
*Can only be used with and .
== References ==
ja:アイテムコンポーネント
zh:物品组件
Category:Development