Interface PacketReader<T extends Packet<?>>

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 PacketReader<T extends Packet<?>>
  • Method Summary

    Modifier and Type
    Method
    Description
    read(net.minecraft.network.RegistryFriendlyByteBuf buffer)
     
  • Method Details

    • read

      T read(net.minecraft.network.RegistryFriendlyByteBuf buffer)