Record Class MergeTerrainChunkStatusFix.FixedAndStatuses
java.lang.Object
java.lang.Record
net.minecraft.util.datafix.fixes.MergeTerrainChunkStatusFix.FixedAndStatuses
- Enclosing class:
MergeTerrainChunkStatusFix
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.Typed<?> The field for thefixedrecord component.private final StringThe field for theoldStatusrecord component.The field for theoldTargetStatusrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFixedAndStatuses(com.mojang.datafixers.Typed<?> fixed, String oldStatus, @Nullable String oldTargetStatus) Creates an instance of aFixedAndStatusesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.com.mojang.datafixers.Typed<?> fixed()Returns the value of thefixedrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoldStatusrecord component.Returns the value of theoldTargetStatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
fixed
private final com.mojang.datafixers.Typed<?> fixedThe field for thefixedrecord component. -
oldStatus
The field for theoldStatusrecord component. -
oldTargetStatus
-
-
Constructor Details
-
FixedAndStatuses
private FixedAndStatuses(com.mojang.datafixers.Typed<?> fixed, String oldStatus, @Nullable String oldTargetStatus) Creates an instance of aFixedAndStatusesrecord class.- Parameters:
fixed- the value for thefixedrecord componentoldStatus- the value for theoldStatusrecord componentoldTargetStatus- the value for theoldTargetStatusrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
fixed
public com.mojang.datafixers.Typed<?> fixed()Returns the value of thefixedrecord component.- Returns:
- the value of the
fixedrecord component
-
oldStatus
Returns the value of theoldStatusrecord component.- Returns:
- the value of the
oldStatusrecord component
-
oldTargetStatus
-