Package net.minecraft
Record Class class_6841.class_6843
java.lang.Object
java.lang.Record
net.minecraft.class_6841.class_6843
- Record Components:
path-type-name-
- Enclosing class:
- class_6841
public static record class_6841.class_6843(List<String> path, NbtType<?> type, String name)
extends Record
- Mappings:
Namespace Name official pc$bintermediary net/minecraft/class_6841$class_6843named net/minecraft/class_6841$class_6843official aintermediary comp_318named pathofficial bintermediary comp_319named typeofficial cintermediary comp_320named name
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionclass_6843(String string, String string2, NbtType<?> nbtType, String string3) class_6843(String string, NbtType<?> nbtType, String string2) class_6843(List<String> list, NbtType<?> nbtType, String string) class_6843(NbtType<?> nbtType, String string) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.NbtType<?>type()Returns the value of thetyperecord component.
-
Field Details
-
Constructor Details
-
class_6843
-
class_6843
-
class_6843
-
class_6843
-
-
Method Details
-
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 withObjects::equals(Object,Object). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-