aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2023-09-09 13:59:24 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2023-09-09 13:59:24 +0300
commit2a05170b93d9522cc9d54d954a783dd6a7f01c1c (patch)
tree397c08ae1fcb273502a16c4b21cb6dc7bf454cd6 /src/main/resources
parent5c66af7bd411c7caa3f2e4cc4f754066fe37eae3 (diff)
downloadLibGui-2a05170b93d9522cc9d54d954a783dd6a7f01c1c.tar.gz
LibGui-2a05170b93d9522cc9d54d954a783dd6a7f01c1c.tar.bz2
LibGui-2a05170b93d9522cc9d54d954a783dd6a7f01c1c.zip
Initial port to 1.20.2
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/assets/libgui/textures/gui/sprites/widget/button_dark.pngbin0 -> 3228 bytes
-rw-r--r--src/main/resources/assets/libgui/textures/gui/sprites/widget/button_dark.png.mcmeta10
-rw-r--r--src/main/resources/assets/libgui/textures/gui/sprites/widget/button_disabled_dark.pngbin0 -> 2107 bytes
-rw-r--r--src/main/resources/assets/libgui/textures/gui/sprites/widget/button_disabled_dark.png.mcmeta10
-rw-r--r--src/main/resources/assets/libgui/textures/gui/sprites/widget/button_highlighted_dark.pngbin0 -> 3233 bytes
-rw-r--r--src/main/resources/assets/libgui/textures/gui/sprites/widget/button_highlighted_dark.png.mcmeta10
-rw-r--r--src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_dark.pngbin0 -> 748 bytes
-rw-r--r--src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_dark.png.mcmeta15
-rw-r--r--src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_highlighted_dark.pngbin0 -> 748 bytes
-rw-r--r--src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_highlighted_dark.png.mcmeta15
-rw-r--r--src/main/resources/assets/libgui/textures/widget/dark_widgets.pngbin5798 -> 0 bytes
-rw-r--r--src/main/resources/fabric.mod.json6
-rw-r--r--src/main/resources/mixins.libgui.json4
13 files changed, 66 insertions, 4 deletions
diff --git a/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_dark.png b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_dark.png
new file mode 100644
index 0000000..437de7c
--- /dev/null
+++ b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_dark.png
Binary files differ
diff --git a/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_dark.png.mcmeta b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_dark.png.mcmeta
new file mode 100644
index 0000000..bcf5fc2
--- /dev/null
+++ b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_dark.png.mcmeta
@@ -0,0 +1,10 @@
+{
+ "gui": {
+ "scaling": {
+ "type": "nine_slice",
+ "width": 200,
+ "height": 20,
+ "border": 3
+ }
+ }
+}
diff --git a/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_disabled_dark.png b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_disabled_dark.png
new file mode 100644
index 0000000..83e5146
--- /dev/null
+++ b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_disabled_dark.png
Binary files differ
diff --git a/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_disabled_dark.png.mcmeta b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_disabled_dark.png.mcmeta
new file mode 100644
index 0000000..bcf5fc2
--- /dev/null
+++ b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_disabled_dark.png.mcmeta
@@ -0,0 +1,10 @@
+{
+ "gui": {
+ "scaling": {
+ "type": "nine_slice",
+ "width": 200,
+ "height": 20,
+ "border": 3
+ }
+ }
+}
diff --git a/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_highlighted_dark.png b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_highlighted_dark.png
new file mode 100644
index 0000000..59f0561
--- /dev/null
+++ b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_highlighted_dark.png
Binary files differ
diff --git a/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_highlighted_dark.png.mcmeta b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_highlighted_dark.png.mcmeta
new file mode 100644
index 0000000..bcf5fc2
--- /dev/null
+++ b/src/main/resources/assets/libgui/textures/gui/sprites/widget/button_highlighted_dark.png.mcmeta
@@ -0,0 +1,10 @@
+{
+ "gui": {
+ "scaling": {
+ "type": "nine_slice",
+ "width": 200,
+ "height": 20,
+ "border": 3
+ }
+ }
+}
diff --git a/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_dark.png b/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_dark.png
new file mode 100644
index 0000000..f843714
--- /dev/null
+++ b/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_dark.png
Binary files differ
diff --git a/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_dark.png.mcmeta b/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_dark.png.mcmeta
new file mode 100644
index 0000000..dab004a
--- /dev/null
+++ b/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_dark.png.mcmeta
@@ -0,0 +1,15 @@
+{
+ "gui": {
+ "scaling": {
+ "type": "nine_slice",
+ "width": 8,
+ "height": 20,
+ "border": {
+ "left": 2,
+ "top": 2,
+ "right": 2,
+ "bottom": 3
+ }
+ }
+ }
+}
diff --git a/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_highlighted_dark.png b/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_highlighted_dark.png
new file mode 100644
index 0000000..dff8794
--- /dev/null
+++ b/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_highlighted_dark.png
Binary files differ
diff --git a/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_highlighted_dark.png.mcmeta b/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_highlighted_dark.png.mcmeta
new file mode 100644
index 0000000..dab004a
--- /dev/null
+++ b/src/main/resources/assets/libgui/textures/gui/sprites/widget/slider_handle_highlighted_dark.png.mcmeta
@@ -0,0 +1,15 @@
+{
+ "gui": {
+ "scaling": {
+ "type": "nine_slice",
+ "width": 8,
+ "height": 20,
+ "border": {
+ "left": 2,
+ "top": 2,
+ "right": 2,
+ "bottom": 3
+ }
+ }
+ }
+}
diff --git a/src/main/resources/assets/libgui/textures/widget/dark_widgets.png b/src/main/resources/assets/libgui/textures/widget/dark_widgets.png
deleted file mode 100644
index 8482d76..0000000
--- a/src/main/resources/assets/libgui/textures/widget/dark_widgets.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index 9a59c86..bbd2386 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -25,12 +25,12 @@
"mixins": ["mixins.libgui.json"],
"depends": {
"java": ">=17",
- "fabricloader": ">=0.14.21",
+ "fabricloader": ">=0.14.22",
"fabric-api-base": ">=0.4.4",
"fabric-lifecycle-events-v1": "^2.0.2",
- "fabric-networking-api-v1": "^1.0.21",
+ "fabric-networking-api-v1": "^3.0.5",
"fabric-rendering-v1": "^3.0.6",
- "minecraft": ">=1.20-rc.1",
+ "minecraft": ">=1.20.2-beta.2",
"jankson": "^6.0.0",
"libninepatch": "^1.2.0"
},
diff --git a/src/main/resources/mixins.libgui.json b/src/main/resources/mixins.libgui.json
index 6698d08..d72e129 100644
--- a/src/main/resources/mixins.libgui.json
+++ b/src/main/resources/mixins.libgui.json
@@ -7,7 +7,9 @@
"client": [
"client.MinecraftClientMixin",
- "client.ScreenAccessor"
+ "client.PressableWidgetAccessor",
+ "client.ScreenAccessor",
+ "client.SliderWidgetAccessor"
],
"injectors": {