Package net.minecraft.data
Record Class DataCache.class_7860
java.lang.Object
java.lang.Record
net.minecraft.data.DataCache.class_7860
- Record Components:
providerId-cache-writes-
- Enclosing class:
DataCache
public static record DataCache.class_7860(String providerId, DataCache.CachedData cache, int writes)
extends Record
- Mappings:
Namespace Name official ix$eintermediary net/minecraft/class_2408$class_7860named net/minecraft/data/DataCache$class_7860official aintermediary comp_1124named providerIdofficial bintermediary comp_1125named cacheofficial cintermediary comp_1126named writes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DataCache.CachedDataThe field for thecacherecord component.private final StringThe field for theproviderIdrecord component.private final intThe field for thewritesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncache()Returns the value of thecacherecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theproviderIdrecord component.final StringtoString()Returns a string representation of this record class.intwrites()Returns the value of thewritesrecord component.
-
Field Details
-
providerId
The field for theproviderIdrecord component. -
cache
The field for thecacherecord component. -
writes
private final int writesThe field for thewritesrecord component.
-
-
Constructor Details
-
class_7860
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
providerId
Returns the value of theproviderIdrecord component.- Returns:
- the value of the
providerIdrecord component
-
cache
Returns the value of thecacherecord component.- Returns:
- the value of the
cacherecord component
-
writes
public int writes()Returns the value of thewritesrecord component.- Returns:
- the value of the
writesrecord component
-