Package net.minecraft.data
Record Class DataCache.IntermediaryCache
java.lang.Object
java.lang.Record
net.minecraft.data.DataCache.IntermediaryCache
- Record Components:
- version-
- data-
- Enclosing class:
- DataCache
private static record DataCache.IntermediaryCache(String version, ConcurrentMap<Path,HashCode> data)
extends Record 
- Mappings:
- Namespace - Name - named - net/minecraft/data/DataCache$IntermediaryCache- intermediary - net/minecraft/class_2408$class_7858- official - mj$c- named - version- intermediary - comp_1122- official - a- named - data- intermediary - comp_1123- official - b
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescription(package private)IntermediaryCache(String version) privateIntermediaryCache(String string, ConcurrentMap<Path, HashCode> concurrentMap) 
- 
Method SummaryModifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidfinal StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
- 
Field Details
- 
Constructor Details- 
IntermediaryCacheIntermediaryCache(String version) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/data/DataCache$IntermediaryCache;<init>(Ljava/lang/String;)V- intermediary - <init>- Lnet/minecraft/class_2408$class_7858;<init>(Ljava/lang/String;)V- official - <init>- Lmj$c;<init>(Ljava/lang/String;)V
 
- 
IntermediaryCache
 
- 
- 
Method Details- 
put- Mappings:
- Namespace - Name - Mixin selector - named - put- Lnet/minecraft/data/DataCache$IntermediaryCache;put(Ljava/nio/file/Path;Lcom/google/common/hash/HashCode;)V- intermediary - method_46574- Lnet/minecraft/class_2408$class_7858;method_46574(Ljava/nio/file/Path;Lcom/google/common/hash/HashCode;)V- official - a- Lmj$c;a(Ljava/nio/file/Path;Lcom/google/common/hash/HashCode;)V
 
- 
toCachedData- Mappings:
- Namespace - Name - Mixin selector - named - toCachedData- Lnet/minecraft/data/DataCache$IntermediaryCache;toCachedData()Lnet/minecraft/data/DataCache$CachedData;- intermediary - method_46573- Lnet/minecraft/class_2408$class_7858;method_46573()Lnet/minecraft/class_2408$class_7405;- official - a- Lmj$c;a()Lmj$b;
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
versionReturns the value of theversionrecord component.- Returns:
- the value of the versionrecord component
 
- 
dataReturns the value of thedatarecord component.- Returns:
- the value of the datarecord component
 
 
-