Record Class NativeModuleLister.NativeModuleVersion
java.lang.Object
java.lang.Record
net.minecraft.util.NativeModuleLister.NativeModuleVersion
- Enclosing class:
NativeModuleLister
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNativeModuleVersion(String description, String version, String company) Creates an instance of aNativeModuleVersionrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncompany()Returns the value of thecompanyrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Field Details
-
description
The field for thedescriptionrecord component. -
version
The field for theversionrecord component. -
company
The field for thecompanyrecord component.
-
-
Constructor Details
-
NativeModuleVersion
Creates an instance of aNativeModuleVersionrecord class.- Parameters:
description- the value for thedescriptionrecord componentversion- the value for theversionrecord componentcompany- the value for thecompanyrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
company
Returns the value of thecompanyrecord component.- Returns:
- the value of the
companyrecord component
-