HomeJavaModsVape Manager
Vape Manager

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:

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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more