Package net.minecraft.server
Record Class SaveLoading.class_7661<D>
java.lang.Object
java.lang.Record
net.minecraft.server.SaveLoading.class_7661<D>
- Record Components:
-finalDimensions-
- Enclosing class:
SaveLoading
public static record SaveLoading.class_7661<D>(D cookie, DynamicRegistryManager.Immutable finalDimensions)
extends Record
- Mappings:
Namespace Name official aco$bintermediary net/minecraft/class_7237$class_7661named net/minecraft/server/SaveLoading$class_7661official aintermediary comp_991named cookieofficial bintermediary comp_992named finalDimensions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DThe field for thecookierecord component.private final DynamicRegistryManager.ImmutableThe field for thefinalDimensionsrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncookie()Returns the value of thecookierecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefinalDimensionsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
cookie
The field for thecookierecord component. -
finalDimensions
The field for thefinalDimensionsrecord component.
-
-
Constructor Details
-
class_7661
-
-
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). -
cookie
Returns the value of thecookierecord component.- Returns:
- the value of the
cookierecord component
-
finalDimensions
Returns the value of thefinalDimensionsrecord component.- Returns:
- the value of the
finalDimensionsrecord component
-