Class PlayerTickEvent.Pre

Enclosing class:
PlayerTickEvent

public static class PlayerTickEvent.Pre extends PlayerTickEvent
PlayerTickEvent.Pre is fired once per game tick, per player, before the player performs work for the current tick.

This event will fire on both the logical server and logical client, for subclasses of Player on their respective sides.

As such, be sure to check Level.isClientSide() before performing any operations.

  • Constructor Details

    • Pre

      public Pre(Player player)