Item components

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

Controls what block types this block may be placed on.

Controls what block types this item can destroy.

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: {"minecraft:can_destroy":{"blocks":["air"]}}
 * Can only be used with and.