FasterFurnaces
DiscordHome
  • Home
  • For Players
    • Commands
    • Usage
  • Configuration
    • Installation
    • GUI Menus
    • Messages
    • Translations
  • Permissions
    • Player Commands
    • Admin Commands
    • Other Permissions
  • Developers
    • API
Powered by GitBook
On this page
  • Javadoc
  • API Usage Explained
Edit on GitHub
  1. Developers

API

PreviousOther Permissions

Last updated 7 months ago

Javadoc

Can be found here.

API Usage Explained

Include the API using Gradle:

repositories {
	maven { url 'https://jitpack.io' }
}

dependencies {
    compileOnly "com.github.angeschossen:FasterFurnacesAPI:version"
}

Replace version with the version that you want to use.

Include the API using Maven:

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

<dependencies>
    <dependency>
        <groupId>com.github.angeschossen</groupId>
        <artifactId>FasterFurnacesAPI</artifactId>
        <version>version</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Replace version with the version that you want to use.

The API is accessible through an implementation of the FasterFurnacesAPI interface. FasterFurnaces needs to be loaded before this API can be used. It doesn't need to be enabled though.

FasterFurnacesAPI api = FasterFurnacesAPI.getInstance();