Скачать AmbleKit — Minecraft Моды — ModStock
AmbleKit

AmbleKit

Активный

Установок

0

Последнее обновление

2 дня назад

Версии

1.20.1 — 1.21.6
Клиент и сервер
Fabric
Forge
Игровые механики
Библиотеки
Утилиты

Amble Kit Library

This a libary mod that can be used for code simplifying for developing on Fabric

This is used in many of our Fabric mods

What does this add?

Minecraft Registration

Instead of having to manually register each and every thing, you can simple extend or implement one of our RegistryContainer classes.

These utility interfaces are recognised by our mod by sticking RegistryContainer.register(ClassName.class, MOD_ID into your mods #onInitialize method.

Datapack Workflow

We provide a custom class called SimpleDatapackRegistry

This allows your own classes to be read and registered straight from datapacks with ease!

For the kit to recognise your registry, in your mods #onInitialize method, you need to call register on your instance OR AmbleRegistries.register(MyRegistry.getInstance()))

Data Generation

We utilise annotations and the previously mentioned registry containers to automatically generate many features.

For example, automatic english translation for blocks -

By simply creating an instance of AmbleLanguageProvider and passing in your BlockContainer with the #withBlocks method, next time you run datagen all these blocks will have english translations based off their identifiers.

There are more datagen utilities akin to this.

Much more!

Участники проекта
Loqor

Loqor

duzo_

duzo_