Package net.minecraft.util.logging
Class LogWriter<T>
java.lang.Object
net.minecraft.util.logging.LogWriter<T>
- All Implemented Interfaces:
 Closeable,AutoCloseable
- Mappings:
 Namespace Name named net/minecraft/util/logging/LogWriterintermediary net/minecraft/class_7935official bsc
- 
Field Summary
FieldsModifier and TypeFieldDescription(package private) final FileChannelprivate final com.mojang.serialization.Codec<T> private static final Gsonprivate final AtomicInteger - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
GSON
- Mappings:
 Namespace Name Mixin selector named GSONLnet/minecraft/util/logging/LogWriter;GSON:Lcom/google/gson/Gson;intermediary field_41295Lnet/minecraft/class_7935;field_41295:Lcom/google/gson/Gson;official aLbsc;a:Lcom/google/gson/Gson;
 - 
codec
- Mappings:
 Namespace Name Mixin selector named codecLnet/minecraft/util/logging/LogWriter;codec:Lcom/mojang/serialization/Codec;intermediary field_41296Lnet/minecraft/class_7935;field_41296:Lcom/mojang/serialization/Codec;official bLbsc;b:Lcom/mojang/serialization/Codec;
 - 
channel
- Mappings:
 Namespace Name Mixin selector named channelLnet/minecraft/util/logging/LogWriter;channel:Ljava/nio/channels/FileChannel;intermediary field_41297Lnet/minecraft/class_7935;field_41297:Ljava/nio/channels/FileChannel;official cLbsc;c:Ljava/nio/channels/FileChannel;
 - 
refCount
- Mappings:
 Namespace Name Mixin selector named refCountLnet/minecraft/util/logging/LogWriter;refCount:Ljava/util/concurrent/atomic/AtomicInteger;intermediary field_41298Lnet/minecraft/class_7935;field_41298:Ljava/util/concurrent/atomic/AtomicInteger;official dLbsc;d:Ljava/util/concurrent/atomic/AtomicInteger;
 
 - 
 - 
Constructor Details
- 
LogWriter
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/util/logging/LogWriter;<init>(Lcom/mojang/serialization/Codec;Ljava/nio/channels/FileChannel;)Vintermediary <init>Lnet/minecraft/class_7935;<init>(Lcom/mojang/serialization/Codec;Ljava/nio/channels/FileChannel;)Vofficial <init>Lbsc;<init>(Lcom/mojang/serialization/Codec;Ljava/nio/channels/FileChannel;)V
 
 - 
 - 
Method Details
- 
create
public static <T> LogWriter<T> create(com.mojang.serialization.Codec<T> codec, Path path) throws IOException - Throws:
 IOException- Mappings:
 Namespace Name Mixin selector named createLnet/minecraft/util/logging/LogWriter;create(Lcom/mojang/serialization/Codec;Ljava/nio/file/Path;)Lnet/minecraft/util/logging/LogWriter;intermediary method_47567Lnet/minecraft/class_7935;method_47567(Lcom/mojang/serialization/Codec;Ljava/nio/file/Path;)Lnet/minecraft/class_7935;official aLbsc;a(Lcom/mojang/serialization/Codec;Ljava/nio/file/Path;)Lbsc;
 - 
write
- Throws:
 IOException- Mappings:
 Namespace Name Mixin selector named writeLnet/minecraft/util/logging/LogWriter;write(Ljava/lang/Object;)Vintermediary method_47568Lnet/minecraft/class_7935;method_47568(Ljava/lang/Object;)Vofficial aLbsc;a(Ljava/lang/Object;)V
 - 
getReader
- Throws:
 IOException- Mappings:
 Namespace Name Mixin selector named getReaderLnet/minecraft/util/logging/LogWriter;getReader()Lnet/minecraft/util/logging/LogReader;intermediary method_47566Lnet/minecraft/class_7935;method_47566()Lnet/minecraft/class_7936;official aLbsc;a()Lbsd;
 - 
close
- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Throws:
 IOException
 - 
closeIfNotReferenced
- Throws:
 IOException- Mappings:
 Namespace Name Mixin selector named closeIfNotReferencedLnet/minecraft/util/logging/LogWriter;closeIfNotReferenced()Vintermediary method_47569Lnet/minecraft/class_7935;method_47569()Vofficial bLbsc;b()V
 
 -