CardEngine 图标

CardEngine

作者:rebot | 分类:模组

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

Minecraft 版本: 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6

平台: forge

标签: library

资源介绍

? CardEngine

The easiest way to create and render interactive RPG upgrade cards in Minecraft!

? Check out the Wiki for full integration details and advanced custom logic binding!

CardEngine is a lightweight, high-performance framework library designed for mod developers to implement card-based upgrade systems effortlessly. It handles all the heavy lifting—from capability storage, client-server packet synchronization, and smooth render overlays, to interactive card drafting interfaces.

⚡ Why Choose CardEngine?

?️ 2-Line Setup

Register cards and bind upgrade mechanisms with just 2 lines of code! CardEngine automatically handles rendering, capability tracking, and networking under the hood.

⚙️ Auto-Generated Templates & @CardParam

Save time by skipping manual JSON generation. Simply register cards programmatically in Java, and CardEngine will automatically write clean, editable JSON configuration files to the config folder on the first startup.

  • Smart Parameter Exporting: Use the @CardParam annotation on your fields! CardEngine will automatically detect them and export these values as configurable parameters inside the card's JSON file.

  • Dynamic UI Syncing: Once the JSON is generated, any manual tweaks you make to the values will be dynamically reloaded and reflected directly on the framework's UI overlays without rewriting a single line of Java code.

    ? Built-in Interfaces

    Comes out-of-the-box with a premium card drafting select screen (featuring smooth fade-in transitions) and a scrollable overlay showing consolidated player stats (toggled using the [ L ] key).

? Quick Example

// Line 1: Register upgrade mechanism (Binds to Minecraft Attributes or custom logic)
CardRegistry.registerCard("my_mod:attack_damage", Attributes.ATTACK_DAMAGE);

// Line 2: Register a card and add it to the selection pool
CardRegistry.register("my_mod:ad_common", "my_mod:attack_damage");

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Biome adventure

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

查看详情
see through gasts

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

查看详情
Unique

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

查看详情
Smile's XP Storage

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

查看详情