🗡️ Items

This page mainly explains how to add new items to your server.

Sections to Configure

A complete item configuration contains the following sections:

  • material

The material serves as the foundational template of the item, such as paper or wooden_sword.

  • custom-model-data

The custom-model-data is a positive integer, and custom items of the same material should possess distinct custom-model-data values. The custom-model-data determines the model displayed for the item and is crucial for the model section below.

You can create an item without custom-model-data, but you are not permitted to configure the model section below.

  • data

🔢 Item Data
  • behavior

🕹️ Item Behaviors
  • settings

⚙️ Item Settings
  • model

🟰 Item Models

Full Config Overview

items:
  default:palm_log:
    material: paper
    custom-model-data: 1000
    settings:
      fuel-time: 300
      tags:
        - "default:palm_logs"
        - "minecraft:logs"
        - "minecraft:logs_that_burn"
    data:
      display-name: "<!i>Palm Log"
    model:
      type: "minecraft:model"
      path: "minecraft:item/custom/palm_log"
      generation:
        parent: "minecraft:block/custom/palm_log"
    behavior:
      type: block_item
      block: default:palm_log

Last updated