Push To Craft 图标

Push To Craft

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.6+mc1.19.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/push-to-craft
资源信息

Minecraft 版本: 1.19.2

平台: fabric

标签: library management

资源介绍

Usage

This mod adds a new data type called push_to_craft. Put the files into a push_to_craft directory in your datapack or data folder of your mod (beneath the recipes or tags directories).

A valid json file is built like this:

  • additions: Array - Defines all items or tags that you want to add to the targets
    • Entries are item ids as Strings. You can use tags by prepending a #.
  • targets: Array or String - Defines which items and tags to target in the recipes
    • Entries are item ids or tags as Strings.
  • recipes: Object - Gives conditions for which items to choose
    • types: Array - optional - Defines which recipe serializers to target
      • Entries are recipe serializer ids as Strings
    • ids: Array - optional - Defines which recipes to target
      • Entries are Strings that are either of these:
        • Exact recipe ids à la minecraft:anvil
        • Namespace specific regular expression that only mark the last part of the id as regex à la minecraft:.*
        • A complete regular expression beginning and ending with a forward slash à la /.*craft:.*/

Example

This allows you to use blackstone in favor of cobblestone everywhere:

{
    "additions": [
        "minecraft:blackstone"
    ],
    "targets": [
        "minecraft:cobblestone"
    ],
    "recipes": {}
}

This allows you to use emeralds and all kinds of planks as alternatives to diamonds and iron ores in crafting and smelting recipes:

{
    "additions": [
        "minecraft:emerald",
        "#minecraft:planks"
    ],
    "targets": [
        "minecraft:diamond",
        "minecraft:iron_ore"
    ],
    "recipes": {
        "types": [
            "crafting_shaped",
            "crafting_shapeless",
            "blasting"
        ],
        "ids": [
            "minecraft:/.*/"
        ]
    }
}

Modders

If you're a modder and like to use this in your projects you can do so using my maven:

repositories {
    maven {
        name "Siphalor's Maven"
        url "https://maven.siphalor.de"
    }
}

dependencies {
    modCompile "de.siphalor:pushtocraft-1.15:+"
    // Optionally you can include this mod into your jar
    include "de.siphalor:pushtocraft-1.15:+"
}
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Monchlets!

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

查看详情
Breeze Soda

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

查看详情
Plasmar's survival modpack with masady's mods and other stuff

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

查看详情
Vanilla++

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

查看详情