mezz.jei.api.gui.IDrawableStatic Java Examples
The following examples show how to use
mezz.jei.api.gui.IDrawableStatic.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GTJeiMultiRecipeCategory.java From GT-Classic with GNU Lesser General Public License v3.0 | 5 votes |
public GTJeiMultiRecipeCategory(IGuiHelper helper, String name, Block block) { this.name = name; displayName = new ItemStack(block).getDisplayName().replace(" Controller", ""); backgroundTexture = new ResourceLocation(GTMod.MODID, "textures/gui/default.png"); background = helper.createDrawable(backgroundTexture, 16, 16, 144, getHeight()); IDrawableStatic progressPic = helper.createDrawable(backgroundTexture, 176, 0, 20, 18); progress = helper.createAnimatedDrawable(progressPic, 150, IDrawableAnimated.StartDirection.LEFT, false); }
Example #2
Source File: GTJeiMagicFuelCategory.java From GT-Classic with GNU Lesser General Public License v3.0 | 5 votes |
public GTJeiMagicFuelCategory(IGuiHelper helper, String name, Block block) { this.name = name; displayName = "Magic Fuel"; backgroundTexture = new ResourceLocation(GTMod.MODID, "textures/gui/default.png"); background = helper.createDrawable(backgroundTexture, 16, 16, 144, getHeight()); IDrawableStatic progressPic = helper.createDrawable(backgroundTexture, 176, 0, 20, 18); progress = helper.createAnimatedDrawable(progressPic, 150, IDrawableAnimated.StartDirection.LEFT, false); }
Example #3
Source File: GTJeiUUAmplifierCategory.java From GT-Classic with GNU Lesser General Public License v3.0 | 5 votes |
public GTJeiUUAmplifierCategory(IGuiHelper helper, String name, Block block) { this.name = name; displayName = "UU-Matter Amplification"; backgroundTexture = new ResourceLocation(GTMod.MODID, "textures/gui/default.png"); background = helper.createDrawable(backgroundTexture, 16, 16, 144, getHeight()); IDrawableStatic progressPic = helper.createDrawable(backgroundTexture, 176, 0, 20, 18); progress = helper.createAnimatedDrawable(progressPic, 150, IDrawableAnimated.StartDirection.LEFT, false); }