#item not appearing

1 messages · Page 1 of 1 (latest)

scarlet ingot
#
    menu_title: '           &f&lMines Menu'
    open_command:
    - warps help
    - warps
    size: 45
    items:

      '1':
        material: apple
        model_data: 50
        slot: 21
        display_name: '&6Rank Mines'
        lore:
        - '&4 click to teleport to Mines' 
        click_commands:
        - '[player] gui mines'
      '2':
        material: apple
        model_data: 53
        slot: 23
        display_name: '&6Donor Mines'
        lore:
        - '&4 click to teleport to Mines' 
        click_commands:
        - '[message] &4comming soon...'
        material: BLACK_STAINED_GLASS_PANE
        slots:
          - 0
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
        display_name: '&6filler'
      'filler_items_red':
        material: RED_STAINED_GLASS_PANE
        slots:
          - 9
          - 10
          - 11
          - 12
          - 13
          - 14
          - 15
          - 16
          - 17
          - 18
          - 19
          - 20
          - 22
          - 24
          - 25
          - 26
          - 27
          - 28
          - 29
          - 30
          - 31
          - 32
          - 33
          - 34
          - 35
          - 36
          - 37
          - 38
          - 39
          - 40
          - 41
          - 42
          - 43
          - 44
        display_name: '&6Filler'  
                      ```
#

is there anything wrong with this code? the 2nd item is not appearing

#

this is image of what is happening

toxic field
#

- '[message] &4comming soon...' material: BLACK_STAINED_GLASS_PANE

u need to add number for item or name

cinder sphinx
#

May i ask why you made the slots like that?

#

Just do - 9-44

deft citrus
#

i used to doing this before

deft citrus
# scarlet ingot ```yml menu_title: ' &f&lMines Menu' open_command: - warps...
    menu_title: '           &f&lMines Menu'
    open_command:
    - warps help
    - warps
    size: 45
    items:

      '1':
        material: apple
        model_data: 50
        slot: 21
        display_name: '&6Rank Mines'
        lore:
        - '&4 click to teleport to Mines' 
        click_commands:
        - '[player] gui mines'

      '2':
        material: apple
        model_data: 53
        slot: 23
        display_name: '&6Donor Mines'
        lore:
        - '&4 click to teleport to Mines' 
        click_commands:
        - '[message] &4comming soon...'

      'filler_items_black': # <- here is your problem, you forgot to set name of item
        material: BLACK_STAINED_GLASS_PANE
        slots:
          - 0-8 # <- you can do this
        display_name: '&6filler'

      'filler_items_red':
        material: RED_STAINED_GLASS_PANE
        slots:
          - 9-44 # <- you can do this
        display_name: '&6Filler'  
cinder sphinx
deft citrus
#

yeh, so easier and faster

scarlet ingot
#

Now i know tho, thanks

deft citrus
#

i used to doesn't know that