Skip to content

Commit

Permalink
Update Documentation (#15)
Browse files Browse the repository at this point in the history
* docs: bump version

* docs: update some documentation
  • Loading branch information
DebitCardz authored Aug 19, 2023
1 parent 4c84740 commit 61811b9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 19 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repositories {
}

dependencies {
implementation("com.github.DebitCardz:mc-chestui-plus:1.0.5")
implementation("com.github.DebitCardz:mc-chestui-plus:1.1.0")
}
```
### Maven
Expand All @@ -31,7 +31,7 @@ dependencies {
<dependency>
<groupId>com.github.DebitCardz</groupId>
<artifactId>mc-chestui-plus</artifactId>
<version>1.0.5</version>
<version>1.1.0</version>
</dependency>

```
Expand Down Expand Up @@ -73,7 +73,7 @@ fun mainGUI(): GUI {
return gui(
plugin = this,
title = Component.text("Example GUI", NamedTextColor.GOLD),
type = GUIType.Chest(rows = 1),
type = GUIType.Chest(rows = 1)
) {
slot(1, 1) {
item = item(Material.STONE) {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ val githubActor = project.findProperty("gpr.user") as String? ?: System.getenv("
val githubToken = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")

group = "me.tech"
version = "1.0.5"
version = "1.1.0"

repositories {
mavenCentral()
Expand Down
10 changes: 7 additions & 3 deletions src/main/kotlin/me/tech/mcchestui/GUI.kt
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
/**
* @author hazae41
* This GUI library is used from https://github.com/hazae41/mc-chestui
* and has been heavily recoded to include features and
* utilities the original did not have, and is still being actively maintained.
*/

package me.tech.mcchestui

import net.kyori.adventure.text.Component
import org.bukkit.Material
import org.bukkit.entity.HumanEntity
import org.bukkit.entity.Player
import org.bukkit.event.*
import org.bukkit.event.inventory.*
import org.bukkit.inventory.Inventory
import org.bukkit.inventory.ItemStack
import org.bukkit.plugin.java.JavaPlugin
Expand Down
6 changes: 0 additions & 6 deletions src/main/kotlin/me/tech/mcchestui/GUIItem.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/**
* @author hazae41
* This GUI library is used from https://github.com/hazae41/mc-chestui
* and has been slightly recoded to better suite what I needed from it.
* Thanks for originally creating it!
*/
package me.tech.mcchestui

import com.destroystokyo.paper.profile.PlayerProfile
Expand Down
6 changes: 0 additions & 6 deletions src/main/kotlin/me/tech/mcchestui/GUIType.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/**
* @author hazae41
* This GUI library is used from https://github.com/hazae41/mc-chestui
* and has been slightly recoded to better suite what I needed from it.
* Thanks for originally creating it!
*/
package me.tech.mcchestui

import org.bukkit.event.inventory.InventoryType
Expand Down

0 comments on commit 61811b9

Please sign in to comment.