Class ActiveMinecraftConnection

java.lang.Object
alexiil.mc.lib.net.ActiveConnection
alexiil.mc.lib.net.BufferedConnection
alexiil.mc.lib.net.impl.ActiveMinecraftConnection
Direct Known Subclasses:
ActiveClientConnection, ActiveServerConnection

public abstract class ActiveMinecraftConnection
extends BufferedConnection
A connection to the other side - this is either an ActiveClientConnection or an ActiveServerConnection.
  • Field Details

    • PACKET_ID

      public static final net.minecraft.util.Identifier PACKET_ID
    • ctx

      @Deprecated public final net.fabricmc.fabric.api.network.PacketContext ctx
      Deprecated.
      Replaced by the specific methods (getPlayer(), getNetSide(), and )
  • Constructor Details

  • Method Details