Interface Metadata.Entry<T>

All Superinterfaces:
NetworkBuffer.Writer
Enclosing class:
Metadata

public static sealed interface Metadata.Entry<T> extends NetworkBuffer.Writer
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull Metadata.Entry<?>
    read(int type, @NotNull NetworkBuffer reader)
     
    int
     
    @UnknownNullability T
     

    Methods inherited from interface net.minestom.server.network.NetworkBuffer.Writer

    write
  • Method Details

    • type

      int type()
    • value

      @UnknownNullability T value()
    • read

      @Internal @NotNull static @NotNull Metadata.Entry<?> read(int type, @NotNull @NotNull NetworkBuffer reader)