Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you use /cfunction #554

Open
VFox32 opened this issue Jul 27, 2023 · 4 comments
Open

How do you use /cfunction #554

VFox32 opened this issue Jul 27, 2023 · 4 comments
Labels
question This issue is a question

Comments

@VFox32
Copy link

VFox32 commented Jul 27, 2023

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.

@xpple xpple added the question This issue is a question label Sep 15, 2023
@Coderx-Gamer
Copy link

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 .

@VFox32
Copy link
Author

VFox32 commented Nov 12, 2023

@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 "

@Earthcomputer
Copy link
Owner

Does the function come up in auto-complete?

@VFox32
Copy link
Author

VFox32 commented Nov 16, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This issue is a question
Projects
None yet
Development

No branches or pull requests

4 participants