diff --git a/README.md b/README.md index 936b953..eb62eae 100644 --- a/README.md +++ b/README.md @@ -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 @@ -31,7 +31,7 @@ dependencies { com.github.DebitCardz mc-chestui-plus - 1.0.5 + 1.1.0 ``` @@ -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) { diff --git a/build.gradle.kts b/build.gradle.kts index b563e67..dcb005e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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() diff --git a/src/main/kotlin/me/tech/mcchestui/GUI.kt b/src/main/kotlin/me/tech/mcchestui/GUI.kt index 33031d9..0b4ea60 100644 --- a/src/main/kotlin/me/tech/mcchestui/GUI.kt +++ b/src/main/kotlin/me/tech/mcchestui/GUI.kt @@ -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 diff --git a/src/main/kotlin/me/tech/mcchestui/GUIItem.kt b/src/main/kotlin/me/tech/mcchestui/GUIItem.kt index 5bc42fb..ec3ca3b 100644 --- a/src/main/kotlin/me/tech/mcchestui/GUIItem.kt +++ b/src/main/kotlin/me/tech/mcchestui/GUIItem.kt @@ -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 diff --git a/src/main/kotlin/me/tech/mcchestui/GUIType.kt b/src/main/kotlin/me/tech/mcchestui/GUIType.kt index 8bfa8e5..4bac8c1 100644 --- a/src/main/kotlin/me/tech/mcchestui/GUIType.kt +++ b/src/main/kotlin/me/tech/mcchestui/GUIType.kt @@ -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