Edit

Items Documentation - minecraft:stacked_by_data

The stacked_by_data component determines whether the same items with different aux values can stack. Also defines whether the item entities can merge while floating in the world.

Note

This item requires a format version of at least 1.20.30.

Alternate Simple Representations

This item can also be represented as a Boolean true/false.

Stacked By Data Properties

Name Default Value Type Description
value not set Boolean true/false Determines whether the same item with different aux values can stack. Also defines whether the item entities can merge while floating in the world.

Samples

AppleEnchanted

"minecraft:stacked_by_data": true