Package net.minecraft.world.poi
Record Class PointOfInterestSet.Serialized
java.lang.Object
java.lang.Record
net.minecraft.world.poi.PointOfInterestSet.Serialized
- Record Components:
- isValid-
- records-
- Enclosing class:
- PointOfInterestSet
public static record PointOfInterestSet.Serialized(boolean isValid, List<PointOfInterest.Serialized> records)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/world/poi/PointOfInterestSet$Serialized- intermediary - net/minecraft/class_4157$class_9865- official - cgo$a- named - isValid- intermediary - comp_2914- official - b- named - records- intermediary - comp_2915- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PointOfInterestSet.Serialized> private final booleanThe field for theisValidrecord component.private final List<PointOfInterest.Serialized> The field for therecordsrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisValid()Returns the value of theisValidrecord component.records()Returns the value of therecordsrecord component.toPointOfInterestSet(Runnable updateListener) final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
isValidprivate final boolean isValidThe field for theisValidrecord component.
- 
recordsThe field for therecordsrecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/world/poi/PointOfInterestSet$Serialized;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_52453- Lnet/minecraft/class_4157$class_9865;field_52453:Lcom/mojang/serialization/Codec;- official - a- Lcgo$a;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
Serialized
 
- 
- 
Method Details- 
toPointOfInterestSet- Mappings:
- Namespace - Name - Mixin selector - named - toPointOfInterestSet- Lnet/minecraft/world/poi/PointOfInterestSet$Serialized;toPointOfInterestSet(Ljava/lang/Runnable;)Lnet/minecraft/world/poi/PointOfInterestSet;- intermediary - method_61453- Lnet/minecraft/class_4157$class_9865;method_61453(Ljava/lang/Runnable;)Lnet/minecraft/class_4157;- official - a- Lcgo$a;a(Ljava/lang/Runnable;)Lcgo;
 
- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
isValidpublic boolean isValid()Returns the value of theisValidrecord component.- Returns:
- the value of the isValidrecord component
 
- 
recordsReturns the value of therecordsrecord component.- Returns:
- the value of the recordsrecord component
 
 
-