Well yeah so I tried this:
@SubscribeEvent
public void eventHandleri(RenderGameOverlayEvent event)
{
if(event.type != ElementType.ALL)
{
if(event.type != ElementType.BOSSHEALTH)
{
if(event.type == ElementType.CROSSHAIRS)
{
event.setCanceled(true);
}
}
}
}
and I get this:
Am I doing it wrong, or is this a bug? I am using forge 10.13.3.1358.
So yeah, the title.
Of course you can't get the held item on the client side, since that is server sided. So how do I do this? I'm guessing there is just something simple I'm overlooking, right? (I need this
for the RenderGameOverlayEvent).