minecraft:can_destroy_in_creative

The can_destroy_in_creative component determines if the item can be used by a player to break blocks when in creative mode.

Properties

Can be written as a single value: boolean.

PropertyTypeDefaultWhat it does
valueBooleanfalseDetermines whether the item can be used to destroy blocks while in creative mode.

Used by

No vanilla item file in the official samples uses this component. It is still part of the schema, so add-ons can use it.

Related components