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 amj$b
named layers
intermediary comp_2898
official a
named lookupWithUpdatedTags
intermediary comp_2899
official b
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CombinedDynamicRegistries
<ServerDynamicRegistryType> The field for thelayers
record component.private final RegistryWrapper.WrapperLookup
The field for thelookupWithUpdatedTags
record component. -
Constructor Summary
ConstructorDescriptionReloadResult
(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, RegistryWrapper.WrapperLookup wrapperLookup) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.layers()
Returns the value of thelayers
record component.Returns the value of thelookupWithUpdatedTags
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
layers
The field for thelayers
record component. -
lookupWithUpdatedTags
The field for thelookupWithUpdatedTags
record 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 thelayers
record component.- Returns:
- the value of the
layers
record component
-
lookupWithUpdatedTags
Returns the value of thelookupWithUpdatedTags
record component.- Returns:
- the value of the
lookupWithUpdatedTags
record component
-