Class NetworkDiagnosticsSubscribePacket

java.lang.Object
org.cyclops.cyclopscore.network.PacketBase
org.cyclops.cyclopscore.network.PacketCodec
org.cyclops.integrateddynamics.network.packet.NetworkDiagnosticsSubscribePacket

public class NetworkDiagnosticsSubscribePacket extends org.cyclops.cyclopscore.network.PacketCodec
Packet for subscribing a player to network diagnostics updates.
  • Constructor Details

    • NetworkDiagnosticsSubscribePacket

      public NetworkDiagnosticsSubscribePacket()
    • NetworkDiagnosticsSubscribePacket

      public NetworkDiagnosticsSubscribePacket(boolean subscribe)
  • Method Details

    • isAsync

      public boolean isAsync()
      Specified by:
      isAsync in class org.cyclops.cyclopscore.network.PacketBase
    • actionClient

      public void actionClient(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player)
      Specified by:
      actionClient in class org.cyclops.cyclopscore.network.PacketBase
    • actionServer

      public void actionServer(net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player)
      Specified by:
      actionServer in class org.cyclops.cyclopscore.network.PacketBase
    • subscribe

      public static NetworkDiagnosticsSubscribePacket subscribe()
    • unsubscribe

      public static NetworkDiagnosticsSubscribePacket unsubscribe()