ItemsAdderAdditionsItemsAdderAdditions
Behaviours

Stackable

Make ItemsAdder custom blocks stack on top of each other in a defined sequence. Supports simple, complex, and multi-layer stacking configurations.

Since v1.0.0
behaviours:
  stackable:
    - my_block_2
    - my_block_3
    - my_block_4
behaviours:
  stackable:
    blocks:
      - my_block_2
      - my_block_3
      - my_block_4
    items: # optional, defaults to the item this behaviour is on
      - my_item
      - BONE_MEAL
    sound: # optional
      name: entity.villager.ambient # or a custom sound
      volume: 1.0 # optional, default: 1.0
      pitch: 1.0 # optional, default: 1.0
      category: MASTER # optional, default: MASTER
    decrement_amount: 2 # optional, default: 1

For name, use a value from Sounds.json or a custom sound with namespace:value.

behaviours:
  stackable:
    first_step:
      block: my_block_2
      items: # optional, defaults to the item this behaviour is on
        - my_item
        - BONE_MEAL
      sound: # optional
        name: entity.villager.ambient # or a custom sound
        volume: 1.0 # optional, default: 1.0
        pitch: 1.0 # optional, default: 1.0
        category: MASTER # optional, default: MASTER
      decrement_amount: 2 # optional, default: 1
    another_step:
      ...

For name, use a value from Sounds.json or a custom sound with namespace:value.

The IDs must be custom blocks. Supported types: REAL, REAL_NOTE, REAL_TRANSPARENT, and REAL_WIRE. You can add as many steps as needed.