Record Class PointOfInterestSet.class_9865

java.lang.Object
java.lang.Record
net.minecraft.world.poi.PointOfInterestSet.class_9865
Record Components:
isValid -
records -
Enclosing class:
PointOfInterestSet

public static record PointOfInterestSet.class_9865(boolean isValid, List<PointOfInterest.class_9864> records) extends Record
Mappings:
Namespace Name
named net/minecraft/world/poi/PointOfInterestSet$class_9865
intermediary net/minecraft/class_4157$class_9865
official cfk$a
named isValid
intermediary comp_2914
official b
named records
intermediary comp_2915
official c
  • Field Details

    • isValid

      private final boolean isValid
      The field for the isValid record component.
    • records

      private final List<PointOfInterest.class_9864> records
      The field for the records record component.
    • field_52453

      public static final com.mojang.serialization.Codec<PointOfInterestSet.class_9865> field_52453
      Mappings:
      Namespace Name Mixin selector
      named field_52453 Lnet/minecraft/world/poi/PointOfInterestSet$class_9865;field_52453:Lcom/mojang/serialization/Codec;
      intermediary field_52453 Lnet/minecraft/class_4157$class_9865;field_52453:Lcom/mojang/serialization/Codec;
      official a Lcfk$a;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • method_61453

      public PointOfInterestSet method_61453(Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      named method_61453 Lnet/minecraft/world/poi/PointOfInterestSet$class_9865;method_61453(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 Lcfk$a;a(Ljava/lang/Runnable;)Lcfk;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • isValid

      public boolean isValid()
      Returns the value of the isValid record component.
      Returns:
      the value of the isValid record component
    • records

      public List<PointOfInterest.class_9864> records()
      Returns the value of the records record component.
      Returns:
      the value of the records record component