Package net.minecraft.data
Record Class DataCache.RunResult
java.lang.Object
java.lang.Record
net.minecraft.data.DataCache.RunResult
- Record Components:
- providerName-
- cache-
- cacheMissCount-
- Enclosing class:
- DataCache
public static record DataCache.RunResult(String providerName, DataCache.CachedData cache, int cacheMissCount)
extends Record
- Mappings:
- Namespace - Name - official - jj$e- intermediary - net/minecraft/class_2408$class_7860- named - net/minecraft/data/DataCache$RunResult- official - a- intermediary - comp_1124- named - providerName- official - b- intermediary - comp_1125- named - cache- official - c- intermediary - comp_1126- named - cacheMissCount
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final DataCache.CachedDataThe field for thecacherecord component.private final intThe field for thecacheMissCountrecord component.private final StringThe field for theproviderNamerecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncache()Returns the value of thecacherecord component.intReturns the value of thecacheMissCountrecord 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 theproviderNamerecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
providerNameThe field for theproviderNamerecord component.
- 
cacheThe field for thecacherecord component.
- 
cacheMissCountprivate final int cacheMissCountThe field for thecacheMissCountrecord component.
 
- 
- 
Constructor Details- 
RunResult
 
- 
- 
Method Details- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
providerNameReturns the value of theproviderNamerecord component.- Returns:
- the value of the providerNamerecord component
 
- 
cacheReturns the value of thecacherecord component.- Returns:
- the value of the cacherecord component
 
- 
cacheMissCountpublic int cacheMissCount()Returns the value of thecacheMissCountrecord component.- Returns:
- the value of the cacheMissCountrecord component
 
 
-