Package net.minecraft

Record Class class_11101

java.lang.Object
java.lang.Record
net.minecraft.class_11101
Record Components:
started -
events -

public record class_11101(boolean started, List<class_11099> events) extends Record
Mappings:
Namespace Name
named net/minecraft/class_11101
intermediary net/minecraft/class_11101
official fbt
named started
intermediary comp_3982
official b
named events
intermediary comp_3983
official c
  • Field Details

    • started

      private final boolean started
      The field for the started record component.
    • events

      private final List<class_11099> events
      The field for the events record component.
    • field_59099

      public static final com.mojang.serialization.Codec<class_11101> field_59099
      Mappings:
      Namespace Name Mixin selector
      named field_59099 Lnet/minecraft/class_11101;field_59099:Lcom/mojang/serialization/Codec;
      intermediary field_59099 Lnet/minecraft/class_11101;field_59099:Lcom/mojang/serialization/Codec;
      official a Lfbt;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • 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.
    • started

      public boolean started()
      Returns the value of the started record component.
      Returns:
      the value of the started record component
    • events

      public List<class_11099> events()
      Returns the value of the events record component.
      Returns:
      the value of the events record component