@SubscribeEvent @SideOnly(Side.CLIENT) public void onPotionShiftEvent(PotionShiftEvent event) { if (!this.shouldDisplayGuiOverlay(event.getGui())) { return; } this.getGuiOverlay().setPotionShiftState(true); }
@SubscribeEvent public void potionShiftEvent(PotionShiftEvent event) { event.setCanceled(true); }