diff --git a/docs/API.md b/docs/API.md index c420a41d..b8bafc2a 100644 --- a/docs/API.md +++ b/docs/API.md @@ -19,8 +19,8 @@ The HuskHomes API shares version numbering with the plugin itself for consistenc The HuskHomes API is available for the following platforms: -* `bukkit` - Bukkit, Spigot, Paper, etc. Provides Bukkit API events and extends `BaseHuskHomesAPI` with `org.bukkit` adapters. -* `fabric` - Fabric, Quilt, etc. Provides Fabric callback-style listeners +* `bukkit` - Bukkit, Spigot, Paper, etc. Provides Bukkit API event listeners and adapters to `org.bukkit` objects. +* `fabric` - Fabric, Quilt, etc. Provides Fabric API event callbacks and adapters to `net.minecraft` objects. * `sponge` - Sponge. Provides Sponge API events. * `common` - Common API for all platforms. @@ -38,8 +38,7 @@ The HuskHomes API is available for the following platforms: 2. [Adding HuskHomes as a dependency](#2-adding-huskhomes-as-a-dependency) 3. [Next steps](#3-next-steps) -## 1 API Introduction - +## API Introduction ### 1.1 Setup with Maven
Maven setup information @@ -53,7 +52,7 @@ Add the repository to your `pom.xml` as per below. You can alternatively specify ``` -Add the dependency to your `pom.xml` as per below. Replace `VERSION` with the latest version of HuskHomes (without the v): ![Latest version](https://img.shields.io/github/v/tag/WiIIiam278/HuskHomes?color=%23282828&label=%20&style=flat-square) +Add the dependency to your `pom.xml` as per below. Replace `VERSION` with the latest version of HuskHomes (without the v): ![Latest version](https://img.shields.io/github/v/tag/WiIIiam278/HuskHomes?color=%23282828&label=%20&style=flat-square). Note for Fabric you must append the target Minecraft version to the version number (e.g. `3.6.1+1.20.1`). ```xml net.william278.huskhomes @@ -76,7 +75,7 @@ allprojects { } } ``` -Add the dependency as per below. Replace `VERSION` with the latest version of HuskHomes (without the v): ![Latest version](https://img.shields.io/github/v/tag/WiIIiam278/HuskHomes?color=%23282828&label=%20&style=flat-square) +Add the dependency as per below. Replace `VERSION` with the latest version of HuskHomes (without the v): ![Latest version](https://img.shields.io/github/v/tag/WiIIiam278/HuskHomes?color=%23282828&label=%20&style=flat-square). Note for Fabric you must append the target Minecraft version to the version number (e.g. `3.6.1+1.20.1`). ```groovy dependencies {