#Why this not work?

1 messages · Page 1 of 1 (latest)

amber zenith
#
open_command:
  - pojazdy
  - skleppojazdow
size: 9
# as always, only cool people can open this menu :)
items:
  'czolg1':
    material: 'texture-205fc49200342fa4a4fa2826576277693260a2fd699894205291d1f0caf4811f'
    slot: 0
    display_name: '&aCzołg T1'
    lore:
      - ''
      - '&7Craftingi czołgów'
    right_click_commands:
      - '[openguimenu] czolgi'
  'czolg2':
    material: 'texture-23ee5f28bbc03d2612fc744d8a22ce26ebdf1e9921ec8a127971dd05328fc8f4'
    slot: 4
    display_name: '&aCzołg T2'
    lore:
      - ''
      - '&7Craftingi czołgów'
    right_click_commands:
      - '[openguimenu] czolgi'
  'czolg3':
    material: 'texture-6eaf5b99f72df5b724593db7241bc22656d77ba3fb1fdaaa58f9ac53446292'
    slot: 8
    display_name: '&aCzołg T3'
    lore:
      - ''
      - '&7Aby stworzyć ten pojazdy potrzebujesz:'
      - '&a- 14 bloków Żylaza'
      - '&a- 6 bloków Węgla'
      - '&a- Silnik III'
      - '&a- 3 sztabki Netherite'
    left_click_requirement:
      requirements:
        1:
          type: has_item
          material: "IRON_BLOCK"
          amount: 14
          deny_commands:
            - "[CLOSE]"
        2:
          type: has_item
          material: "COAL_BLOCK"
          amount: 6
          deny_commands:
            - "[CLOSE]"
        3:
          type: has_item
          material: "NETHERITE_INGOT"
          amount: 3
          deny_commands:
            - "[CLOSE]" 
    left_click_commands:
      - '[CONSOLE] givetank %player_name% T3'
      - '[CONSOLE] clean %player_name% iron_block 14'
      - '[CONSOLE] clean %player_name% coal_block 6'
      - '[CONSOLE] clean %player_name% netherite_ingot 3'```
spare hearth
amber zenith
spare hearth
#

try it

amber zenith
#

left_click_requirement:
requirements:
has_item:
type: has item
material: "IRON_BLOCK"
amount: 14
deny_commands:
- "[CLOSE]"
has_item1:
type: has item
material: "COAL_BLOCK"
amount: 6
deny_commands:
- "[CLOSE]"
has_item2:
type: has item
material: "NETHERITE_INGOT"
amount: 3
deny_commands:
- "[CLOSE]"

#

still not work

amber zenith
spare hearth
#

can't open it up ?

amber zenith
#

i can't left clic

spare hearth
#

try this

    left_click_requirement:
      requirements:
        'iron block':
          type: has item
          material: iron_block
          amount: 14
          deny_commands:
            - '[close]'
        'coal_block':
          type: has item
          material: coal_block
          amount: 6
          deny_commands:
            - '[close]'
        'netherite':
          type: has item
          material: netherite_ingot
          amount: 3
          deny_commands:
            - '[close]'
spare hearth
#

change the command to make it kill YOU

#

if still not work, tell me

amber zenith
spare hearth
#

what version of dm are you running ?

#

its werid, everything good

#

what about this, will need to install checkitem expansion from placeholderAPI plugin

    left_click_requirement:
      requirements:
        'iron block':
          type: string equals
          input: '%checkitem_mat:iron_block,amt:14%'
          output: 'yes'
          deny_commands:
            - '[close]'
        'coal_block':
          type: string equals
          input: '%checkitem_mat:coal_block,amt:6%'
          output: 'yes'
          deny_commands:
            - '[close]'
        'netherite':
          type: string equals
          input: '%checkitem_mat:netherite_ingot,amt:3%'
          output: 'yes'
          deny_commands:
            - '[close]'
amber zenith
#

Ok

#

I will do

charred glacier
#

Can you send a fully-updated menu?

#

?paste