Package net.minecraft

Record Class class_9118

java.lang.Object
java.lang.Record
net.minecraft.class_9118
Record Components:
numberOfTries -
haltOnFailure -

public record class_9118(int numberOfTries, boolean haltOnFailure) extends Record
Mappings:
Namespace Name
official sf
intermediary net/minecraft/class_9118
named net/minecraft/class_9118
official a
intermediary comp_2213
named numberOfTries
official b
intermediary comp_2214
named haltOnFailure
  • Field Details

    • numberOfTries

      private final int numberOfTries
      The field for the numberOfTries record component.
    • haltOnFailure

      private final boolean haltOnFailure
      The field for the haltOnFailure record component.
    • field_48496

      private static final class_9118 field_48496
      Mappings:
      Namespace Name Mixin selector
      official c Lsf;c:Lsf;
      intermediary field_48496 Lnet/minecraft/class_9118;field_48496:Lnet/minecraft/class_9118;
      named field_48496 Lnet/minecraft/class_9118;field_48496:Lnet/minecraft/class_9118;
  • Constructor Details

    • class_9118

      public class_9118(int int2, boolean bool)
  • Method Details

    • method_56245

      public static class_9118 method_56245()
      Mappings:
      Namespace Name Mixin selector
      official a Lsf;a()Lsf;
      intermediary method_56245 Lnet/minecraft/class_9118;method_56245()Lnet/minecraft/class_9118;
      named method_56245 Lnet/minecraft/class_9118;method_56245()Lnet/minecraft/class_9118;
    • method_56247

      public boolean method_56247()
      Mappings:
      Namespace Name Mixin selector
      official b Lsf;b()Z
      intermediary method_56247 Lnet/minecraft/class_9118;method_56247()Z
      named method_56247 Lnet/minecraft/class_9118;method_56247()Z
    • method_56246

      public boolean method_56246(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Lsf;a(II)Z
      intermediary method_56246 Lnet/minecraft/class_9118;method_56246(II)Z
      named method_56246 Lnet/minecraft/class_9118;method_56246(II)Z
    • method_56248

      public boolean method_56248()
      Mappings:
      Namespace Name Mixin selector
      official c Lsf;c()Z
      intermediary method_56248 Lnet/minecraft/class_9118;method_56248()Z
      named method_56248 Lnet/minecraft/class_9118;method_56248()Z
    • 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. All components in this record class 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.
    • numberOfTries

      public int numberOfTries()
      Returns the value of the numberOfTries record component.
      Returns:
      the value of the numberOfTries record component
    • haltOnFailure

      public boolean haltOnFailure()
      Returns the value of the haltOnFailure record component.
      Returns:
      the value of the haltOnFailure record component