Package net.minecraft
Record Class class_12108
java.lang.Object
java.lang.Record
net.minecraft.class_12108
- Record Components:
fps-
- Mappings:
Namespace Name named net/minecraft/class_12108intermediary net/minecraft/class_12108official cainamed fpsintermediary comp_4949official a
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intfps()Returns the value of thefpsrecord component.final inthashCode()Returns a hash code value for this object.static class_12108method_75097(RecordedEvent recordedEvent, String string) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
fps
private final int fpsThe field for thefpsrecord component.
-
-
Constructor Details
-
class_12108
public class_12108(int fps) Creates an instance of aclass_12108record class.- Parameters:
fps- the value for thefpsrecord component
-
-
Method Details
-
method_75097
- Mappings:
Namespace Name Mixin selector named method_75097Lnet/minecraft/class_12108;method_75097(Ljdk/jfr/consumer/RecordedEvent;Ljava/lang/String;)Lnet/minecraft/class_12108;intermediary method_75097Lnet/minecraft/class_12108;method_75097(Ljdk/jfr/consumer/RecordedEvent;Ljava/lang/String;)Lnet/minecraft/class_12108;official aLcai;a(Ljdk/jfr/consumer/RecordedEvent;Ljava/lang/String;)Lcai;
-
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 '=='. -
fps
public int fps()Returns the value of thefpsrecord component.- Returns:
- the value of the
fpsrecord component
-