Package net.minecraft
Record Class class_6841.class_6842
java.lang.Object
java.lang.Record
net.minecraft.class_6841.class_6842
- Record Components:
depth-fieldsToGet-fieldsToRecurse-
- Enclosing class:
- class_6841
private static record class_6841.class_6842(int depth, Map<String,NbtType<?>> fieldsToGet, Map<String,class_6841.class_6842> fieldsToRecurse)
extends Record
- Mappings:
Namespace Name official pc$aintermediary net/minecraft/class_6841$class_6842named net/minecraft/class_6841$class_6842official aintermediary comp_315named depthofficial bintermediary comp_316named fieldsToGetofficial cintermediary comp_317named fieldsToRecurse
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thedepthrecord component.The field for thefieldsToGetrecord component.private final Map<String,class_6841.class_6842> The field for thefieldsToRecurserecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionclass_6842(int int2) privateclass_6842(int int2, Map<String, NbtType<?>> map, Map<String, class_6841.class_6842> map2) -
Method Summary
Modifier and TypeMethodDescriptionintdepth()Returns the value of thedepthrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldsToGetrecord component.Returns the value of thefieldsToRecurserecord component.final inthashCode()Returns a hash code value for this object.voidmethod_39881(class_6841.class_6843 class_6843) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
depth
private final int depthThe field for thedepthrecord component. -
fieldsToGet
The field for thefieldsToGetrecord component. -
fieldsToRecurse
The field for thefieldsToRecurserecord component.
-
-
Constructor Details
-
class_6842
public class_6842(int int2) -
class_6842
-
-
Method Details
-
method_39881
- Mappings:
Namespace Name Mixin selector official aLpc$a;a(Lpc$b;)Vintermediary method_39881Lnet/minecraft/class_6841$class_6842;method_39881(Lnet/minecraft/class_6841$class_6843;)Vnamed method_39881Lnet/minecraft/class_6841$class_6842;method_39881(Lnet/minecraft/class_6841$class_6843;)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 thedepthrecord component.- Returns:
- the value of the
depthrecord component
-
fieldsToGet
Returns the value of thefieldsToGetrecord component.- Returns:
- the value of the
fieldsToGetrecord component
-
fieldsToRecurse
Returns the value of thefieldsToRecurserecord component.- Returns:
- the value of the
fieldsToRecurserecord component
-