Source File: EventsCommon.java From Valkyrien-Skies with Apache License 2.0 6 votes @SubscribeEvent(priority = EventPriority.HIGHEST) public void onPlayerTickEvent(PlayerTickEvent event) { if (!event.player.world.isRemote) { EntityPlayerMP p = (EntityPlayerMP) event.player; double[] pos = ...