11package  mezz .jei .common .gui .textures ;
22
3- import  mezz .jei .api .gui .drawable .IDrawable ;
4- import  mezz .jei .common .gui .elements .HighResolutionDrawable ;
5- import  net .minecraft .resources .ResourceLocation ;
6- 
73import  mezz .jei .api .constants .ModIds ;
4+ import  mezz .jei .api .gui .drawable .IDrawable ;
85import  mezz .jei .api .gui .drawable .IDrawableStatic ;
96import  mezz .jei .common .gui .elements .DrawableNineSliceTexture ;
107import  mezz .jei .common .gui .elements .DrawableSprite ;
8+ import  mezz .jei .common .gui .elements .HighResolutionDrawable ;
9+ import  net .minecraft .resources .ResourceLocation ;
1110
1211public  class  Textures  {
1312	private  final  JeiSpriteUploader  spriteUploader ;
1413
1514	private  final  IDrawableStatic  slot ;
15+ 	private  final  IDrawableStatic  outputSlot ;
1616	private  final  DrawableNineSliceTexture  recipeCatalystSlotBackground ;
1717	private  final  DrawableNineSliceTexture  ingredientListSlotBackground ;
1818	private  final  DrawableNineSliceTexture  bookmarkListSlotBackground ;
@@ -45,14 +45,23 @@ public class Textures {
4545	private  final  DrawableNineSliceTexture  catalystTab ;
4646	private  final  DrawableNineSliceTexture  recipeOptionsTab ;
4747	private  final  IDrawableStatic  flameIcon ;
48+ 	private  final  IDrawableStatic  flameEmptyIcon ;
4849	private  final  IDrawableStatic  recipeArrow ;
50+ 	private  final  IDrawableStatic  recipeArrowFilled ;
51+ 	private  final  IDrawableStatic  recipePlusSign ;
4952	private  final  IDrawableStatic  bookmarksFirst ;
5053	private  final  IDrawableStatic  craftableFirst ;
5154
55+ 	private  final  IDrawableStatic  brewingStandBackground ;
56+ 	private  final  IDrawableStatic  brewingStandBlazeHeat ;
57+ 	private  final  IDrawableStatic  brewingStandBubbles ;
58+ 	private  final  IDrawableStatic  brewingStandArrow ;
59+ 
5260	public  Textures (JeiSpriteUploader  spriteUploader ) {
5361		this .spriteUploader  = spriteUploader ;
5462
5563		this .slot  = createGuiSprite ("slot" , 18 , 18 );
64+ 		this .outputSlot  = createGuiSprite ("output_slot" , 26 , 26 );
5665		this .recipeCatalystSlotBackground  = createNineSliceGuiSprite ("recipe_catalyst_slot_background" , 18 , 18 , 4 , 4 , 4 , 4 );
5766		this .ingredientListSlotBackground  = createNineSliceGuiSprite ("ingredient_list_slot_background" , 18 , 18 , 4 , 4 , 4 , 4 );
5867		this .bookmarkListSlotBackground  = createNineSliceGuiSprite ("bookmark_list_slot_background" , 18 , 18 , 4 , 4 , 4 , 4 );
@@ -73,7 +82,14 @@ public Textures(JeiSpriteUploader spriteUploader) {
7382		this .scrollbarMarker  = createNineSliceGuiSprite ("scrollbar_marker" , 12 , 15 , 2 , 2 , 2 , 1 );
7483		this .catalystTab  = createNineSliceGuiSprite ("catalyst_tab" , 28 , 28 , 8 , 9 , 8 , 8 );
7584		this .recipeOptionsTab  = createNineSliceGuiSprite ("recipe_options_tab" , 28 , 28 , 8 , 9 , 8 , 8 );
76- 		this .recipeArrow  = createGuiSprite ("recipe_arrow" , 22 , 15 );
85+ 		this .recipeArrow  = createGuiSprite ("recipe_arrow" , 22 , 16 );
86+ 		this .recipeArrowFilled  = createGuiSprite ("recipe_arrow_filled" , 22 , 16 );
87+ 		this .recipePlusSign  = createGuiSprite ("recipe_plus_sign" , 13 , 13 );
88+ 
89+ 		this .brewingStandBackground  = createGuiSprite ("brewing_stand_background" , 64 , 60 );
90+ 		this .brewingStandBlazeHeat  = createGuiSprite ("brewing_stand_blaze_heat" , 18 , 4 );
91+ 		this .brewingStandBubbles  = createGuiSprite ("brewing_stand_bubbles" , 11 , 28 );
92+ 		this .brewingStandArrow  = createGuiSprite ("brewing_stand_arrow" , 7 , 27 );
7793
7894		DrawableSprite  rawShapelessIcon  = createGuiSprite ("icons/shapeless_icon" , 36 , 36 )
7995			.trim (1 , 2 , 1 , 1 );
@@ -91,6 +107,7 @@ public Textures(JeiSpriteUploader spriteUploader) {
91107		this .bookmarkButtonEnabledIcon  = createGuiSprite ("icons/bookmark_button_enabled" , 16 , 16 );
92108		this .infoIcon  = createGuiSprite ("icons/info" , 16 , 16 );
93109		this .flameIcon  = createGuiSprite ("icons/flame" , 14 , 14 );
110+ 		this .flameEmptyIcon  = createGuiSprite ("icons/flame_empty" , 14 , 14 );
94111		this .bookmarksFirst  = createGuiSprite ("icons/bookmarks_first" , 16 , 16 );
95112		this .craftableFirst  = createGuiSprite ("icons/craftable_first" , 16 , 16 );
96113	}
@@ -109,10 +126,14 @@ private DrawableNineSliceTexture createNineSliceGuiSprite(String name, int width
109126		return  new  DrawableNineSliceTexture (spriteUploader , location , width , height , left , right , top , bottom );
110127	}
111128
112- 	public  IDrawableStatic  getSlotDrawable () {
129+ 	public  IDrawableStatic  getSlot () {
113130		return  slot ;
114131	}
115132
133+ 	public  IDrawableStatic  getOutputSlot () {
134+ 		return  outputSlot ;
135+ 	}
136+ 
116137	public  IDrawableStatic  getTabSelected () {
117138		return  tabSelected ;
118139	}
@@ -213,6 +234,14 @@ public IDrawableStatic getRecipeArrow() {
213234		return  recipeArrow ;
214235	}
215236
237+ 	public  IDrawableStatic  getRecipeArrowFilled () {
238+ 		return  recipeArrowFilled ;
239+ 	}
240+ 
241+ 	public  IDrawableStatic  getRecipePlusSign () {
242+ 		return  recipePlusSign ;
243+ 	}
244+ 
216245	public  DrawableNineSliceTexture  getRecipeCatalystSlotBackground () {
217246		return  recipeCatalystSlotBackground ;
218247	}
@@ -229,6 +258,10 @@ public IDrawableStatic getFlameIcon() {
229258		return  flameIcon ;
230259	}
231260
261+ 	public  IDrawableStatic  getFlameEmptyIcon () {
262+ 		return  flameEmptyIcon ;
263+ 	}
264+ 
232265	public  IDrawable  getRecipeBookmark () {
233266		return  recipeBookmark ;
234267	}
@@ -241,6 +274,22 @@ public DrawableNineSliceTexture getScrollbarBackground() {
241274		return  scrollbarBackground ;
242275	}
243276
277+ 	public  IDrawableStatic  getBrewingStandBackground () {
278+ 		return  brewingStandBackground ;
279+ 	}
280+ 
281+ 	public  IDrawableStatic  getBrewingStandBlazeHeat () {
282+ 		return  brewingStandBlazeHeat ;
283+ 	}
284+ 
285+ 	public  IDrawableStatic  getBrewingStandBubbles () {
286+ 		return  brewingStandBubbles ;
287+ 	}
288+ 
289+ 	public  IDrawableStatic  getBrewingStandArrow () {
290+ 		return  brewingStandArrow ;
291+ 	}
292+ 
244293	public  JeiSpriteUploader  getSpriteUploader () {
245294		return  spriteUploader ;
246295	}
0 commit comments