Interface NetworkState.Factory<T extends PacketListener,B extends ByteBuf>

Enclosing interface:
NetworkState<T extends PacketListener>

public static interface NetworkState.Factory<T extends PacketListener,B extends ByteBuf>
Mappings:
Namespace Name
named net/minecraft/network/NetworkState$Factory
intermediary net/minecraft/class_9127$class_9128
official wh$a
  • Method Details

    • bind

      NetworkState<T> bind(Function<ByteBuf,B> registryBinder)
      Mappings:
      Namespace Name Mixin selector
      named bind Lnet/minecraft/network/NetworkState$Factory;bind(Ljava/util/function/Function;)Lnet/minecraft/network/NetworkState;
      intermediary method_61107 Lnet/minecraft/class_9127$class_9128;method_61107(Ljava/util/function/Function;)Lnet/minecraft/class_9127;
      official a Lwh$a;a(Ljava/util/function/Function;)Lwh;
    • phase

      NetworkPhase phase()
      Mappings:
      Namespace Name Mixin selector
      named phase Lnet/minecraft/network/NetworkState$Factory;phase()Lnet/minecraft/network/NetworkPhase;
      intermediary method_61106 Lnet/minecraft/class_9127$class_9128;method_61106()Lnet/minecraft/class_2539;
      official a Lwh$a;a()Lvu;
    • side

      NetworkSide side()
      Mappings:
      Namespace Name Mixin selector
      named side Lnet/minecraft/network/NetworkState$Factory;side()Lnet/minecraft/network/NetworkSide;
      intermediary method_61109 Lnet/minecraft/class_9127$class_9128;method_61109()Lnet/minecraft/class_2598;
      official b Lwh$a;b()Lzh;
    • forEachPacketType

      void forEachPacketType(NetworkState.Factory.PacketTypeConsumer callback)
      Mappings:
      Namespace Name Mixin selector
      named forEachPacketType Lnet/minecraft/network/NetworkState$Factory;forEachPacketType(Lnet/minecraft/network/NetworkState$Factory$PacketTypeConsumer;)V
      intermediary method_61108 Lnet/minecraft/class_9127$class_9128;method_61108(Lnet/minecraft/class_9127$class_9128$class_9828;)V
      official a Lwh$a;a(Lwh$a$a;)V