Class ServerSubscriber

java.lang.Object
com.hammy275.immersivemc.server.ServerSubscriber

public class ServerSubscriber extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraft.server.MinecraftServer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onPlayerJoin(net.minecraft.world.entity.player.Player player)
     
    static void
    onPlayerLeave(net.minecraft.world.entity.player.Player playerIn)
     
    static void
    onPlayerTick(net.minecraft.world.entity.player.Player playerIn)
     
    static void
    onServerTick(net.minecraft.server.MinecraftServer server)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • server

      public static net.minecraft.server.MinecraftServer server
  • Constructor Details

    • ServerSubscriber

      public ServerSubscriber()
  • Method Details

    • onServerTick

      public static void onServerTick(net.minecraft.server.MinecraftServer server)
    • onPlayerTick

      public static void onPlayerTick(net.minecraft.world.entity.player.Player playerIn)
    • onPlayerJoin

      public static void onPlayerJoin(net.minecraft.world.entity.player.Player player)
    • onPlayerLeave

      public static void onPlayerLeave(net.minecraft.world.entity.player.Player playerIn)