MonitoringMinecraft MonitoringMinecraft

More Outputs API

Мод Fabric

A developer API to add recipes with more than one output

1.8к скачиваний 0 подписчиков
Оцените первым

More Outputs API

You should only download this mod if you are a developer who wants to use the lib/api or when some mod requires this lib/api.

What is this mod?

Ever wanted to make recipes with more than one output? Now is the chance to do so! This mod is a library for developers to add more than one output to their recipes. This 'mod' will not do ANYTHING on its own! This lib/api makes it much easier for developers to add recipes with more than one output to their mod. Before, some developers made custom recipe classes that did have the neccessary requirements but for most it was impossible. The lib is aimed at devs who don't know how to start or just are generally new to modding but could also be a valuable asset to more experienced modders.

It works by instead of only implementing Recipe, you also implement one of the classes from this mod. Short ex.:


public class SomeCustomRecipe implements Recipe<SimpleInventory>, Output2Recipe<SimpleInventory> {
    [... All methods that are needed to implement from Recipe ...]
    
    //All methods implemented by Output2Recipe
    @Override
    public ItemStack getSecondResult(DynamicRegistryManager registryManager) {
      return secondOutput;
    }

    @Override
    public ItemStack craftSecond(DynamicRegistryManager registryManager) {
      return secondOutput;
    }
    
}

This will make sure you can use those methods outside the SomeCustomRecipe for registering screenhandlers, block entities etc. An indepth tutorial with a complete guide on how to use this is found on the wiki

Features:

  • Up to 4 possible outputs
  • Included example implementation (Not yet implemented)

Issues:

Please report issues to the github repository. Suggestions may also be submitted trough the issues. If you have any other questions, please ask them personally via discord. Username: scaredrabbitnl_. (Support server is coming sometime)

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
144 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
Battle Mine
Battle Mine Java + BE
2 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
MigosMc
MigosMc Java + BE
264 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
EVY-MC ЖДЕМ ИМЕННО ТЕБЯ
1 онлайн
1.21.1 — 1.21.11 версия
Уютное выживание с живой экономикой, голосовым чатом и 50 достижениями
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат