Class NetworkInitialization

java.lang.Object
net.minecraftforge.network.NetworkInitialization

@Internal public class NetworkInitialization extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • MARKER

      private static final org.apache.logging.log4j.Marker MARKER
    • LOGIN_NAME

      public static final ResourceLocation LOGIN_NAME
    • HANDSHAKE_NAME

      public static final ResourceLocation HANDSHAKE_NAME
    • PLAY_NAME

      public static final ResourceLocation PLAY_NAME
    • CONTEXT

      public static final io.netty.util.AttributeKey<ForgePacketHandler> CONTEXT
    • LOGIN

      public static SimpleChannel LOGIN
    • PLAY

      public static SimpleChannel PLAY
  • Constructor Details

    • NetworkInitialization

      public NetworkInitialization()
  • Method Details

    • init

      public static void init()
    • getVersion

      public static int getVersion()