Interface PayloadCodecs.Lookup

Enclosing class:
PayloadCodecs
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 PayloadCodecs.Lookup
Resolves the codecs of type arguments inside a PayloadCodecs.Factory.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, Object>
    get(Type type)
     
  • Method Details

    • get

      net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, Object> get(Type type)