From 2a1239c02bd6e64a70fd26019e692a7276c75832 Mon Sep 17 00:00:00 2001 From: Juniper Primavera Date: Wed, 24 Apr 2024 16:18:06 +0100 Subject: [PATCH] Fix textures --- .../java/xyz/sillyjune/notebook/Notebook.java | 20 +++++++++--------- .../gui/{ => sprites}/book/focused.png | Bin .../gui/{ => sprites}/book/unfocused.png | Bin .../gui/{ => sprites}/delete_page/focused.png | Bin .../{ => sprites}/delete_page/unfocused.png | Bin .../gui/{ => sprites}/last_book/focused.png | Bin .../gui/{ => sprites}/last_book/unfocused.png | Bin .../gui/{ => sprites}/new_page/focused.png | Bin .../gui/{ => sprites}/new_page/unfocused.png | Bin .../gui/{ => sprites}/next_book/focused.png | Bin .../gui/{ => sprites}/next_book/unfocused.png | Bin 11 files changed, 10 insertions(+), 10 deletions(-) rename src/main/resources/assets/notebook/textures/gui/{ => sprites}/book/focused.png (100%) rename src/main/resources/assets/notebook/textures/gui/{ => sprites}/book/unfocused.png (100%) rename src/main/resources/assets/notebook/textures/gui/{ => sprites}/delete_page/focused.png (100%) rename src/main/resources/assets/notebook/textures/gui/{ => sprites}/delete_page/unfocused.png (100%) rename src/main/resources/assets/notebook/textures/gui/{ => sprites}/last_book/focused.png (100%) rename src/main/resources/assets/notebook/textures/gui/{ => sprites}/last_book/unfocused.png (100%) rename src/main/resources/assets/notebook/textures/gui/{ => sprites}/new_page/focused.png (100%) rename src/main/resources/assets/notebook/textures/gui/{ => sprites}/new_page/unfocused.png (100%) rename src/main/resources/assets/notebook/textures/gui/{ => sprites}/next_book/focused.png (100%) rename src/main/resources/assets/notebook/textures/gui/{ => sprites}/next_book/unfocused.png (100%) diff --git a/src/main/java/xyz/sillyjune/notebook/Notebook.java b/src/main/java/xyz/sillyjune/notebook/Notebook.java index 238ab47..c24cc65 100644 --- a/src/main/java/xyz/sillyjune/notebook/Notebook.java +++ b/src/main/java/xyz/sillyjune/notebook/Notebook.java @@ -69,24 +69,24 @@ public void onInitialize() { } public static final ButtonTextures MAIN_BUTTON_ICON = new ButtonTextures( - new Identifier("notebook:textures/gui/book/unfocused.png"), - new Identifier("notebook:textures/gui/book/focused.png") + new Identifier("notebook:book/unfocused"), + new Identifier("notebook:book/focused") ); public static final ButtonTextures NEW_PAGE_ICON = new ButtonTextures( - new Identifier("notebook:textures/gui/new_page/unfocused.png"), - new Identifier("notebook:textures/gui/new_page/focused.png") + new Identifier("notebook:new_page/unfocused"), + new Identifier("notebook:new_page/focused") ); public static final ButtonTextures DEL_PAGE_ICON = new ButtonTextures( - new Identifier("notebook:textures/gui/delete_page/unfocused.png"), - new Identifier("notebook:textures/gui/delete_page/focused.png") + new Identifier("notebook:delete_page/unfocused"), + new Identifier("notebook:delete_page/focused") ); public static final ButtonTextures LAST_BOOK_ICON = new ButtonTextures( - new Identifier("notebook:textures/gui/last_book/unfocused.png"), - new Identifier("notebook:textures/gui/last_book/focused.png") + new Identifier("notebook:last_book/unfocused"), + new Identifier("notebook:last_book/focused") ); public static final ButtonTextures NEXT_BOOK_ICON = new ButtonTextures( - new Identifier("notebook:textures/gui/next_book/unfocused.png"), - new Identifier("notebook:textures/gui/next_book/focused.png") + new Identifier("notebook:next_book/unfocused"), + new Identifier("notebook:next_book/focused") ); public static String BOOK_FOLDER = "Notebook"; public static boolean DEV_ONLY = false; diff --git a/src/main/resources/assets/notebook/textures/gui/book/focused.png b/src/main/resources/assets/notebook/textures/gui/sprites/book/focused.png similarity index 100% rename from src/main/resources/assets/notebook/textures/gui/book/focused.png rename to src/main/resources/assets/notebook/textures/gui/sprites/book/focused.png diff --git a/src/main/resources/assets/notebook/textures/gui/book/unfocused.png b/src/main/resources/assets/notebook/textures/gui/sprites/book/unfocused.png similarity index 100% rename from src/main/resources/assets/notebook/textures/gui/book/unfocused.png rename to src/main/resources/assets/notebook/textures/gui/sprites/book/unfocused.png diff --git a/src/main/resources/assets/notebook/textures/gui/delete_page/focused.png b/src/main/resources/assets/notebook/textures/gui/sprites/delete_page/focused.png similarity index 100% rename from src/main/resources/assets/notebook/textures/gui/delete_page/focused.png rename to src/main/resources/assets/notebook/textures/gui/sprites/delete_page/focused.png diff --git a/src/main/resources/assets/notebook/textures/gui/delete_page/unfocused.png b/src/main/resources/assets/notebook/textures/gui/sprites/delete_page/unfocused.png similarity index 100% rename from src/main/resources/assets/notebook/textures/gui/delete_page/unfocused.png rename to src/main/resources/assets/notebook/textures/gui/sprites/delete_page/unfocused.png diff --git a/src/main/resources/assets/notebook/textures/gui/last_book/focused.png b/src/main/resources/assets/notebook/textures/gui/sprites/last_book/focused.png similarity index 100% rename from src/main/resources/assets/notebook/textures/gui/last_book/focused.png rename to src/main/resources/assets/notebook/textures/gui/sprites/last_book/focused.png diff --git a/src/main/resources/assets/notebook/textures/gui/last_book/unfocused.png b/src/main/resources/assets/notebook/textures/gui/sprites/last_book/unfocused.png similarity index 100% rename from src/main/resources/assets/notebook/textures/gui/last_book/unfocused.png rename to src/main/resources/assets/notebook/textures/gui/sprites/last_book/unfocused.png diff --git a/src/main/resources/assets/notebook/textures/gui/new_page/focused.png b/src/main/resources/assets/notebook/textures/gui/sprites/new_page/focused.png similarity index 100% rename from src/main/resources/assets/notebook/textures/gui/new_page/focused.png rename to src/main/resources/assets/notebook/textures/gui/sprites/new_page/focused.png diff --git a/src/main/resources/assets/notebook/textures/gui/new_page/unfocused.png b/src/main/resources/assets/notebook/textures/gui/sprites/new_page/unfocused.png similarity index 100% rename from src/main/resources/assets/notebook/textures/gui/new_page/unfocused.png rename to src/main/resources/assets/notebook/textures/gui/sprites/new_page/unfocused.png diff --git a/src/main/resources/assets/notebook/textures/gui/next_book/focused.png b/src/main/resources/assets/notebook/textures/gui/sprites/next_book/focused.png similarity index 100% rename from src/main/resources/assets/notebook/textures/gui/next_book/focused.png rename to src/main/resources/assets/notebook/textures/gui/sprites/next_book/focused.png diff --git a/src/main/resources/assets/notebook/textures/gui/next_book/unfocused.png b/src/main/resources/assets/notebook/textures/gui/sprites/next_book/unfocused.png similarity index 100% rename from src/main/resources/assets/notebook/textures/gui/next_book/unfocused.png rename to src/main/resources/assets/notebook/textures/gui/sprites/next_book/unfocused.png