#Help using nbt tags option

1 messages · Page 1 of 1 (latest)

thorny ingot
#

Hello, I want to know how to use the nbttags option, I want to add the nbt of "hide_tooltip" to an item, but I don't know how.

If you had to give me the item with commands it would look like this: /give @p dirt[hide_tooltip={}] 1

I tried putting nbt_string: 'hide_tooltip:{}' in the item, but it didn't work. Am I doing it wrong?

sharp orbit
#

You don't need to use any nbt stuff, hide_tooltip: true was added in dev builds, link to download the latest build here: #general-plugins message

light parrot
sharp orbit
#

it looks fine

light parrot
#

hmm, but why you advice to use hide_tooltip: true? I understand this format is obsolete

sharp orbit
#

I don't understand

#

was that not what you wanted?

#

nothing is obsolete here

#

hide_tooltip is a new setting

#

and item_flags are not obsolete

light parrot
#

ohh

sharp orbit
#

Oh I think I get it

light parrot
sharp orbit
#

yeah that's because it was added in dev builds

light parrot
#

yep

#

i use the latest devbuild on github

sharp orbit
#

You probably confused hide_tooltip for hide_enchantments and hide_attributes which are indeed obsolete (item_flags replacing them)

#

though hide_tooltip is a separate setting which isn't part of item_flags

light parrot
#

and what the differences?

sharp orbit
#

hide_enchantments & hide_attributes are the equivalent of

item_flags:
  - HIDE_ENCHANTS
  - HIDE_ATTRIBUTES
#

they're exactly the same

#

though the item_flags syntax is preferred and recommended instead of the old one

#

hide_tooltip on the other hand is a completely different setting which hides the item's entire tooltip

light parrot
#

okay!

sharp orbit
#

not just enchantments or attributes, it just doesn't show anything when you hover over the item with your cursor

light parrot
#

Ohh yeah i see

#

Thank you!

thorny ingot
# sharp orbit You don't need to use any nbt stuff, `hide_tooltip: true` was added in dev build...

Thank you, i have another question. If I want to use a minecraft command that is long and has many ' ' and " ", what can I do? Because every time I put it on I get that it doesn't load, it's probably because of the "" and ''

- '[console] minecraft:clear %player_name% minecraft:player_head[minecraft:lore=['{"extra":[{"bold":false,"color":"dark_blue","italic":false,"obfuscated":false,"strikethrough":false,"text":" ","underlined":false},{"color":"dark_green","italic":false,"text":" "},{"bold":false,"color":"#A7E2FF","italic":false,"obfuscated":false,"strikethrough":false,"text":"❄ Copos de Nieve","underlined":false},{"color":"dark_blue","italic":false,"text":" "},{"color":"dark_green","italic":false,"text":" "},{"color":"dark_aqua","italic":false,"text":""}],"text":""}', '{"extra":[{"bold":false,"color":"dark_blue","italic":false,"obfuscated":false,"strikethrough":false,"text":" ","underlined":false},{"color":"dark_green","italic":false,"text":""}],"text":""}']]'

sharp orbit
#

double the inner '