#give an item with Tag

1 messages · Page 1 of 1 (latest)

barren prism
#
left_click_commands:
      - '[sound] ENTITY_FIREWORK_ROCKET_BLAST'
      - '[console] give %player_name% DIAMOND_SWORD{CustomTag:Lightning} 1'
      - '[close]'```
#

- '[console] give %player_name% DIAMOND_SWORD{CustomTag:Lightning} 1'

#

And its not work

#

it give me a normal sword

signal pumice
#

@barren prism

barren prism
#

Oh

#

I am trying

barren prism
#

oh

#

no

signal pumice
#

?

barren prism
#

it works

signal pumice
#

kk

barren prism
#

just I have to add minecraft: cause essentials make problem

#

thanks you

#

How can I close it? @signal pumice

signal pumice
#

ye

#

uh

#

right click I think

barren prism
#

I have a last question, how can i put a name, lore and enchantments on the item, I need to use the give generator, or there is a syntax for this ?

signal pumice
#

click Show advanced options

#

it shows up

#

all the stuff

barren prism
#

So

#

I have to use the generator

signal pumice
#

I mean you can type it manually or let the generator do it

barren prism
#

But when I do it with the generator, the apostrophe breaks the code

signal pumice
#

how so?

barren prism
#

Do you understand?

#

And I saw on the template of the advanced menu that there was a method to rename the items without doing so, but I don't know how to do it

signal pumice
#

oh its the generators fault

barren prism
#

yes cause there is '

signal pumice
#

OH

#

then double quote

#

at the end

#

instead of single quote

barren prism
#

I will try to rename with JSON

#

because there is already an error