Class CustomPlayerTickable

java.lang.Object
com.jubiman.customplayerlib.CustomPlayer
com.jubiman.customplayerlib.CustomPlayerTickable
All Implemented Interfaces:
ITickable

public abstract class CustomPlayerTickable extends CustomPlayer implements ITickable
The tickable variant of a CustomPlayer. Ticks are automatically called, no need for patches
  • Constructor Details

    • CustomPlayerTickable

      public CustomPlayerTickable(long auth)
      Creates new tickable CustomPlayer
      Parameters:
      auth - the authentication of the player
  • Method Details

    • serverTick

      public abstract void serverTick(necesse.engine.network.server.Server server)
      Performs a server tick
      Specified by:
      serverTick in interface ITickable
      Parameters:
      server - the server to tick on
    • clientTick

      public abstract void clientTick(necesse.engine.network.client.Client client)
      Performs a client tick
      Specified by:
      clientTick in interface ITickable
      Parameters:
      client - the client to tick on