[DeluxeMenus] Could not setup a NMS hook for your server version! The following Item options will not work: nbt_int, nbt_ints, nbt_string and nbt_strings.
is there a workaround for giving someone something with custom nbt data? Also, how does one make an invisible item without the nbt? I'm just wondering work-arounds, and/or when more compatibility updates for this. Thanks!
#NMS hook unavailable for 1.21.5
1 messages · Page 1 of 1 (latest)
Hello. Giving items is not something you can do with DeluxeMenus at all. You would either way have to use a command provided by some other plugin or by the server (/minecraft:give).
To display custom items, well you have a few options.
model_data_component for model data
item_model for item model
tooltip_style for custom item tooltip
And if you make your custom items using plugins such as Oraxen, ItemsAdder, Nexo, etc., DeluxeMenus has a bunch of hooks supporting those plugins directly.
ok, but what is limited with the nbt_int(s)/strings?
If you need these options to display items in DeluxeMenus, then I'm afraid there's no workaround. Unless you create those items with a plugin such as MMOItems and then use the hook to copy the items inside the menus.
Ohhh, so if there is a selection w/ Buttons screen I would have to use MMOitems?
Well depends. What NBT options do you need to use?
just need to display an invis item and have that item give another custom made item @open yew (sorry for ping I forgo to reply)
You could always display material: air. Also, custom model data does not need nbt support
you can use the model_data_component option