Package net.minecraft.data
Class DataCache.CachedDataWriter
java.lang.Object
net.minecraft.data.DataCache.CachedDataWriter
- All Implemented Interfaces:
DataWriter
- Enclosing class:
DataCache
- Mappings:
Namespace Name named net/minecraft/data/DataCache$CachedDataWriter
intermediary net/minecraft/class_2408$class_7404
official lx$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AtomicInteger
private boolean
private final DataCache.IntermediaryCache
private final DataCache.CachedData
private final String
Fields inherited from interface net.minecraft.data.DataWriter
UNCACHED
-
Constructor Summary
ConstructorDescriptionCachedDataWriter
(String providerName, String version, DataCache.CachedData oldCache) -
Method Summary
Modifier and TypeMethodDescriptionfinish()
private boolean
isCacheInvalid
(Path path, HashCode hashCode) void
-
Field Details
-
providerName
- Mappings:
Namespace Name Mixin selector named providerName
Lnet/minecraft/data/DataCache$CachedDataWriter;providerName:Ljava/lang/String;
intermediary field_40835
Lnet/minecraft/class_2408$class_7404;field_40835:Ljava/lang/String;
official b
Llx$a;b:Ljava/lang/String;
-
oldCache
- Mappings:
Namespace Name Mixin selector named oldCache
Lnet/minecraft/data/DataCache$CachedDataWriter;oldCache:Lnet/minecraft/data/DataCache$CachedData;
intermediary field_38919
Lnet/minecraft/class_2408$class_7404;field_38919:Lnet/minecraft/class_2408$class_7405;
official c
Llx$a;c:Llx$b;
-
newCache
- Mappings:
Namespace Name Mixin selector named newCache
Lnet/minecraft/data/DataCache$CachedDataWriter;newCache:Lnet/minecraft/data/DataCache$IntermediaryCache;
intermediary field_38920
Lnet/minecraft/class_2408$class_7404;field_38920:Lnet/minecraft/class_2408$class_7858;
official d
Llx$a;d:Llx$c;
-
cacheMissCount
- Mappings:
Namespace Name Mixin selector named cacheMissCount
Lnet/minecraft/data/DataCache$CachedDataWriter;cacheMissCount:Ljava/util/concurrent/atomic/AtomicInteger;
intermediary field_38921
Lnet/minecraft/class_2408$class_7404;field_38921:Ljava/util/concurrent/atomic/AtomicInteger;
official e
Llx$a;e:Ljava/util/concurrent/atomic/AtomicInteger;
-
closed
private volatile boolean closed- Mappings:
Namespace Name Mixin selector named closed
Lnet/minecraft/data/DataCache$CachedDataWriter;closed:Z
intermediary field_40836
Lnet/minecraft/class_2408$class_7404;field_40836:Z
official f
Llx$a;f:Z
-
-
Constructor Details
-
CachedDataWriter
CachedDataWriter(String providerName, String version, DataCache.CachedData oldCache) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/data/DataCache$CachedDataWriter;<init>(Lnet/minecraft/data/DataCache;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/data/DataCache$CachedData;)V
intermediary <init>
Lnet/minecraft/class_2408$class_7404;<init>(Lnet/minecraft/class_2408;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_2408$class_7405;)V
official <init>
Llx$a;<init>(Llx;Ljava/lang/String;Ljava/lang/String;Llx$b;)V
-
-
Method Details
-
isCacheInvalid
- Mappings:
Namespace Name Mixin selector named isCacheInvalid
Lnet/minecraft/data/DataCache$CachedDataWriter;isCacheInvalid(Ljava/nio/file/Path;Lcom/google/common/hash/HashCode;)Z
intermediary method_43355
Lnet/minecraft/class_2408$class_7404;method_43355(Ljava/nio/file/Path;Lcom/google/common/hash/HashCode;)Z
official a
Llx$a;a(Ljava/nio/file/Path;Lcom/google/common/hash/HashCode;)Z
-
write
- Specified by:
write
in interfaceDataWriter
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/data/DataWriter;write(Ljava/nio/file/Path;[BLcom/google/common/hash/HashCode;)V
intermediary method_43346
Lnet/minecraft/class_7403;method_43346(Ljava/nio/file/Path;[BLcom/google/common/hash/HashCode;)V
official writeIfNeeded
Llu;writeIfNeeded(Ljava/nio/file/Path;[BLcom/google/common/hash/HashCode;)V
-
finish
- Mappings:
Namespace Name Mixin selector named finish
Lnet/minecraft/data/DataCache$CachedDataWriter;finish()Lnet/minecraft/data/DataCache$RunResult;
intermediary method_46572
Lnet/minecraft/class_2408$class_7404;method_46572()Lnet/minecraft/class_2408$class_7860;
official a
Llx$a;a()Llx$e;
-