Package net.minecraft.registry
Record Class ReloadableRegistries.ReloadResult
java.lang.Object
java.lang.Record
net.minecraft.registry.ReloadableRegistries.ReloadResult
- Record Components:
- layers-
- lookupWithUpdatedTags-
- Enclosing class:
- ReloadableRegistries
public static record ReloadableRegistries.ReloadResult(CombinedDynamicRegistries<ServerDynamicRegistryType> layers, RegistryWrapper.WrapperLookup lookupWithUpdatedTags)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/registry/ReloadableRegistries$ReloadResult- intermediary - net/minecraft/class_9383$class_9842- official - alf$b- named - layers- intermediary - comp_2898- official - a- named - lookupWithUpdatedTags- intermediary - comp_2899- official - b
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final CombinedDynamicRegistries<ServerDynamicRegistryType> The field for thelayersrecord component.private final RegistryWrapper.WrapperLookupThe field for thelookupWithUpdatedTagsrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionReloadResult(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, RegistryWrapper.WrapperLookup wrapperLookup) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.layers()Returns the value of thelayersrecord component.Returns the value of thelookupWithUpdatedTagsrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
layersThe field for thelayersrecord component.
- 
lookupWithUpdatedTagsThe field for thelookupWithUpdatedTagsrecord component.
 
- 
- 
Constructor Details- 
ReloadResultpublic ReloadResult(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, RegistryWrapper.WrapperLookup wrapperLookup) 
 
- 
- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
layersReturns the value of thelayersrecord component.- Returns:
- the value of the layersrecord component
 
- 
lookupWithUpdatedTagsReturns the value of thelookupWithUpdatedTagsrecord component.- Returns:
- the value of the lookupWithUpdatedTagsrecord component
 
 
-