Giter Club home page Giter Club logo

blueprint's Introduction

Banner

Team Abnormals Website Team Abnormals Discord Team Abnormals Twitter Team Abnormals Patreon

๐Ÿ“– About

Blueprint is a mod library developed for easily accessing code which is shared across most Team Abnormals mods. It comes with many useful features, such as a registry helper, data syncing, various data-driven modification systems, and the Endimator animation API.

๐Ÿ’ป For Developers

Adding Blueprint to your mod is quite simple!

First off you need to add Blueprint as a dependency to access the library in code. To do so, add the following into your build.gradle:

repositories {
    maven {
        url = "https://maven.jaackson.me"
    }
}

dependencies {
    implementation fg.deobf("com.teamabnormals:blueprint:<version>")
}

Replace <version> with the desired version of Blueprint, including the desired version of Minecraft.
For example, 1.20.1-7.0.0 will give us blueprint-1.20.1-7.0.0.jar.

Next, you need to add two properties to your runs in your build.gradle:

property "mixin.env.remapRefMap", "true"
property "mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg"

Your runs in your build.gradle are found under minecraft{runs{}}.

Next you need to add it as a dependecy on Forge to make your mod require Blueprint when loading. In your mods.toml, add the following block to the file:

[[dependencies.<modId>]]
    modId = "blueprint"
    mandatory = true
    versionRange = "[<version>,)"
    ordering = "BEFORE"
    side = "BOTH"

Replace <version> with the desired version of Blueprint.
For example, 7.0.0 will target version 7.0.0 of Blueprint.
The code block above for the mods.toml is targeting the version selected and any versions beyond. If you want to target it differently, you may want to read up on the mods.toml spec.

๐Ÿ“ฆ Our Mods

blueprint's People

Contributors

bageldotjpg avatar bonniethebunny-hub avatar cerealconjugo avatar ebo2022 avatar embeddedt avatar estellarium avatar expensivekoala avatar felinux02 avatar flowerfugue avatar gisellevonbingen avatar jacksonhardaway avatar kdotjpg avatar markus1002 avatar mindy15963 avatar ocelot5836 avatar secret-rabbit avatar shockmicro avatar smellymodder avatar unroman avatar verdapegasus avatar zeedif avatar

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.