-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more helpers for drawing common recipe elements
- Loading branch information
Showing
34 changed files
with
387 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
Common/src/main/java/mezz/jei/common/gui/elements/DrawableAnimatedRecipeArrow.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package mezz.jei.common.gui.elements; | ||
|
||
import mezz.jei.api.gui.drawable.IDrawableStatic; | ||
import mezz.jei.api.helpers.IGuiHelper; | ||
import net.minecraft.client.gui.GuiGraphics; | ||
|
||
public class DrawableAnimatedRecipeArrow extends DrawableAnimated { | ||
private final IDrawableStatic blankArrow; | ||
|
||
public DrawableAnimatedRecipeArrow(IGuiHelper guiHelper, int ticksPerCycle) { | ||
super(guiHelper.getRecipeArrowFilled(), ticksPerCycle, StartDirection.LEFT, false); | ||
this.blankArrow = guiHelper.getRecipeArrow(); | ||
} | ||
|
||
@Override | ||
public void draw(GuiGraphics guiGraphics, int xOffset, int yOffset) { | ||
this.blankArrow.draw(guiGraphics, xOffset, yOffset); | ||
super.draw(guiGraphics, xOffset, yOffset); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
Common/src/main/java/mezz/jei/common/gui/elements/DrawableAnimatedRecipeFlame.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package mezz.jei.common.gui.elements; | ||
|
||
import mezz.jei.api.gui.drawable.IDrawableStatic; | ||
import mezz.jei.api.helpers.IGuiHelper; | ||
import net.minecraft.client.gui.GuiGraphics; | ||
|
||
public class DrawableAnimatedRecipeFlame extends DrawableAnimated { | ||
private final IDrawableStatic emptyFlame; | ||
|
||
public DrawableAnimatedRecipeFlame(IGuiHelper guiHelper, int ticksPerCycle) { | ||
super(guiHelper.getRecipeFlameFilled(), ticksPerCycle, StartDirection.TOP, true); | ||
this.emptyFlame = guiHelper.getRecipeFlameEmpty(); | ||
} | ||
|
||
@Override | ||
public void draw(GuiGraphics guiGraphics, int xOffset, int yOffset) { | ||
this.emptyFlame.draw(guiGraphics, xOffset, yOffset); | ||
super.draw(guiGraphics, xOffset, yOffset); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+118 Bytes
...on/src/main/resources/assets/jei/textures/jei/atlas/gui/brewing_stand_arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+407 Bytes
...c/main/resources/assets/jei/textures/jei/atlas/gui/brewing_stand_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+166 Bytes
...c/main/resources/assets/jei/textures/jei/atlas/gui/brewing_stand_blaze_heat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+161 Bytes
.../src/main/resources/assets/jei/textures/jei/atlas/gui/brewing_stand_bubbles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+179 Bytes
Common/src/main/resources/assets/jei/textures/jei/atlas/gui/icons/flame_empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+133 Bytes
Common/src/main/resources/assets/jei/textures/jei/atlas/gui/output_slot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+40 Bytes
(130%)
Common/src/main/resources/assets/jei/textures/jei/atlas/gui/recipe_arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+184 Bytes
...on/src/main/resources/assets/jei/textures/jei/atlas/gui/recipe_arrow_filled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+127 Bytes
Common/src/main/resources/assets/jei/textures/jei/atlas/gui/recipe_plus_sign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-1.61 KB
Common/src/main/resources/assets/jei/textures/jei/gui/gui_vanilla.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.