custom-crafter-api

An advanced PaperMC crafting engine for building complex recipes with NBT-supported custom items.

Редакция NLZONE · 2 мин чтения · 1 просмотр
custom-crafter-api
Скачать custom-crafter-api1.21.10 – 26.1.2 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

An advanced PaperMC crafting engine for building complex recipes with NBT-supported custom items.

  • Тип: мод
  • Загрузчик: folia, paper, purpur
  • Версии Minecraft: 1.21.10 – 26.1.2
  • Скачиваний на Modrinth: 1 265

Подробно

custom crafter is a custom recipe plugin for PaperMC servers, and also a library (API) for defining custom recipes from your own plugin.

Define custom recipes freely from your plugin and introduce new elements into the game.

- Custom recipes for vanilla items — add new recipes for existing Minecraft items. - Custom item support — use items created by your plugin as results or materials. - Material management commands — for server administrators managing recipe materials. - Automatic integration — registered recipes appear in players' crafting environment without extra setup. - Vanilla crafting continues to work unmodified.

1. Place base blocks (GOLDBLOCK). 2. Craft infinityIronBlockCore (recipe definition). 3. Compress an iron block into infinityIronBlock (recipe definition). 4. Repeat with the same recipe. 5. Repeat again. 6. Extract the infinity iron block with infinityIronBlockExtract (recipe definition).

Clone the repository and run the following command to build a demo plugin containing the recipes shown above, along with several others:

The resulting jar, ready to be placed in a server's plugins directory, is written to demo/target.

| CustomCrafter Version | Paper Version | |:-------------------------------|:--------------------------| | 5.4.0 (latest) | 1.21.4 ~ 1.21.11, 26.1.x | | 5.0.13 ~ 5.0.21, 5.1.0 ~ 5.3.0 | 1.21.4 ~ 1.21.11, 26.1.x | | 5.0.0 ~ 5.0.11 | 1.21.3 | | 4.3 (legacy) | 1.21.3 | | 4.2 (legacy) | 1.20.1 ~ 1.20.4 |

The minimum supported Paper version rarely changes between releases, so using the latest release is recommended.

Note: custom crafter does not run on Spigot/Bukkit. Use PaperMC or a Paper fork.

Since version 5.0.0, custom crafter also works as an API for defining and registering custom recipes from your own plugin.

- KDoc (Kotlin) - Javadoc (Java) - Documentation site

mvn -pl api dokka:dokka # KDoc mvn -pl api dokka:javadoc # Javadoc

Plugins depending on CustomCrafterAPI must list CustomCrafter under depend in plugin.yml:

The CustomCrafter plugin is assumed to be present at runtime, so set its dependency scope to compile-time only — the same applies to the Kotlin

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также