▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/RoomRecipes
RoomRecipes

RoomRecipes

RoomRecipes is a utility mod which can detect a "rooms" and "room recipes". It is not much use on its own, and is typically used as a dependency for other mods.

1.5K
1

RoomRecipes is a utility mod which adds two things:

  • Room Detection
  • Room Recipes

Note

RoomRecipes was created to power the Questown mod. But it may also be used for other mods.

Room Detection

When given an X,Z coordinate, this library can identify an enclosed space (a "room"). The simplest example of this would be a set of four straight walls connected at the corners to form a rectangle. But RoomRecipe can also detect more complex shapes and has an extensive set of unit tests to protect its detection logic from breaking.

Room Recipes

A Room Recipe is a JSON file which consists of a set of items that correspond to blocks. These files go in the typical "recipes" folder that mods and resource packs use to add crafting recipes to Minecraft.

The RoomRecipes mod can be used to check if a Room contains all of those blocks. If the room contains all of the recipe's blocks, that recipe is complete.

Room recipes can added via mods or resource packs. A room recipe looks like this:

crafting_room.json

{
  "type": "roomrecipes:room",
  "recipe_strength": 1,
  "ingredients": [
    {
      "item": "minecraft:torch"
    },
    {
      "item": "minecraft:crafting_table"
    }
  ]
}

Совместимость

Minecraft: Java Edition

1.19.x1.18.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:MIT
Опубликован:2 года назад
Обновлён:7 месяцев назад
Главная