#Material: armor_chestplate not working

1 messages · Page 1 of 1 (latest)

winter cedar
#

Hi there could someone tell my why this is not working in my gui?
These 4 armor slots all appear as stone in my gui.

This used to work fine before i updated me server version from 1.19.4 to 1.20.2
The current version of DeluxeMenus im using is 1.14.1-DEV-176

carmine canopy
#

?materials

tulip basinBOT
winter cedar
carmine canopy
winter cedar
#

i do now it didnt change anything

carmine canopy
#

material: 'placeholder-%checkitem_getinfo:39_mat:%'
material: 'placeholder-%checkitem_getinfo:38_mat:%'
material: 'placeholder-%checkitem_getinfo:37_mat:%'
material: 'placeholder-%checkitem_getinfo:36_mat:%'

winter cedar
#

Found the issue <- The function used to be that if a player was not wearing any armor nothing would be shown in the menu - now it shows a stone block if player is not wearing armor

#

if i equip a piece of armor it does indeed work as intended

#

any way to fix the above?

carmine canopy
winter cedar
#

nope - didnt work

carmine canopy
#

?

#

/papi parse me %checkitem_getinfo:39_mat:%

winter cedar
#

It appears to be an open issue on github

carmine canopy
#

download changeoutput first

#

@winter cedar

winter cedar
#

Well that fixed the issue with the stone - but now it wont show what armor is equipped

winter cedar
#

shows the item equipped

carmine canopy
winter cedar
#

when not wearing anything it returns "air"

carmine canopy
winter cedar
#

well the menu doesnt show the item when equipped <- but the placeholder does return the item

carmine canopy
#

send config

winter cedar
#

This is what it looks like in the menu when i am wearing a helmet

#
open_command: menu
size: 54
menu_title: ':offset_-60::lemon_gui_commission_menu:'

items: 
      
  'world_button':
    material: blue_dye
    display_name: '&#99ffebBeta-world'
    lore:
      - '&7&oTo infinity and beyond!'
    hide_attributes: true
    model_data: 40
    slot: 31  
    view_requirement:
      requirements:
        has_not_perm:
          type: "has permission"
          permission: mineuphoria.beta_player
      
  'world_button2':
    material: YELLOW_DYE
    display_name: '&#99ffebBeta-world'
    lore:
      - '&7&oTo infinity and beyond!'
    hide_attributes: true
    model_data: 2
    slot: 32  
    view_requirement:
      requirements:
        has_not_perm:
          type: "has permission"
          permission: mineuphoria.beta_player
      
  'leaf_animation':
    material: blue_dye
    display_name: '&f'
    hide_attributes: true
    model_data: 2
    slot: 30   

  'close':
    material: 'YELLOW_DYE'
    slot: 49
    model_data: 2
    display_name: '&cBack'
    lore:
      - '&7&oClose the menu'
    left_click_commands:
      - '[sound] BLOCK_BARREL_CLOSE 1 2'
      - '[close]'   

  'player_helmet':
    material: '%changeoutput_equals_input:{checkitem_getinfo:39_mat:}_matcher:_ifmatch:air_else:{checkitem_getinfo:39_mat:}%'
    slot: 9
  'player_chestplate':
    material: armor_chestplate
    slot: 18
  'player_leggings':
    material: armor_leggings 
    slot: 27
  'player_boots':
    material: armor_boots
    slot: 36
carmine canopy
#

you stupid, where is placeholder- before placeholder

winter cedar
#

🙃🙃

#

This fixed it - much appreciated

carmine canopy
winter cedar
carmine canopy
winter cedar
#

slight issue - this doesnt work with custom model data <- The issue with using "armor_chestplate" etc has been fixed in the next dev build according to another user who had the same problem

#

do you know a fix for the modeldata issue or should i just wait for the next dev build?

carmine canopy
winter cedar
#

Sorry - i meant if wearing armor with custom model data it shows up as leather armor and not the custom model of the item