RoomRecipes 图标

RoomRecipes

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.19.2-1.0.0-beta.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/roomrecipes
资源信息

Minecraft 版本: 1.19.2

平台: forge

标签: library utility

资源介绍

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"
    }
  ]
}
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Simple Minimalist Toolbar

价格:0 墨喵币
下载量:0

查看详情
Impactor Vault Bridge - Impact Tresor

价格:0 墨喵币
下载量:0

查看详情
Viking Ages Craft

价格:0 墨喵币
下载量:0

查看详情
Bulb

价格:0 墨喵币
下载量:0

查看详情