net.minecraft.util.eventlog

public class JsonEventLog<T>

implements Closeable

bdc
net.minecraft.util.eventlog.JsonEventLog
net.minecraft.class_7935
net.minecraft.util.logging.LogWriter
net.minecraft.src.C_260370_

Field summary

Modifier and TypeField
private static final com.google.gson.Gson
a
GSON
field_41295
GSON
f_260478_
private final com.mojang.serialization.Codec<T>
b
codec
field_41296
codec
f_260727_
final FileChannel
c
channel
field_41297
channel
f_260641_
private final AtomicInteger
d
referenceCount
field_41298
refCount
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)
create(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)
write(T object)
m_260901_(T arg0)
public JsonEventLogReader<T>
a()
openReader()
method_47566()
getReader()
m_260942_()
public void
close()
close()
close()
void
b()
releaseReference()
method_47569()
closeIfNotReferenced()
m_260800_()