Hextech Lib

Hextech Lib

Just like in a roguelike game, upon completing a certain objective, you can choose one of three buffs to empower yourself.

by
1.7K Downloads
neoforgelibrary
Rent Server with this Mod

Screenshots

Hextech Lib Screenshot 1
Hextech Lib Screenshot 2

About this Mod

模组介绍 Mod Description

模组的灵感来源于LOL的海克斯大乱斗,最近刚好也在做整合包,所以就写了这个支持库。
不要选择1.0.2以下的版本!

This mod was inspired by League's ARAM, and since I was working on a modpack anyway, I ended up writing this library to support it.
Please do not choose any version below 1.0.2

它能做什么 What does it do

就像肉鸽游戏一样,当你完成某件事时,你可以在三个BUFF中选择一项来增强自己。

Just like in a roguelike game, upon completing a certain objective, you can choose one of three buffs to empower yourself.

关于指令 About Command

  • (op)
  • /hextech
    • common
    • rare
    • epic
    • legendary

本模组内置四种奖池,代表了海克斯的稀有度与强度,但并未内置任何海克斯。

This mod includes four built-in loot pools, which represent the rarity and power level of the Hextech enhancements, but it does not include any actual Hextech abilities itself.

  • /hextech
    • list
      此命令可用户管理已选择海克斯,并选择放弃其中一个。

This command allows users to manage their selected Hextech and choose to abandon one of them.

如何使用 How to use it

如果你只是一个普通玩家,请忽视。

If you are just a regular player, you can ignore this.

1. 导入依赖 import dependencies

implementation "io.github.ren-zaifei:hextech_lib:${Version}"

Vsersion:[https://repo1.maven.org/maven2/io/github/ren-zaifei/hextech_lib/]

2. 继承HCard基类 Extend the HCard Base Class

public class exam extends HCard {
    
}

3. 重写方法 Override the Methods

//玩家选择时调用   Called when the player selects the card
@Override
public void applyEffect(Player player) {}

//玩家触发克隆事件时调用(玩家死亡重生等) Called when a player clone event occurs (e.g., player death and respawn)
@Override
public void reload(Player oldPlayer, Player newPlayer) {}

//玩家放弃海克斯时调用  Called when the player abandons the Hextech card
@Override
public void disconnect(Player player) {}

4. 创建实例 Create an Instance

private static final List<HCard> cards = new ArrayList<>();

public static void registerCard() {
  createCards();
  if (cards.isEmpty()) return;
  for (HCard card : cards) {
    HCardPool.registerHCard(card);
  }
}
private static void createCards(){
  cards.add(new exam(
          ResourceLocation.fromNamespaceAndPath(xxx.MODID,"xxx"),
          xxx.MODID+".card."+HCard.Rarity.COMMON+".xxx."+"title",
          xxx.MODID+".card."+HCard.Rarity.COMMON+".xxx."+"description",
          HCard.Rarity.COMMON,
          Items.xxx.getDefaultInstance()
  ));
}

5. 在主类注册卡片进卡池 Register Cards in Your Main Class

public HextechLib(IEventBus modEventBus) {
  modEventBus.addListener(this::commonSetup);
}
private void commonSetup(FMLCommonSetupEvent event) {
  event.enqueueWork(xxx::registerCard);
}

Available Versions

hextech_lib-mc1.21.1release
MC 1.21.1neoforge
March 9, 2026
hextech_lib-mc1.21.1release
MC 1.21.1neoforge
February 28, 2026
Hextech Lib 1.0.3release
MC 1.21.1neoforge
December 23, 2025

How to Install Hextech Lib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set neoforge Loader

In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Hextech Lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

neoforge

Minecraft Versions

1.21.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Hextech Lib server crashes on startup – what to do?

Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is Hextech Lib compatible with neoforge?

Hextech Lib officially supports neoforge for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Hextech Lib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Hextech Lib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Hextech Lib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 or later
Server-side
Required

Supported Versions

1.21.1