#how do i make the crafting result an enchanted custom tagged item?
28 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Item.of("minecarft:carrot{Enchantments:[{}],Tags:enchanted_carrot}" ).strongNBT()
so i just add this in the end?
yes, that's all
attach full script and server log
Please send your KubeJS server log. It can be found at /minecraft/logs/kubejs/server.log.
If you are on 1.18 or 1.16 it will be called server.txt.
Please send the file directly, without links or snippets.
Paste version of carrots.js, message.txt from @boreal moss
my god
try this
ServerEvents.recipes(event => {
event.shapeless(
Item.of("minecraft:carrot", 9),
[
"kubejs:stacked_carrots"
]
)
event.shapeless(
Item.of("kubejs:stacked_carrots", 1),
[
"9x minecraft:carrot"
]
)
event.shapeless(
Item.of("minecarft:carrot{Enchantments:[{}],Tags:enchanted_carrot}").strongNBT(),
[
"9x kubejs:stacked_carrots"
]
)
})
how would you react if i said this isnt working for me
Paste version of message.txt from @boreal moss
where did u get this item?
wdym
yea, but can i just make it so it seems like its enchanted
in first: its is minecraft, not minecARFT
in second: i think this place [{}] cant be empty
i third: "T" is not allowed in [a-z0-9/._-] character class (Tags:enchanted_carrot)
so... how do i do this :/
could i theoretically make a different item that is the same texture as a carrot but looks enchanted?
no idea
Ok, thx anyway