跳到正文

Funky

作者:mrcreeps

A very small mod that allows for the running of custom functions without the need of datapacks.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🤔 What is Funky?

Funky is a very small mod that adds in 2 new commands that allow you to run .mcfunction files (or any other file in the command syntax) without the need of a datapack and to choose between which one to run.

❓ Well how do I use it?

Step 1. 📄 Create a file with commands in it.

This step is straightforward. Open up your favorite text editor, mine is notepad :), and start typing in commands (without the slash) or copy and paste them.

say hi
summon villager
kill @e[type=minecraft:villager]
say bye

If you already have a .mcfunction, it is the exact same syntax.

Step 2. 💾 Save the file.

This one is also very simple. Click the save button and save it in a new folder in the Minecraft directory. Make sure the new folder is called “funky”. The default name for the file should be “funky” with no extension, HOWEVER, in game, you can change which file will be ran.
If you already have a .mcfunction file, make sure to play it in the “funky” folder.

Step 3. 🎮 Play Minecraft.

I don’t know, just like, join a world. Make sure you have owner permissions (level 4), as you need them to use the commands in this mod.

Step 4. ⌨️ Run the commands.

The first command you MIGHT want to run is /funky.filename . Replace with whatever you saved your file with the commands as (if you didn’t save it as “funky”).
To actually use you the command, do /funky.exec and the command will run!

Note: Make sure to have “/gamerule maxCommandChainLength“ set to a high number or else all the commands may not run!
Note: The commands will not run in unloaded chunks (unlike functions in datapacks)


If there are any massive bugs or you are running into trouble with the mod, please leave a comment!

常见问题

Funky 支持哪些 Minecraft 版本?

Funky 支持 Minecraft Java 版 1.19.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Funky 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分