系统接口

系统接口

一个抽象了Hypixel Housing系统的织物库

游戏机制

SystemsAPI

GitHub last commit Maven Version By Redstone Studios

概述

SystemsAPI 是一个 Fabric 库,它抽象了 Hypixel Housing 的房屋系统,以供其他模组使用。有关示例实现,请参阅 HTSL Reborn。

特性

  • 动作导入
    • 错误修正(在事情未按预期进行时捕获错误,并自动重试)
    • (计划中)优化导入(以最优方式保留/更改现有动作,使导入更快速!)
  • 动作导出
  • 系统抽象(用于以编程方式与任意/所有 Housing 系统交互的方法。)
    • 函数
    • 事件
    • 命令
    • 自定义菜单
    • 区域
    • 记分板
    • 队伍
    • (计划中)NPC
    • 物品栏布局
    • 房屋设置
    • 游戏规则
    • 角色
  • (计划中)作用域与限制抽象,用于轻松验证动作

演示

使用方法

要在你的模组中使用 SystemsAPI,请将该项目包含在你的 maven/gradle 项目中。将 VERSION 替换为最新版本,如上方 Maven 徽章所示(省略 V)。

Gradle

repositories {
    maven {
        name = "redstoneReleases"
        url = uri("https://repo.redstone.llc/releases")
    }
}

dependencies {
    modImplementation("llc.redstone:SystemsAPI:VERSION")
}

Maven

<repositories>
    <repository>
        <id>redstone-releases</id>
        <name>Redstone Releases</name>
        <url>https://repo.redstone.llc/releases</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>llc.redstone</groupId>
        <artifactId>SystemsAPI</artifactId>
        <version>VERSION</version>
    </dependency>
</dependencies>