Files
CustomNPC-Plus/src/main/java/noppes/npcs/client/ClientEventHandler.java
T

14 lines
487 B
Java
Raw Normal View History

2018-09-13 12:03:28 -04:00
package noppes.npcs.client;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.client.event.RenderGameOverlayEvent;
import noppes.npcs.client.gui.customoverlay.OverlayCustom;
2018-09-13 12:03:28 -04:00
public class ClientEventHandler {
@SubscribeEvent
public void onOverlayRender(RenderGameOverlayEvent.Pre event){
for(OverlayCustom overlayCustom : Client.customOverlays.values()){
overlayCustom.renderGameOverlay(event.partialTicks);
}
}
2018-09-13 12:03:28 -04:00
}