Where is item code's?
wibonsue opened this issue ยท 20 comments
Hello i want to use /give for my server
This is usually what u do for gettin enchanted book example a sharpness IV
/give @p enchanted_book{Enchantments:[{id:protection,lvl:4}]} 1
i tried somethings but still i couldnt get is this possible or not if it is not please add item code
@wibonsue you need to include the modid if you don't provide the modid it will default to minecraft:ambrosia which unique enchantments doesn't use.
Look at the "EnchantCommand" to find out which modid we use for which specific enchantment.
/give @p enchanted_book{StoredEnchantments:[{id:"uniqueutil:ambrosia",lvl:4}]}
is what you're looking for
use the /enchant command @wibonsue
i have one more question how can i apply it to dried kelp like how can i get it from /give again i tried this
/give @p minecraft:dried_kelp{Enchantments:[{id:uniqueutil:ambrosia,lvl:4}
I gave you the exact command for what you wanted above
/give @p enchanted_book{StoredEnchantments:[{id:"uniqueutil:ambrosia",lvl:4}]}
Please look into how minecraft commands actually work. This is essential knowledge we don't have to teach you.
Minecrafts autocomplete options also show you exactly how our ids work.
At this point please use Google foo instead of us to painstakingly explain you each step how to do your stuff.
As if we would be doing it.
Sorry but locking the issue because its resolved.
You first asked for the Enchanted Book, I gave you the command for the Enchanted Book...
/give @p minecraft:dried_kelp{Enchantments:[{id:"uniqueutil:ambrosia",lvl:4}]}
After re-reading this multiple times, I genuinely do not understand what you're asking for, neither what an "item code" is supposed to be.
it is normal if u dont know what is item code so basically there is codes that every item has in minecraft
so if you want grass block from /give the item code or item name is minecraft:grass_block so it would like this
/give @p minecraft:grass_block you can use
every item has this and most of the mods that have items have this to so did you understand what is item code that i mean?
it is a little complicated when its comes to enchant books if you do this /give @p enchanted_book it will give you normal book
but if you do this /give @p enchanted_book{Enchantments:[{id:protection,lvl:4}]} it will give you Protection IV
so enchantment books have their own codes to but like what should i do if i want Ambrosia IV from /give ?
i tried to do /give @p enchanted_book{Enchantments:[{id:ambrosia,lvl:4}]} but didnt worked