Package net.minecraft
Record Class class_9118
java.lang.Object
java.lang.Record
net.minecraft.class_9118
- Record Components:
numberOfTries-haltOnFailure-
- Mappings:
Namespace Name official sfintermediary net/minecraft/class_9118named net/minecraft/class_9118official aintermediary comp_2213named numberOfTriesofficial bintermediary comp_2214named haltOnFailure
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final class_9118private final booleanThe field for thehaltOnFailurerecord component.private final intThe field for thenumberOfTriesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thehaltOnFailurerecord component.final inthashCode()Returns a hash code value for this object.static class_9118booleanmethod_56246(int int2, int int3) booleanbooleanintReturns the value of thenumberOfTriesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
numberOfTries
private final int numberOfTriesThe field for thenumberOfTriesrecord component. -
haltOnFailure
private final boolean haltOnFailureThe field for thehaltOnFailurerecord component. -
field_48496
- Mappings:
Namespace Name Mixin selector official cLsf;c:Lsf;intermediary field_48496Lnet/minecraft/class_9118;field_48496:Lnet/minecraft/class_9118;named field_48496Lnet/minecraft/class_9118;field_48496:Lnet/minecraft/class_9118;
-
-
Constructor Details
-
class_9118
public class_9118(int int2, boolean bool)
-
-
Method Details
-
method_56245
- Mappings:
Namespace Name Mixin selector official aLsf;a()Lsf;intermediary method_56245Lnet/minecraft/class_9118;method_56245()Lnet/minecraft/class_9118;named method_56245Lnet/minecraft/class_9118;method_56245()Lnet/minecraft/class_9118;
-
method_56247
public boolean method_56247()- Mappings:
Namespace Name Mixin selector official bLsf;b()Zintermediary method_56247Lnet/minecraft/class_9118;method_56247()Znamed method_56247Lnet/minecraft/class_9118;method_56247()Z
-
method_56246
public boolean method_56246(int int2, int int3) - Mappings:
Namespace Name Mixin selector official aLsf;a(II)Zintermediary method_56246Lnet/minecraft/class_9118;method_56246(II)Znamed method_56246Lnet/minecraft/class_9118;method_56246(II)Z
-
method_56248
public boolean method_56248()- Mappings:
Namespace Name Mixin selector official cLsf;c()Zintermediary method_56248Lnet/minecraft/class_9118;method_56248()Znamed method_56248Lnet/minecraft/class_9118;method_56248()Z
-
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. All components in this record class are compared with '=='. -
numberOfTries
public int numberOfTries()Returns the value of thenumberOfTriesrecord component.- Returns:
- the value of the
numberOfTriesrecord component
-
haltOnFailure
public boolean haltOnFailure()Returns the value of thehaltOnFailurerecord component.- Returns:
- the value of the
haltOnFailurerecord component
-