Merge branch 'master' of github.com:NotAlexNoyle/GxUI

This commit is contained in:
NotAlexNoyle committed 2024-04-01 21:32:22 +00:00
commit 516a2ee067
4 files changed
+18 -15

No files matched your search

+2 -2
View File
@@ -1,3 +1,3 @@
# GxGUI
# GxUI
Gxorge's GUI library updated for 1.19 by https://true-og.net
My GUI Lib. To use, use the following repo URL: `https://repo.hotten.cloud/releases`, the following package: `uk.hotten.gxui`, and artifact: `gxui:1.3.1`.
+14 -5
View File
@@ -15,7 +15,7 @@ java {
}
group = "uk.hotten.gxui" // Declare bundle identifier.
version = "1.1" // Declare plugin version (will be in .jar).
version = "1.3.1" // Declare plugin version (will be in .jar).
def apiVersion = "1.19" // Declare minecraft server target version.
@@ -97,12 +97,21 @@ tasks.withType(JavaCompile).configureEach {
}
publishing {
repositories {
maven {
name = "hottenRepo"
url = "https://repo.hotten.cloud/releases"
credentials(PasswordCredentials)
authentication {
basic(BasicAuthentication)
}
}
}
publications {
maven(MavenPublication) {
groupId = 'uk.hotten.gxui'
artifactId = 'gxgui'
version = '1.1'
groupId = "uk.hotten.gxui"
artifactId = "gxui"
version = "1.3.1"
from components.java
}
}
-7
View File
@@ -1,7 +0,0 @@
jdk:
- 17.0.8
before_install:
- sdk install java 17.0.8-graalce
- sdk use java 17.0.8-graalce
install:
- ./gradlew build publishToMavenLocal
+2 -1
View File
@@ -31,6 +31,7 @@ public class GUIItem {
private String skullOwner;
private HashMap<Enchantment, Integer> enchantments = new HashMap<>();
@Getter @Setter private boolean unbreakable = false;
@Getter @Setter private GUIButton button;
@@ -112,8 +113,8 @@ public class GUIItem {
m.setOwningPlayer(Bukkit.getOfflinePlayer(skullOwner));
if (!displayName.equals("Not Set"))
m.displayName(displayNameTextComponent);
i.setUnbreakable(unbreakable);
m.lore(loreTextComponent);
i.setUnbreakable(true);
i.setItemMeta(m);
}
} catch (Exception e) {