Class PacketContext

java.lang.Object
my.celium.org.network.PacketContext

public final class PacketContext extends Object
Context for a received packet. Handlers always run on the game thread: the loader wiring schedules them there - so handlers may touch game state.
  • Constructor Details

    • PacketContext

      public PacketContext(PacketDirection direction, net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer sender)
  • Method Details