Interface NetworkState.Factory.PacketTypeConsumer

Enclosing interface:
NetworkState.Factory<T extends PacketListener,B extends ByteBuf>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface NetworkState.Factory.PacketTypeConsumer
Mappings:
Namespace Name
named net/minecraft/network/NetworkState$Factory$PacketTypeConsumer
intermediary net/minecraft/class_9127$class_9128$class_9828
official xd$a$a
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(PacketType<?> type, int protocolId)
     
  • Method Details

    • accept

      void accept(PacketType<?> type, int protocolId)
      Mappings:
      Namespace Name Mixin selector
      named accept Lnet/minecraft/network/NetworkState$Factory$PacketTypeConsumer;accept(Lnet/minecraft/network/packet/PacketType;I)V
      intermediary accept Lnet/minecraft/class_9127$class_9128$class_9828;accept(Lnet/minecraft/class_9145;I)V
      official accept Lxd$a$a;accept(Laae;I)V