diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-03-19 04:30:52 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-03-19 04:30:52 +0800 |
| commit | 1f6fc41eaebc3c565bef12606ff98a076fc32e89 (patch) | |
| tree | 33a5c1cd135f6c5ecd8b85fd602bd8c290cf9fb7 /src/main/java/me/shedaniel/rei/plugin/brewing | |
| parent | 1764648e4f536b2e6ac1b7d1cb3c3fb60e206b29 (diff) | |
| download | RoughlyEnoughItems-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/plugin/brewing')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java b/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java index c758886e0..2c5590822 100644 --- a/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java +++ b/src/main/java/me/shedaniel/rei/plugin/brewing/DefaultBrewingCategory.java @@ -64,9 +64,9 @@ public class DefaultBrewingCategory implements RecipeCategory<DefaultBrewingDisp widgets.add(Widgets.createRecipeBase(bounds)); widgets.add(Widgets.createDrawableWidget((helper, mouseX, mouseY, delta) -> { MinecraftClient.getInstance().getTextureManager().bindTexture(DefaultPlugin.getDisplayTexture()); - helper.blit(startPoint.x, startPoint.y, 0, 108, 103, 59); + helper.drawTexture(startPoint.x, startPoint.y, 0, 108, 103, 59); int width = MathHelper.ceil(System.currentTimeMillis() / 250d % 18d); - helper.blit(startPoint.x + 44, startPoint.y + 28, 103, 163, width, 4); + helper.drawTexture(startPoint.x + 44, startPoint.y + 28, 103, 163, width, 4); })); widgets.add(Widgets.createSlot(new Point(startPoint.x + 1, startPoint.y + 1)).entry(EntryStack.create(Items.BLAZE_POWDER)).disableBackground().markInput()); widgets.add(Widgets.createSlot(new Point(startPoint.x + 40, startPoint.y + 1)).entries(display.getInputEntries().get(0)).disableBackground().markInput()); |
