diff options
| author | shedaniel <daniel@shedaniel.me> | 2019-12-07 18:57:27 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2019-12-07 18:57:27 +0800 |
| commit | 7d145d3265d1de8daaccc13e8a50aa8930706790 (patch) | |
| tree | c0b028a5bd20a9b15b5334e3c39e5e6a4d50cc81 /src/main/java/me/shedaniel/rei/gui/entries/SimpleRecipeEntry.java | |
| parent | a5ede4908ce20a76bec665e27fec20acdf716476 (diff) | |
| download | RoughlyEnoughItems-7d145d3265d1de8daaccc13e8a50aa8930706790.tar.gz RoughlyEnoughItems-7d145d3265d1de8daaccc13e8a50aa8930706790.tar.bz2 RoughlyEnoughItems-7d145d3265d1de8daaccc13e8a50aa8930706790.zip | |
3.2.15
Fix #199
Close #195
Close #138
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/entries/SimpleRecipeEntry.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/entries/SimpleRecipeEntry.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/entries/SimpleRecipeEntry.java b/src/main/java/me/shedaniel/rei/gui/entries/SimpleRecipeEntry.java index f9b35ea3e..8404d0244 100644 --- a/src/main/java/me/shedaniel/rei/gui/entries/SimpleRecipeEntry.java +++ b/src/main/java/me/shedaniel/rei/gui/entries/SimpleRecipeEntry.java @@ -12,7 +12,7 @@ import me.shedaniel.rei.gui.widget.EntryWidget; import me.shedaniel.rei.gui.widget.QueuedTooltip; import me.shedaniel.rei.utils.CollectionUtils; import net.minecraft.client.MinecraftClient; -import net.minecraft.client.render.GuiLighting; +import net.minecraft.client.render.DiffuseLighting; import net.minecraft.util.Identifier; import net.minecraft.util.Pair; import net.minecraft.util.math.MathHelper; @@ -95,7 +95,7 @@ public class SimpleRecipeEntry extends RecipeEntry { } xx = bounds.x + 4 + 18 * (getItemsPerLine() - 2); yy = bounds.y + getHeight() / 2 - 8; - GuiLighting.disable(); + DiffuseLighting.disable(); MinecraftClient.getInstance().getTextureManager().bindTexture(CHEST_GUI_TEXTURE); blit(xx, yy, 0, 28, 18, 18); xx += 18; |
