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 chl$a
named isValid
intermediary comp_2914
official b
named records
intermediary comp_2915
official c
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<PointOfInterestSet.Serialized> private final boolean
The field for theisValid
record component.private final List
<PointOfInterest.Serialized> The field for therecords
record component. -
Constructor Summary
-
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.boolean
isValid()
Returns the value of theisValid
record component.records()
Returns the value of therecords
record component.toPointOfInterestSet
(Runnable updateListener) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
isValid
private final boolean isValidThe field for theisValid
record component. -
records
The field for therecords
record 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
Lchl$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
Lchl$a;a(Ljava/lang/Runnable;)Lchl;
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
isValid
public boolean isValid()Returns the value of theisValid
record component.- Returns:
- the value of the
isValid
record component
-
records
Returns the value of therecords
record component.- Returns:
- the value of the
records
record component
-