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$ReloadResultintermediary net/minecraft/class_9383$class_9842official amb$bnamed layersintermediary comp_2898official anamed lookupWithUpdatedTagsintermediary comp_2899official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CombinedDynamicRegistries<ServerDynamicRegistryType> The field for thelayersrecord component.private final RegistryWrapper.WrapperLookupThe field for thelookupWithUpdatedTagsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionReloadResult(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, RegistryWrapper.WrapperLookup wrapperLookup) -
Method Summary
Modifier 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
-
layers
The field for thelayersrecord component. -
lookupWithUpdatedTags
The field for thelookupWithUpdatedTagsrecord component.
-
-
Constructor Details
-
ReloadResult
public ReloadResult(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, RegistryWrapper.WrapperLookup wrapperLookup)
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
layers
Returns the value of thelayersrecord component.- Returns:
- the value of the
layersrecord component
-
lookupWithUpdatedTags
Returns the value of thelookupWithUpdatedTagsrecord component.- Returns:
- the value of the
lookupWithUpdatedTagsrecord component
-