ItemsAdderAdditionsItemsAdderAdditions
Behaviours

Stackable

Stack custom blocks in a configured sequence.

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
      source: 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
        source: 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 block IDs must be custom blocks. Supported types: REAL, REAL_NOTE, REAL_TRANSPARENT, and REAL_WIRE. items can contain concrete item IDs or supported item tags. See IDs. You can add as many steps as needed.

On this page