跳到正文

Boundless API

作者:Boundless

An extensive API with an emphasis on abilities, effects and combat.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

An extensive API with an emphasis on abilities, effects and combat. This API aims to streamline the process of creating new characters and abilities by providing a simplified yet powerful interface for the user to interact with in a modding environment context.

The API achieves these goals through the use of the following:

* The Action system. An Action is a series of tasks which the user specifies in order to acomplish a goal. For example, a ‘melee attack Action‘ could be comprised of an initial wind-up animation, followed by a sound effect, and finally a damage impact frame. The Action system works by having the user feed in a linked list comprised of an integer key and a biconsumer value. The key dictates the ‘tick’ upon which a given task is executed, and the biconsumer is the task itself. For example, for a delay of 5 ticks, the user can set the key for an entry to 5.

* HeroActionEntity: An entity which helps leverage the capabilities of the action system, managing and working with Actions in order to produce the desired results. Allows for hitbox collision and rendering.

* Ability system: Easily bind abilities to heroes in order to use them in-game!

* Utils + Helper methods: Utils + helpers for commonly used methods in the mod. Allows ease of interactivity and more readable code.

* Automatic Hero registration: Integrates methods for easily adding new heroes to the game! This includes itemgroup registration + automatic datagen for models and translations.

* Custom attributes + effects: ‘Damage resistance’ attribute + ‘Invulnerability’ effects which are very useful in everyday modding.

* Many other things

常见问题

Boundless API 支持哪些 Minecraft 版本?

Boundless API 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Boundless API 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Boundless 的其他作品

查看全部 →