aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/impl/widgets/BurningFireWidget.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-03-19 04:30:52 +0800
committershedaniel <daniel@shedaniel.me>2020-03-19 04:30:52 +0800
commit1f6fc41eaebc3c565bef12606ff98a076fc32e89 (patch)
tree33a5c1cd135f6c5ecd8b85fd602bd8c290cf9fb7 /src/main/java/me/shedaniel/rei/impl/widgets/BurningFireWidget.java
parent1764648e4f536b2e6ac1b7d1cb3c3fb60e206b29 (diff)
downloadRoughlyEnoughItems-1f6fc41eaebc3c565bef12606ff98a076fc32e89.tar.gz
RoughlyEnoughItems-1f6fc41eaebc3c565bef12606ff98a076fc32e89.tar.bz2
RoughlyEnoughItems-1f6fc41eaebc3c565bef12606ff98a076fc32e89.zip
20w12a
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/widgets/BurningFireWidget.java')
-rw-r--r--src/main/java/me/shedaniel/rei/impl/widgets/BurningFireWidget.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/widgets/BurningFireWidget.java b/src/main/java/me/shedaniel/rei/impl/widgets/BurningFireWidget.java
index 238162a56..d7bdb93bb 100644
--- a/src/main/java/me/shedaniel/rei/impl/widgets/BurningFireWidget.java
+++ b/src/main/java/me/shedaniel/rei/impl/widgets/BurningFireWidget.java
@@ -65,10 +65,10 @@ public final class BurningFireWidget extends BurningFire {
@Override
public void render(int mouseX, int mouseY, float delta) {
MinecraftClient.getInstance().getTextureManager().bindTexture(DefaultPlugin.getDisplayTexture());
- blit(getX(), getY(), 1, 74, 14, 14);
+ drawTexture(getX(), getY(), 1, 74, 14, 14);
if (getAnimationDuration() > 0) {
int height = 14 - MathHelper.ceil((System.currentTimeMillis() / (animationDuration / 14) % 14d) / 1f);
- blit(getX(), getY() + 14 - height, 82, 77 + (14 - height), 14, height);
+ drawTexture(getX(), getY() + 14 - height, 82, 77 + (14 - height), 14, height);
}
}