@SubscribeEvent(priority = EventPriority.NORMAL)
	public void onRenderOverlay(RenderGameOverlayEvent.Post event) {
        /*
        if (event.getType() != RenderGameOverlayEvent.ElementType.CROSSHAIRS) {
            return;
        }
        FIXME: still needed? if so, search for ported way
         */
		ItemStack activeStack = mc.player.getUseItem();
		if (activeStack.getItem() instanceof ModularCrossbowItem) {
			ModularCrossbowItem item = (ModularCrossbowItem) activeStack.getItem();
			gui.setProgress(item.getProgress(activeStack, mc.player), 0);
		} else {
			gui.setProgress(0, 0);
		}
		gui.draw();
	}
@SubscribeEvent(priority = EventPriority.NORMAL)
	public void onRenderOverlay(RenderGameOverlayEvent.Post event) {
       
		ItemStack activeStack = mc.player.getUseItem();
		if (activeStack.getItem() instanceof ModularCrossbowItem) {
			ModularCrossbowItem item = (ModularCrossbowItem) activeStack.getItem();
			gui.setProgress(item.getProgress(activeStack, mc.player), 0);
		} else {
			gui.setProgress(0, 0);
		}
		gui.draw();
	}
@subscribeevent(priority = eventpriority.normal) public void onrenderoverlay(rendergameoverlayevent.post event) { itemstack activestack = mc.player.getuseitem(); if (activestack.getitem() instanceof modularcrossbowitem) { modularcrossbowitem item = (modularcrossbowitem) activestack.getitem(); gui.setprogress(item.getprogress(activestack, mc.player), 0); } else { gui.setprogress(0, 0); } gui.draw(); }