net.minecraft.util.eventlog

public class JsonEventLog<T>

implements Closeable

bnm
net.minecraft.util.eventlog.JsonEventLog
net.minecraft.class_7935
net.minecraft.unmapped.C_wtehsvxb
net.minecraft.util.logging.LogWriter
net.minecraft.client.util.telemetry.logging.JsonTelemetryEventLog
net.minecraft.src.C_260370_

Field summary

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

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)
m_gtgtkpii(com.mojang.serialization.Codec<T> arg0, Path arg1)
create(com.mojang.serialization.Codec<T> codec, Path path)
open(com.mojang.serialization.Codec<T> codec, Path path)
m_260847_(com.mojang.serialization.Codec<T> p_261795_, Path p_261489_)
public void
a(T arg0)
write(T arg0)
method_47568(T arg0)
m_inmytkiy(T arg0)
write(T object)
write(T object)
m_260901_(T arg0)
public JsonEventLogReader<T>
a()
openReader()
method_47566()
m_ztmwdwxe()
getReader()
openLogReader()
m_260942_()
public void
close()
close()
close()
void
b()
releaseReference()
method_47569()
m_kxaifjdr()
closeIfNotReferenced()
releaseReferenceAndClose()
m_260800_()