Package net.minecraft
Record Class class_10961.class_10962
java.lang.Object
java.lang.Record
net.minecraft.class_10961.class_10962
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
class_10961
private static record class_10961.class_10962(LifecycledResourceManager a, DataPackContents b)
extends Record
implements AutoCloseable
- Mappings:
Namespace Name named net/minecraft/class_10961$class_10962intermediary net/minecraft/class_10961$class_10962official ana$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LifecycledResourceManagerThe field for thearecord component.private final DataPackContentsThe field for thebrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10962(LifecycledResourceManager lifecycledResourceManager, DataPackContents dataPackContents) -
Method Summary
Modifier and TypeMethodDescriptiona()Returns the value of thearecord component.b()Returns the value of thebrecord component.voidclose()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
a
The field for thearecord component. -
b
The field for thebrecord component.
-
-
Constructor Details
-
class_10962
class_10962(LifecycledResourceManager lifecycledResourceManager, DataPackContents dataPackContents)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
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). -
a
Returns the value of thearecord component.- Returns:
- the value of the
arecord component
-
b
Returns the value of thebrecord component.- Returns:
- the value of the
brecord component
-