mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-20 12:19:39 +00:00
replace inventory render events
This commit is contained in:
1 parent
1b37d3b634
commit
77276f33cb
4 files changed
+16
-23
No files matched your search
@@ -1,6 +1,5 @@
|
||||
package fox.spiteful.avaritia.render;
|
||||
|
||||
import net.minecraftforge.client.event.GuiScreenEvent;
|
||||
import net.minecraftforge.client.event.TextureStitchEvent;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
@@ -33,14 +32,4 @@ public class LudicrousRenderEvents {
|
||||
ModelArmorInfinity.armorModel.rebuildOverlay();
|
||||
ModelArmorInfinity.legModel.rebuildOverlay();
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void makeCosmicStuffLessDumbInGUIs(GuiScreenEvent.DrawScreenEvent.Pre event) {
|
||||
CosmicRenderShenanigans.inventoryRender = true;
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void finishMakingCosmicStuffLessDumbInGUIs(GuiScreenEvent.DrawScreenEvent.Post event) {
|
||||
CosmicRenderShenanigans.inventoryRender = false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user