• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

CraftTweaker/CraftTweaker: Tweak your minecraft experience

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

CraftTweaker/CraftTweaker

开源软件地址(OpenSource Url):

https://github.com/CraftTweaker/CraftTweaker

开源编程语言(OpenSource Language):

Java 96.9%

开源软件介绍(OpenSource Introduction):

                    GitHub issues GitHub license Jenkins Discord

Table of Contents

Introduction

CraftTweaker is a Minecraft mod which allows modpacks and servers to customize the game. With CraftTweaker you can change recipes, script events, add new commands and even change item properties! When used with other mods the possibilities become endless! Ranging from custom machine recipes to entirely new blocks and items!

Feedback

If you're looking for help with the mod, or just want to come hang out, we have a Discord server.
If you're running into a bug or have a feature request, please don't be afraid to make an issue on the tracker.

License

Distributed under the MIT License. See the LICENSE file for more information.

Setup

To set up the CraftTweaker development environment you must clone the repo and initialize the submodule.

git clone --recurse-submodules https://github.com/CraftTweaker/CraftTweaker.git

After the project has been cloned and initialized you can directly import it into your IDE of choice.

Build

Building the project is as easy as running a Gradle command! Simply run:

gradlew build

and the outputted .jar files will be put in build/libs/ folder of each subproject (Common/build/libs/, Fabric/build/libs/ and Forge/build/libs/).

CraftTweaker also has automated markdown documentation, the output of that will be in the docsOut/ folder.

Maven

Every push to this repository is built and published to the BlameJared maven, to use these builds in your project, first add the BlameJared maven to your repositories block in your build.gradle file like so:

repositories {
    maven { 
        url = 'https://maven.blamejared.com'
        name = 'BlameJared Maven'
    }
}

Then, depending on what modloader you are using, you can use the following snippets, just replace [VERSION] with the latest version for each artifact.

Fabric Maven

dependencies {
    modCompileOnly('com.blamejared.crafttweaker:CraftTweaker-fabric-1.18.2:[VERSION]')
    // Example:
    // modCompileOnly('com.blamejared.crafttweaker:CraftTweaker-fabric-1.18.2:9.1.83')
}

Forge Maven

dependencies {
    compileOnly(fg.deobf('com.blamejared.crafttweaker:CraftTweaker-forge-1.18.2:[VERSION]'))
    // Example:
    // compileOnly(fg.deobf('com.blamejared.crafttweaker:CraftTweaker-forge-1.18.2:9.1.83'))
}

Common Maven

If you are in a multi-modloader environment (Such as MultiLoader), you can bring the Common artifact (code that does not depend on any specific mod loader but rather just the vanilla game) into your Common project like so:

dependencies {
    compileOnly('com.blamejared.crafttweaker:CraftTweaker-common-1.18.2:[VERSION]')
    // Example:
    // compileOnly('com.blamejared.crafttweaker:CraftTweaker-common-1.18.2:9.1.83')
}



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap