FTBTeam/FTB-Library-Legacy


FTBLib mod for Minecraft http://minecraft.curseforge.com/projects/ftblib

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.LatvianModder:FTBLib:'
	}
	dependencies {
		implementation("com.github.LatvianModder:FTBLib:")
	}
	<dependency>
	    <groupId>com.github.LatvianModder</groupId>
	    <artifactId>FTBLib</artifactId>
	    <version></version>
	</dependency>

                            
    libraryDependencies += "com.github.LatvianModder" % "FTBLib" % ""
        
        

                            
    :dependencies [[com.github.LatvianModder/FTBLib ""]]
        
        

Readme


FTB Library

Use https://github.com/FTBTeam/FTB-Mods-Issues for any mod issues

Building the mod

  • Make sure you have Java JDK 1.8+ installed
  • Downloading it as zip or clone with Git
  • Open console / Command Prompt in downloaded folder's location
  • Run "gradlew build"

Adding as dependency

repositories {
	maven { url "https://maven.latmod.com/" }
}

dependencies {
	deobfCompile "com.feed_the_beast.mods:FTBLib:${ftblib_version}"
}

And ftblib_version=5.+ line in your gradle.properties file. You can also specify exact version, e.g. 5.0.0.

You probably also want to add "required-after:ftblib" or "after:ftblib" in your @Mod's dependencies. Most of the APIs don't need hard dependency, but things like GUIs won't work without FTBLib loaded