@@ -14,6 +14,8 @@ public class QuestlogGuiSet {
1414
1515 public final ResourceLocation backgroundLoc ;
1616 public final ResourceLocation peripheralLoc ;
17+ public final ResourceLocation searchTabButtonsLoc ;
18+
1719 public final Texture detailBackground ;
1820 public final Texture button ;
1921 public final Texture buttonHovered ;
@@ -25,9 +27,24 @@ public class QuestlogGuiSet {
2527 public final Texture bigHR ;
2628 public final ScrollbarTexture scrollbar ;
2729
30+ public final Texture searchTabMinimized ;
31+ public final Texture searchTabMinimizedHovered ;
32+ public final Texture searchTabExpanded ;
33+ public final Texture searchTabExpandedHovered ;
34+ public final Texture arrowLeft ;
35+ public final Texture arrowLeftHovered ;
36+ public final Texture arrowRight ;
37+ public final Texture arrowRightHovered ;
38+ public final Texture tabSecondary ;
39+ public final Texture tabSecondaryActive ;
40+ public final Texture tabMain ;
41+ public final Texture tabMainActive ;
42+
2843 public QuestlogGuiSet (ResourceLocation backgroundLoc , ResourceLocation peripheralLoc ) {
2944 this .backgroundLoc = backgroundLoc ;
3045 this .peripheralLoc = peripheralLoc ;
46+ this .searchTabButtonsLoc = ResourceLocation .fromNamespaceAndPath (Questlog .MODID , "textures/gui/questlog_search_tab_buttons.png" );
47+
3148 this .detailBackground = new Texture (backgroundLoc , 1024 , 512 , 0 , 0 , 1024 , 512 );
3249 this .button = new Texture (peripheralLoc , 74 , 38 , 36 , 55 , 256 , 256 );
3350 this .buttonHovered = new Texture (peripheralLoc , 74 , 38 , 112 , 55 , 256 , 256 );
@@ -43,5 +60,20 @@ public QuestlogGuiSet(ResourceLocation backgroundLoc, ResourceLocation periphera
4360 new Texture (peripheralLoc , 16 , 1 , 62 , 19 , 256 , 256 ),
4461 new Texture (peripheralLoc , 16 , 1 , 62 , 21 , 256 , 256 )
4562 );
63+
64+ this .searchTabMinimized = new Texture (this .searchTabButtonsLoc , 28 , 18 , 17 , 21 , 256 , 256 );
65+ this .searchTabMinimizedHovered = new Texture (this .searchTabButtonsLoc , 28 , 18 , 77 , 21 , 256 , 256 );
66+ this .searchTabExpanded = new Texture (this .searchTabButtonsLoc , 193 , 18 , 32 , 78 , 256 , 256 );
67+ this .searchTabExpandedHovered = new Texture (this .searchTabButtonsLoc , 193 , 18 , 32 , 135 , 256 , 256 );
68+
69+ this .arrowLeft = new Texture (this .searchTabButtonsLoc , 8 , 13 , 11 , 180 , 256 , 256 );
70+ this .arrowLeftHovered = new Texture (this .searchTabButtonsLoc , 8 , 13 , 41 , 180 , 256 , 256 );
71+ this .arrowRight = new Texture (this .searchTabButtonsLoc , 8 , 13 , 12 , 209 , 256 , 256 );
72+ this .arrowRightHovered = new Texture (this .searchTabButtonsLoc , 8 , 13 , 42 , 209 , 256 , 256 );
73+
74+ this .tabSecondary = new Texture (this .searchTabButtonsLoc , 28 , 23 , 75 , 174 , 256 , 256 );
75+ this .tabSecondaryActive = new Texture (this .searchTabButtonsLoc , 28 , 29 , 75 , 208 , 256 , 256 );
76+ this .tabMain = new Texture (this .searchTabButtonsLoc , 28 , 23 , 131 , 174 , 256 , 256 );
77+ this .tabMainActive = new Texture (this .searchTabButtonsLoc , 28 , 29 , 131 , 208 , 256 , 256 );
4678 }
47- }
79+ }
0 commit comments