mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
docs: update API docs for new Fabric versioning
This commit is contained in:
1 file changed
+5
-6
+5
-6
@@ -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
|
||||
<details>
|
||||
<summary>Maven setup information</summary>
|
||||
@@ -53,7 +52,7 @@ Add the repository to your `pom.xml` as per below. You can alternatively specify
|
||||
</repository>
|
||||
</repositories>
|
||||
```
|
||||
Add the dependency to your `pom.xml` as per below. Replace `VERSION` with the latest version of HuskHomes (without the v): 
|
||||
Add the dependency to your `pom.xml` as per below. Replace `VERSION` with the latest version of HuskHomes (without the v): . Note for Fabric you must append the target Minecraft version to the version number (e.g. `3.6.1+1.20.1`).
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>net.william278.huskhomes</groupId>
|
||||
@@ -76,7 +75,7 @@ allprojects {
|
||||
}
|
||||
}
|
||||
```
|
||||
Add the dependency as per below. Replace `VERSION` with the latest version of HuskHomes (without the v): 
|
||||
Add the dependency as per below. Replace `VERSION` with the latest version of HuskHomes (without the v): . Note for Fabric you must append the target Minecraft version to the version number (e.g. `3.6.1+1.20.1`).
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
|
||||
Reference in new issue
Block a user