Item components

JSON formatted. Like NBT tags but supports only ,, and functions.

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, or crafted with.

Prevents the item from being dropped when the player dies.

Issues

 * Can only be applied to blocks.
 * Can not differentiate blocks by Data ID.
 * Can only whitelist blocks - not possible to blacklist instead. However you can use this to make something not able to break anything:
 * Can only be used with and.