跳到正文

Aquamarine

作者:KrazyMiner001

A Modern Industrialization-like multiblock library.

收藏

介绍

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

Aquamarine

Multiblock library to allow creation of multiblocks in mods easier.
This mod help create “Modern Industrialization-like” multiblocks, i.e. multiblocks which have a controller, some innert blocks, and hatch blocks for IO.

Note: This project is very unfinished but works. This is intended as a base library for my other mods using multiblock but can be used by others.

Docs exist but not for everything, still WIP.

Features

Multiblocks

Multiblocks are made of lists both simple members and hatch flags. The simple member defines what block goes at that position. The hatch flags define what hatch types can replace that position. Empty flags can be provided.

Multiblocks can easily access their attached hatches to transfer items/fluids/energy between multiblock and hatch.

Multiblock Rendering

Rendering multiblock previews layer by layer.

Layered Multiblock Rendering

Indicating which blocks can be replaced by hatches.

If a block in the multiblock can be replaced by a hatch that the player is holding, the block will have a green outline around it.
Replace this with a description

Rendering entire multiblock at one.

Not recommended as it renders weirdly and layer by layer is easier to build.

How to use

Adding dependancy

Add version to gradle.properties

aquamarine_version = 0.0.1-1.21.3 # replace with version id from download page

Add repository to build.gradle

repositories {
  maven { url 'https://jitpack.io' }
}

Add dependency to build.gradle

dependencies {
    modApi "com.github.KrazyMiner001:Aquamarine:${project.aquamarine_version}"
}

Using

Create a class which extends MultiblockBlockEntity and implements methods.
Create a class which extends HatchBlockEntity and implements methods.
Create blocks for both block entities.
Multiblock.
(better explanation todo)

常见问题

Aquamarine 支持哪些 Minecraft 版本?

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

Aquamarine 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

KrazyMiner001 的其他作品

查看全部 →