net.minecraft.util.eventlog

public class JsonEventLog<T>

implements Closeable

bol
net.minecraft.util.eventlog.JsonEventLog
net.minecraft.class_7935
net.minecraft.util.logging.LogWriter

Field summary

Modifier and TypeField
private static final com.google.gson.Gson
a
GSON
field_41295
GSON
private final com.mojang.serialization.Codec<T>
b
codec
field_41296
codec
final FileChannel
c
channel
field_41297
channel
private final AtomicInteger
d
referenceCount
field_41298
refCount

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<T> codec, FileChannel channel)

Method summary

Modifier and TypeMethod
public static <T> JsonEventLog<T>
a(com.mojang.serialization.Codec<T> arg0, Path arg1)
open(com.mojang.serialization.Codec<T> arg0, Path arg1)
method_47567(com.mojang.serialization.Codec<T> arg0, Path arg1)
create(com.mojang.serialization.Codec<T> codec, Path path)
public void
a(T arg0)
write(T arg0)
method_47568(T arg0)
write(T object)
public JsonEventLogReader<T>
a()
openReader()
method_47566()
getReader()
public void
close()
close()
void
b()
releaseReference()
method_47569()
closeIfNotReferenced()