clientcommands icon indicating copy to clipboard operation
clientcommands copied to clipboard

How do you use /cfunction

Open VFox32 opened this issue 2 years ago • 4 comments
trafficstars

I was making some functions and came across the /cfunction command. I assumed it worked like regular functions, however, i cant find any documentation of the command and how to use it anywhere.

VFox32 avatar Jul 27 '23 14:07 VFox32

I'm pretty sure it does just work the same as normal server-side functions. I checked the code for it, looks like the functions are stored in .minecraft/config/clientcommands/functions .

Coderx-Gamer avatar Nov 09 '23 15:11 Coderx-Gamer

@Coderx-Gamer Ok, i found the folder and it recognizes the files in-game, but when i try to run one it says "Unknown function "

VFox32 avatar Nov 12 '23 08:11 VFox32

Does the function come up in auto-complete?

Earthcomputer avatar Nov 12 '23 23:11 Earthcomputer

yes it shows up in auto complete and when i try to execute it, it gives the error "Unknown Function (file path)". Also, sorry for taking so long to respond xD gotto get used to checking my e-mails every day

VFox32 avatar Nov 16 '23 08:11 VFox32