Interface ClientPacketContext

All Superinterfaces:
PacketContext

public interface ClientPacketContext extends PacketContext
Context for client-side packet handling.
  • Method Details

    • client

      net.minecraft.client.Minecraft client()
      Returns:
      The Minecraft client instance
    • player

      @Nullable @Nullable net.minecraft.client.player.LocalPlayer player()
      Specified by:
      player in interface PacketContext
      Returns:
      The player that received the payload