Interface PacketCodecModifier<B,V,C>

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 interface PacketCodecModifier<B,V,C>
Mappings:
Namespace Name
named net/minecraft/network/packet/PacketCodecModifier
intermediary net/minecraft/class_10945
official zv
  • Method Summary

    Modifier and Type
    Method
    Description
    PacketCodec<? super B,V>
    apply(PacketCodec<? super B,V> packetCodec, C context)
     
  • Method Details

    • apply

      PacketCodec<? super B,V> apply(PacketCodec<? super B,V> packetCodec, C context)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/PacketCodecModifier;apply(Lnet/minecraft/network/codec/PacketCodec;Ljava/lang/Object;)Lnet/minecraft/network/codec/PacketCodec;
      intermediary apply Lnet/minecraft/class_10945;apply(Lnet/minecraft/class_9139;Ljava/lang/Object;)Lnet/minecraft/class_9139;
      official apply Lzv;apply(Lzm;Ljava/lang/Object;)Lzm;