Interface LogReader<T>

All Superinterfaces:
AutoCloseable, Closeable

public interface LogReader<T> extends Closeable
Mappings:
Namespace Name
official bac
intermediary net/minecraft/class_7936
named net/minecraft/util/logging/LogReader
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> LogReader<T>
    create(com.mojang.serialization.Codec<T> codec, Reader reader)
     
     

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • create

      static <T> LogReader<T> create(com.mojang.serialization.Codec<T> codec, Reader reader)
      Mappings:
      Namespace Name Mixin selector
      official a Lbac;a(Lcom/mojang/serialization/Codec;Ljava/io/Reader;)Lbac;
      intermediary method_47571 Lnet/minecraft/class_7936;method_47571(Lcom/mojang/serialization/Codec;Ljava/io/Reader;)Lnet/minecraft/class_7936;
      named create Lnet/minecraft/util/logging/LogReader;create(Lcom/mojang/serialization/Codec;Ljava/io/Reader;)Lnet/minecraft/util/logging/LogReader;
    • read

      @Nullable T read() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbac;a()Ljava/lang/Object;
      intermediary method_47570 Lnet/minecraft/class_7936;method_47570()Ljava/lang/Object;
      named read Lnet/minecraft/util/logging/LogReader;read()Ljava/lang/Object;