Improvements and fixes (#15)

* Improvements and fixes

* Add config option not to search in EnderIO conduits
This commit is contained in:
Oleg Ivanov authored and GitHub committed 2024-05-22 19:28:12 +02:00
1 parent 4a11c18f99
commit 41e2db4644
15 files changed
+486 -181

No files matched your search

@@ -53,10 +53,10 @@ public class SlotHighlighter implements IContainerDrawHandler {
@Override
public void renderSlotUnderlay(GuiContainer gui, Slot slot) {
if (this.gui == gui && this.slots.contains(slot)) {
GL11.glPushMatrix();
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glDisable(GL11.GL_ALPHA_TEST);
GL11.glShadeModel(GL11.GL_SMOOTH);
GL11.glEnable(GL11.GL_BLEND);
@@ -74,6 +74,7 @@ public class SlotHighlighter implements IContainerDrawHandler {
GL11.glShadeModel(GL11.GL_FLAT);
GL11.glDisable(GL11.GL_BLEND);
GL11.glEnable(GL11.GL_ALPHA_TEST);
GL11.glEnable(GL11.GL_LIGHTING);
GL11.glPopMatrix();
}