Package net.minecraft
Record Class class_8847<T>
java.lang.Object
java.lang.Record
net.minecraft.class_8847<T>
- Record Components:
depth
-action
-
- Mappings:
Namespace Name official gj
intermediary net/minecraft/class_8847
named net/minecraft/class_8847
official a
intermediary comp_1992
named depth
official b
intermediary comp_1993
named action
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction()
Returns the value of theaction
record component.int
depth()
Returns the value of thedepth
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.void
method_54388
(class_8854<T> class_8854) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_8847
-
-
Method Details
-
method_54388
- Mappings:
Namespace Name Mixin selector official a
Lgj;a(Lgn;)V
intermediary method_54388
Lnet/minecraft/class_8847;method_54388(Lnet/minecraft/class_8854;)V
named method_54388
Lnet/minecraft/class_8847;method_54388(Lnet/minecraft/class_8854;)V
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
depth
public int depth()Returns the value of thedepth
record component.- Returns:
- the value of the
depth
record component
-
action
Returns the value of theaction
record component.- Returns:
- the value of the
action
record component
-