Vape Manager 图标

Vape Manager

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/vape-manager
资源信息

Minecraft 版本: 1.18.1 1.18.2

平台: forge

标签: social utility

资源介绍

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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Donut Totem Pack

价格:0 墨喵币
下载量:0

查看详情
MazeAuth

价格:0 墨喵币
下载量:0

查看详情
reSeed (Seed Scroller)

价格:0 墨喵币
下载量:0

查看详情
Cat Creeper

价格:0 墨喵币
下载量:0

查看详情