ITEM DOCUMENTATION
Version: 1.20.80.5

Index

Items
Item Definition Properties
Back to top

Items

To define an item, the item definition must be defined in the behavior pack in a JSON file.
All attributes, including item names, must be defined using item components.

Item Definition Properties

The properties are part of the Item Definition. This helps the system determine how to parse and initialize this item.

Name Type Default Value Description
format_version Specifies the version of the game this entity was made in. If the version is lower than the current version, any changes made to the entity in the vanilla version will be applied to it.
minecraft:item Item definition, which includes the "description" and "components" sections.

Code Example

Example

Back to top