#My functions don´t show

1 messages · Page 1 of 1 (latest)

turbid sparrow
#

I am trying to make a custom weapon and when i try to run /function pack:give which should give me an iron sowrd it tell me:unknown function pack:give
plz help me

gilded daggerBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

near linden
#

Where is the file for the give function?

turbid sparrow
#

in my namespace which is named pack inside a functions folder where load.mcfunction and tick.mcfunction are

near linden
#

What version is this?

turbid sparrow
#

1.20.1

near linden
#

Do tick and load work?

turbid sparrow
#

when i do /function pack:load it tells me executed 1 command or something but when i do /reload nothing happens

#

inside of load.mcfunction i have tellraw @a "Reloaded"

#

if that helps

near linden
#

What's inside give.mcfunction?

turbid sparrow
#

give @s iron_sword{display:{Name: '{"text": "Poison Sword"}', Lore: ['{"text": "A poisonous blade with unbreakable handle"}']},Unbreakable} 1

#

wait how do i make it show the code in the fancy way

near linden
#

``` around it

turbid sparrow
#

ok

near linden
#

I see the issue

turbid sparrow
#

what is it?

near linden
#

Unbreakable isn't valid by itself. It needs to be Unbreakable:1b

turbid sparrow
#

im testing

#

yay

#

it works

#

thank u for ur help

gilded daggerBOT