Interface NetworkStateMixin.PacketHandlerInitializerAccess

Enclosing class:
NetworkStateMixin

public static interface NetworkStateMixin.PacketHandlerInitializerAccess
Allows access to a map of packet handlers.
Since:
1.7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<net.minecraft.network.NetworkSide,net.minecraft.network.NetworkState.PacketHandler<?>>
    Returns a map of network sides and packet handlers.
  • Method Details

    • getPacketHandlers

      Map<net.minecraft.network.NetworkSide,net.minecraft.network.NetworkState.PacketHandler<?>> getPacketHandlers()
      Returns a map of network sides and packet handlers.
      Returns:
      A map of network sides and packet handlers.
      Since:
      1.7.0