When using item_model (or the minecraft:item_model component) to reference a datapack/resourcepack model (e.g. gbg:gun/standard/pistol), the model shows correctly when given to players via commands or functions, but DeluxeMenus GUI displays the vanilla icon (crossbow). The item_model value is stored internally but not visually rendered in the menu GUI.
Environment:
- DeluxeMenus version: 1.14.1+
- Minecraft server: Paper/Spigot 1.21.4
- Gamingbarn datapack + resourcepack loaded on client
- Client: Vanilla 1.21.4 with resourcepack active
Steps to reproduce:
- Confirm
/give @p minecraft:crossbow[minecraft:item_model="gbg:gun/standard/pistol"]shows the custom pistol model in the player hand. - Create minimal DeluxeMenus YAML:
menu_title: "Test Menu"
open_command: testgun
size: 27
items:
pistol:
material: CROSSBOW
slot: 13
display_name: '&cStandard Pistol'
lore:
- '&7Basic handgun'
- '&ePrice: $1200'
item_model: "gbg:gun/standard/pistol"
left_click_actions:
- '[console] function give:pistol'
- '[take_money] 1200'
- '[sound] ENTITY_ITEM_PICKUP'
3,Reload DeluxeMenus and open /testgun in-game.