Interface PayloadCodecs.Factory
- 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.
Builds the codec of a generic type from its type arguments.
-
Method Summary
Modifier and TypeMethodDescriptionStreamCodec<? super net.minecraft.network.FriendlyByteBuf,?> create(Type[] typeArguments, PayloadCodecs.Lookup lookup)
-
Method Details
-
create
StreamCodec<? super net.minecraft.network.FriendlyByteBuf,?> create(Type[] typeArguments, PayloadCodecs.Lookup lookup)
-