minecraft:allow_off_hand

The allow_off_hand component determines whether the item can be placed in the off hand slot of the inventory.

Properties

Can be written as a single value: boolean.

PropertyTypeDefaultWhat it does
valueBooleanfalseDetermines whether the item can be placed in the off hand slot.

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.

Set it without writing JSON

The item maker writes this component for you from a form and puts it in a ready-to-import .mcaddon.

Open the maker

Related components