Git Product home page Git Product logo

docs-site's 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.21:[VERSION]')
    // Example:
    // modCompileOnly('com.blamejared.crafttweaker:CraftTweaker-fabric-1.21:17.0.0')
}

NeoForge Maven

    compileOnly(fg.deobf('com.blamejared.crafttweaker:CraftTweaker-neoforge-1.21:[VERSION]'))
    // Example:
    // compileOnly(fg.deobf('com.blamejared.crafttweaker:CraftTweaker-neoforge-1.21:17.0.0'))
}

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.21:[VERSION]')
    // Example:
    // compileOnly('com.blamejared.crafttweaker:CraftTweaker-common-1.21:17.0.0')
}

docs-site's People

Contributors

democat3457 avatar dependabot[bot] avatar jaredlll08 avatar

Watchers

 avatar  avatar  avatar

docs-site's Issues

Headers directly followed by a sub-header get put into the same line

When using a subheader directly below a header, the two headers are on the same line.

Example Code:

## Crop Drops

### Adding Drops

Test

Generated Output:

<a href="#crop-drops" class="inline-block"><h2 id="crop-drops">Crop Drops</h2></a>
<a href="#adding-drops" class="inline-block"><h3 id="adding-drops">Adding Drops</h3></a>

Generate header links using their parent's header text as well

Currently, when two different sections have the same sub-heading, the second sub-heading will bring the user to the first sub-heading instead.

You can currently find an example of this on the live site here: https://docs.blamejared.com/1.12/en/Vanilla/Recipes/Furnace/Recipes_Furnace/#removal

In this example:

## Recipes <!-- generates as #recipes -->
### Removal <!-- generates as #removal -->

## Examples <!-- generates as #examples -->
### Removal <!-- generates as #removal -->

As a suggestion, the new generated anchor links would be:

## Recipes <!-- generates as #recipes -->
### Removal <!-- generates as #recipes-removal -->

## Examples <!-- generates as #examples -->
### Removal <!-- generates as #examples-removal -->

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.