Vape Manager
This is a mod that allows for modular management of mods with specific configuration files.
截图
介绍
Overview
This is a mod that allows for modular management of mods with specific configuration files.
Reborn: Vape Manager Reborn
You can press the V key to open the mod’s configuration interface to manage mods. By default, the configuration interface has no items. However, you can test this mod by extracting the example.json file from the root directory of this mod to the config/vm/mods directory in the game directory.
Below is the content of the example.json file. If you are a developer and want to use this mod as a prerequisite mod, you can refer to this file content to write your mod:
{
"name": "Vape Manager",
"id": "vm",
"main": "cn.ksmcbrigade.VM.Manager",
"function": "getKey",
"function_2": "runKey",
"gui_main": "cn.ksmcbrigade.VM.Manager",
"gui_function": "getScreen"
}
Here are the functions of the above items:
- name: Required, supports i18n;
- id: Optional, useless;
- main: Required, used to get the class file address of the mod’s functional functions;
- function: Optional, fill in “NONE” if not used, used to get the key-value function in the class file written in “main”;
- function_2: Required, used to run the mod’s functional functions in the class file written in “main”;
- gui_main: Optional, fill in “NONE” if not used, used to get the class file address of the mod’s GUI functions;
- gui_function: Optional, fill in “NONE” if not used, used to get the key-value function in the class file written in “gui_main”.
Here is an example of the function used to run the mod’s functional functions:
public static void runKey(Player player){ //No is LocalPlayer
player.sendMessage(Component.nullToEmpty("Vape manager v1.0"),player.getUUID());
}
Other function parameters are empty.
Tips
This mod also provides a small number of API functions that can be called. The functions are located in the cn.ksmcbrigade.VM.Utils class.
It has been open-sourced on GitHub.
常见问题
Vape Manager 支持哪些 Minecraft 版本?
Vape Manager 支持 Minecraft Java 版 1.18.1–1.18.2,共 2 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Vape Manager 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
KSmc's Team 的其他作品
查看全部 →
StartupTone
Whose function is to play a notification sound when you first launch the game and enter the main menu.
NoCreativeMode
This is a mod that disables creative mode in the game.
NoCreativeMode
This is a mod that disables creative mode in the game.
DarkTitleBarForge
A mod to add dark mode support to the game window's title bar on Windows 10 version 1809 and above.
评论
登录后评论和评分