Class PingPongPacketSync

All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class PingPongPacketSync extends PingPongPacketAsync
Debug ping pong packet
  • Field Details

    • ID

      public static final net.minecraft.resources.ResourceLocation ID
  • Constructor Details

    • PingPongPacketSync

      public PingPongPacketSync()
      Empty packet.
    • PingPongPacketSync

      public PingPongPacketSync(int remaining)
  • Method Details

    • newPacket

      protected PingPongPacketAsync newPacket()
      Overrides:
      newPacket in class PingPongPacketAsync
    • isAsync

      public boolean isAsync()
      Overrides:
      isAsync in class PingPongPacketAsync
      Returns:
      If this packet can run on a thread other than the main-thread of Minecraft. If this is asynchronous, the player parameter inside the action is not guaranteed to be defined.