Package net.minecraft.data
Record Class DataCache.class_7858
java.lang.Object
java.lang.Record
net.minecraft.data.DataCache.class_7858
- Record Components:
version-data-
- Enclosing class:
DataCache
private static record DataCache.class_7858(String version, ConcurrentMap<Path,HashCode> data)
extends Record
- Mappings:
Namespace Name official ix$cintermediary net/minecraft/class_2408$class_7858named net/minecraft/data/DataCache$class_7858official aintermediary comp_1122named versionofficial bintermediary comp_1123named data
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)class_7858(String string) privateclass_7858(String string, ConcurrentMap<Path, HashCode> concurrentMap) -
Method Summary
Modifier 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.voidmethod_46574(Path path, HashCode hashCode) final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Field Details
-
Constructor Details
-
class_7858
class_7858(String string) -
class_7858
-
-
Method Details
-
method_46574
- Mappings:
Namespace Name Mixin selector official aLix$c;a(Ljava/nio/file/Path;Lcom/google/common/hash/HashCode;)Vintermediary method_46574Lnet/minecraft/class_2408$class_7858;method_46574(Ljava/nio/file/Path;Lcom/google/common/hash/HashCode;)Vnamed method_46574Lnet/minecraft/data/DataCache$class_7858;method_46574(Ljava/nio/file/Path;Lcom/google/common/hash/HashCode;)V
-
method_46573
- Mappings:
Namespace Name Mixin selector official aLix$c;a()Lix$b;intermediary method_46573Lnet/minecraft/class_2408$class_7858;method_46573()Lnet/minecraft/class_2408$class_7405;named method_46573Lnet/minecraft/data/DataCache$class_7858;method_46573()Lnet/minecraft/data/DataCache$CachedData;
-
toString
Returns 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. -
hashCode
public 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. -
equals
Indicates 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). -
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-